Docsity

Approximation Algorithms for Balanced Cut and Sparsest Cut using Metric Embeddings, Study notes of Approximation Algorithms

Toggle sidebar
bg1
CS880: Approximations Algorithms
Scribe: Tom Watson Lecturer: Shuchi Chawla
Topic: Balanced Cut, Sparsest Cut, and Metric Embeddings Date: 3/21/2007
In the last lecture, we described an O(log klog D)-approximation algorithm for Sparsest Cut, where
kis the number of terminal pairs and Dis the total requirement. Today we will describe an
application of Sparsest Cut to the Balanced Cut problem. We will then develop an O(log k)-
approximation algorithm for Sparsest Cut, due to Linial, London, and Rabinovich [4], using metric
embeddings techniques of Bourgain [3].
18.1 Balanced Cut
Recall the Sparsest Cut problem.
Definition 18.1.1 (Sparsest Cut) Given a graph G= (V, E ), edge capacities ce, and require-
ments ru,v ≥0for all (u, v)∈V×V, find a set S⊆Vminimizing
sparsity(S) = c(E(S, S))
P(u,v)∈(S×S)∪(S×S)ru,v
.
The sparsity of a cut is just its capacity divided by the total requirement separated by it. We
denote by kthe number of terminal pairs — pairs (u, v) such that ru,v >0.
We give an application of Sparsest Cut to the following problem.
Definition 18.1.2 (Balanced Cut) Given a graph G= (V, E), edge capacities ce, and a balance
requirement β≤1/2, find a minimum-capacity cut (S, S)subject to the constraint that (S, S)is
β-balanced, i.e. |S|,|S| ≥ βn where n=|V|.
In the following, we use Cβto refer both to the minimum capacity of a β-balanced cut and to an
optimal cut itself.
The key link between the two problems is that given an instance of Balanced Cut, we can give
every pair of nodes a requirement of 1, and then for a given balance β, the capacity of a β-balanced
cut is Θ(n2) times its sparsity.
We use this link to obtain a pseudo-approximation algorithm for Balanced Cut. That is, for a given
βand β0< β, we find a cut of balance β0of capacity within some guaranteed factor of Cβ. (Note
that Cβmay be much higher than Cβ0.) Specifically, we obtain the following result.
Theorem 18.1.3 If there exists a ρ-approximation algorithm for Sparsest Cut, then for all β≤1/2
and all β0< β, there exists an algorithm for Balanced Cut that finds β0-balanced cut of capacity at
most ρ
(β−β0)(1 −β+β0)Cβ,
provided β0≤1/3.
1
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download Approximation Algorithms for Balanced Cut and Sparsest Cut using Metric Embeddings and more Study notes Approximation Algorithms in PDF only on Docsity!

CS880: Approximations Algorithms Scribe: Tom Watson Lecturer: Shuchi Chawla Topic: Balanced Cut, Sparsest Cut, and Metric Embeddings Date: 3/21/

In the last lecture, we described an O(log k log D)-approximation algorithm for Sparsest Cut, where k is the number of terminal pairs and D is the total requirement. Today we will describe an application of Sparsest Cut to the Balanced Cut problem. We will then develop an O(log k)- approximation algorithm for Sparsest Cut, due to Linial, London, and Rabinovich [4], using metric embeddings techniques of Bourgain [3].

18.1 Balanced Cut

Recall the Sparsest Cut problem.

Definition 18.1.1 (Sparsest Cut) Given a graph G = (V, E), edge capacities ce, and require- ments ru,v ≥ 0 for all (u, v) ∈ V × V , find a set S ⊆ V minimizing

sparsity(S) =

c(E(S, S)) ∑ (u,v)∈(S×S)∪(S×S) ru,v

The sparsity of a cut is just its capacity divided by the total requirement separated by it. We denote by k the number of terminal pairs — pairs (u, v) such that ru,v > 0.

We give an application of Sparsest Cut to the following problem.

Definition 18.1.2 (Balanced Cut) Given a graph G = (V, E), edge capacities ce, and a balance requirement β ≤ 1 / 2 , find a minimum-capacity cut (S, S) subject to the constraint that (S, S) is β-balanced, i.e. |S|, |S| ≥ βn where n = |V |.

In the following, we use Cβ to refer both to the minimum capacity of a β-balanced cut and to an optimal cut itself.

The key link between the two problems is that given an instance of Balanced Cut, we can give every pair of nodes a requirement of 1, and then for a given balance β, the capacity of a β-balanced cut is Θ(n^2 ) times its sparsity.

We use this link to obtain a pseudo-approximation algorithm for Balanced Cut. That is, for a given β and β′^ < β, we find a cut of balance β′^ of capacity within some guaranteed factor of Cβ. (Note that Cβ may be much higher than Cβ′ .) Specifically, we obtain the following result.

Theorem 18.1.3 If there exists a ρ-approximation algorithm for Sparsest Cut, then for all β ≤ 1 / 2 and all β′^ < β, there exists an algorithm for Balanced Cut that finds β′-balanced cut of capacity at most (^) ρ

(β − β′)(1 − β + β′)

Cβ ,

provided β′^ ≤ 1 / 3.

Proof: We would like to use our Sparsest Cut algorithm to get information about balanced cuts in G, so we declare every pair of nodes to have requirement 1. Then the total requirement separated by a β-balanced cut is at least β(1 − β)n^2 , and so

sparsity(Cβ) ≤

Cβ β(1 − β)n^2

Thus if the hypothesized ρ-approximation algorithm for Sparsest Cut happens to return a β′- balanced cut, then its sparsity is at most

ρ β(1 − β)n^2

Cβ

and it separates less than n^2 requirement, so it has capacity at most

ρ β(1 − β)

Cβ

and we can output this cut.

If the algorithm doesn’t return a β′-balanced cut, then we can repeat this process on the larger side of the cut, taking the smaller side of the cut obtained and combining it with the smaller side of our first cut. One key observation is that since the first cut isn’t β′-balanced, the larger side must be a large fraction of the original graph G, and so its optimal sparsity can’t be too much larger than that of G. This allows us to argue that the capacity of the final cut we obtain isn’t too much larger than Cβ. The other key observation is that by iterating this process on the larger side, we end up with a cut that is relatively balanced. These ideas motivate the following algorithm, which we analyze formally next.

  1. Set ru,v = 1 for all (u, v) ∈ V × V.
  2. Set S 0 = V , i = 0.
  3. While |S 1 ∪ · · · ∪ Si| < β′n,
  4. Increment i.
  5. Apply the hypothesized Sparsest Cut algorithm to the subgraph GSi− 1 induced on Si− 1 to obtain a cut (Si, Si) where |Si| ≤ |Si|.
  6. Output S 1 ∪ · · · ∪ S, where is the final value of i.

We argue that the final cut has capacity at most

ρ (β − β′)(1 − β + β′) Cβ.

The intuition is that in each iteration, if |Si| is small, then the cut (Si, Si) does not separate much requirement, but since it has low sparsity, it must have small capacity and so it is safe to cut those edges. More formally, the amount of requirement separated by (Si, Si) is clearly at most |Si| · n, so the capacity of (Si, Si) is at most ρ · |Si| · n times the optimal sparsity of a cut in GSi− 1. What is that optimal sparsity? It’s at most the sparsity of the cut Cβ restricted to GSi− 1. Clearly, Cβ

We only exhibit an O(log n)-approximation algorithm. With a little more work, it can be extended to obtain an O(log k)-approximation.

The following result, due to Arora, Lee, and Naor [1], is the state-of-the-art for Sparsest Cut.

Theorem 18.2.3 There is an O(

log k log log k)-approximation algorithm for Sparsest Cut.

The oldest result on the Sparsest Cut problem is due Leighton and Rao [5]. They obtained an O(log n)-approximation for the uniform version, where every requirement ru,v = 1 (as we used in the reduction from Balanced Cut). The state-of-the-art for Uniform Sparsest Cut is the following result of Arora, Rao, and Vazirani [2].

Theorem 18.2.4 There is an O(

log n)-approximation algorithm for Uniform Sparsest Cut.

We will not explore these results in depth in this course.

18.2.2 Relaxation of Sparsest Cut

We prove Theorem 18.2.2 in two steps. Today, we argue that the Sparsest Cut problem reduces to the problem of finding a good embedding of a metric into Euclidean space under the ` 1 norm. In the next lecture, we will show how to find such an embedding.

We start out by recalling the Maximum Concurrent Multicommodity Flow problem.

Definition 18.2.5 (Maximum Concurrent Multicommodity Flow) For a given graph G = (V, E), edge capacities ce, and requirements ru,v ≥ 0 for all (u, v) ∈ V × V , simultaneously route f · ru,v units of flow from u to v for all (u, v), for f as large as possible.

A separate commodity is defined for each (u, v) such that ru,v > 0, and all commodities must be routed simultaneously while satisfying the capacity constraints. The Maximum Concurrent Multicommodity Flow problem is similar to Maximum Sum Multicommodity Flow, except that the flow values for different commodities must satisfy proportionality requirements. The Maximum Concurrent Multicommodity Flow problem can be exactly captured by an LP, and the dual of this LP turns out to be the following, where Pu,v is the set of all paths from u to v.

minimize

e cede subject to

∑^ e∈p^ de^ ≥^ yu,v^ ∀(u, v)^ ∈^ V^ ×^ V,^ ∀p^ ∈ Pu,v u,v ru,vyu,v^ ≥^1 de ≥ 0 ∀e ∈ E yu,v ≥ 0 ∀(u, v) ∈ V × V

In what follows, we prove many equivalences of various programs. In these programs, we have a set of variables du,v for (u, v) ∈ V × V constrained to form some sort of metric on V , and we use the notation de to refer to the distance between the endpoints of edge e. When we refer to equivalences (or relaxations), we do not necessarily refer to the feasible set of one program being equal to (or a subset of) the feasible set of another program, but rather the ability to take a feasible solution to one and generate a feasible solution to the other with at least as good of an objective value.

Lemma 18.2.6 Program (18.2.1) is equivalent to the following program.

minimize

e cede subject to

u,v ru,vdu,v^ ≥^1 d is a metric

Proof: A feasible solution to Program (18.2.2) immediately yields a feasible solution to Program (18.2.1) with the same objective value by setting yu,v = du,v. Given a feasible solution to Program (18.2.1), the yu,v’s might not form a metric, but for {u, v} 6 ∈ E we can change yu,v to be the shortest path distance between u and v under edge lengths de, without changing the feasibility or objective value. Setting du,v = yu,v then gives a feasible solution to Program (18.2.2) with no worse objective value.

Lemma 18.2.7 Program (18.2.2) is a relaxation of the Sparsest Cut problem.

Proof: Given a cut S ⊆ V , let d′ u,v = 1 if u and v are on opposite sides of the cut, and d′ u,v = 0 otherwise (i.e. d′^ is the cut metric associated with S). The total requirement separated by the cut is

u,v ru,vd ′ u,v and hence sparsity(S) =

e ced ′ ∑^ e u,v ru,vd′ u,v

It follows that if we set du,v = d′ u,v/

u,v ru,vd ′ u,v for all u, v, then we get a feasible solution to

Program (18.2.2) having objective value

∑

e

cede = sparsity(S).

Corollary 18.2.8 The optimum objective value for Program (18.2.2) is a lower bound on the minimum sparsity of a cut in G.

Corollary 18.2.9 The sparsity of every cut in G upper bounds the value f of every concurrent multicommodity flow in G.

Proof: This follows from Corollary 18.2.8, Lemma 18.2.6, and weak duality, but it is also easy to see directly. For every cut and every concurrent multicommodity flow, all the flow for the commodities separated by the cut must flow through the cut, and the total amount of such flow is bounded by the capacity of the cut. Since this flow would have to be proportioned according to the ru,v’s, the value f is bounded by the sparsity of the cut.

Our proof of Theorem 18.2.2 is an LP-rounding algorithm — we solve relaxation (18.2.2) via LP (18.2.1) and round the solution to obtain a cut. We next describe some equivalent characterizations of Sparsest Cut that help us accomplish this.

18.2.3 Characterizations of Sparsest Cut

Recall that a cut metric is one obtained by choosing a cut S ⊆ V and setting the distance between two nodes to be 1 if they are on opposite sides of the cut and 0 otherwise. In the next result we show that if in Program (18.2.2) we require d to be a scalar multiple of a cut metric (note that du,v

The `∞ distance is defined to be max i

|xi − yi|.

A metric is said to be an p metric if its points can be mapped to Rm^ for some m in such a way that thep distance between each pair of points is the same as their distance in the original metric.

The 1 metric is also known as the Manhattan metric, and the 2 metric is also known as the Euclidean metric. Interestingly, the 2 metric is the only one of the above metrics where the distance between two points does not depend on the particular coordinate system used. While it is possible to solve linear programs subject to the constraint that the variables specify a metric, it is N P -hard to optimize overp metrics for certain values of p, e.g. p = 1. Indeed, the following result implies that being able to optimize over ` 1 metrics would allow us to solve Sparsest Cut exactly.

Lemma 18.2.13 Program (18.2.4) is equivalent to the following program.

minimize

e cede subject to

u,v ru,vdu,v^ ≥^1 d is an ` 1 metric

Proof: Left as a homework problem.

Our strategy for approximating Sparsest Cut is to solve LP (18.2.1), or equivalently Program (18.2.2), and then “round” the solution to an ` 1 metric. Then the characterizations given by Lemmas 18.2.10, 18.2.11, and 18.2.13 allow us to construct a sparse cut. The precise notion of rounding is what we discuss next.

18.2.4 Metric Embeddings

Definition 18.2.14 Given metric spaces (V, μ) and (V ′, μ′) where μ and μ′^ are metrics on V and V ′^ respectively, an embedding from (V, μ) to (V ′, μ′) is a mapping f : V → V ′. The embedding is said to have expansion α if for all x, y ∈ V ,

μ′(f (x), f (y)) ≤ αμ(x, y).

The embedding is said to have contraction β if for all x, y ∈ V ,

μ′(f (x), f (y)) ≥

β μ(x, y).

If the embedding has expansion α and contraction β, then it is said to have distortion α · β.

Observe that rescaling either of the metrics by a fixed factor changes the expansion and contraction by that same factor, but the distortion remains constant.

We can now formalize the connection between Sparsest Cut and metric embeddings.

Theorem 18.2.15 If there exists an efficiently computable ρ-distortion embedding from arbitrary metrics into ` 1 , then there exists a ρ-approximation algorithm for Sparsest Cut.

Proof: Suppose we have a ρ-distortion ` 1 embedding algorithm. We can solve LP (18.2.1) and obtain a metric d on V as in Lemma 18.2.6. We know from Lemma 18.2.7 that

e cede^ is a lower

bound on the optimal sparsity of a cut in G. We apply the ρ-distortion embedding algorithm to obtain an ` 1 metric. By rescaling, we may assume this embedding has contraction 1 and distortion ρ. Now we have a feasible solution to Program (18.2.5) with objective value at most a factor of ρ higher than our lower bound on the optimal sparsity. Lemmas 18.2.13, 18.2.11, and 18.2.10 then allow us to construct a cut of sparsity within a factor ρ of the optimum.

A partial converse to Theorem 18.2.15 is known. We omit the proof, which is involved.

Theorem 18.2.16 If the integrality gap of LP (18.2.1) is ρ, then for every metric there exists a ρ-distortion embedding into ` 1.

We now just need to obtain a low-distortion ` 1 embedding algorithm. We will show the following result in the next lecture.

Theorem 18.2.17 There exists an efficiently computable O(log n)-distortion embedding for arbi- trary metrics into ` 1.

Corollary 18.2.18 There exists an O(log n)-approximation algorithm for Sparsest Cut.

As we mentioned before, with a little more work one can improve Corollary 18.2.18 to obtain Theorem 18.2.2.

It can be shown using the expander graph example from a previous lecture that Theorem 18.2.17 is tight (up to constant factors), i.e. there exist metrics such that no ` 1 embedding achieves distortion o(log n).

Note that this Sparsest Cut algorithm uses an embedding where the distortion guarantee applies to every distance, which is more than enough to prove the approximation guarantee. It is conceivable that we can do better using an embedding that only has low distortion on average. It turns out that for the uniform version, where every requirement is exactly 1, this approach works. The seminal result of Leighton and Rao [5] uses a low-average-distortion embedding to achieve an O(log n) approximation for Uniform Sparsest Cut. While their result is superceded by the present result of Linial, London, and Rabinovich [4], the best known result for Uniform Sparsest Cut, due to Arora, Rao, and Vazirani [2], uses low-average-distortion embeddings and achieves an O(

log n) approximation, which is better than the best known approximation for Sparsest Cut, which is O(

log n log log n). The O(

log n) result uses a different relaxation, optimizing over ^22 metrics, which can be done efficiently using semi-definite programming. It then uses a low-average-distortion embedding of^22 metrics into ` 1 metrics. This embedding can be made to have low distortion for every pair of points at the cost of an O(

log log n) factor loss in the approximation factor.

In the next lecture, we will describe how to obtain an O(log n)-distortion embedding of an arbitrary metric on n points into ` 1. We will also start discussing the use of semi-definite programming in approximation algorithm design.

References

[1] S. Arora, J. Lee, A. Naor. Euclidean Distortion and the Sparsest Cut. In STOC, 2005, pp. 553-