Min-Max Graph Partitioning and Small Set Expansion
Nikhil Bansal, Uriel Feige, Robert Krauthgamer, Konstantin Makarychev, Viswanath Nagarajan, Joseph, Naor, Roy Schwartz
Introduction
Min-max partitions arise naturally in many settings. Consider the following application in the context of cloud computing, which is a special case of the general graph-mapping problem considered in [BLNZ11] (and also implicit in other previous works [YYRC08, ZA06, CRB09]). There are processes communicating with each other, and there are machines, each having a bandwidth capacity . The goal is to allocate the processes to machines in a way that balances the load (roughly processes per machine), and meets the outgoing bandwidth requirement. Viewing the processes as vertices and the traffic between them as edge-weights, we get the Min–Max –Partitioning problem. In general, balanced partitioning (either min-sum or min-max) is at the heart of many heuristics that are used in a wide range of applications, including VLSI layout, circuit testing and simulation, parallel scientific processing, and sparse linear systems.
Balanced partitioning, particularly in its min-sum version, has been studied extensively during the last two decades, with impressive results and connections to several fields of mathematics, see e.g. [LR99, ENRS99, LLR95, AR98, ARV08, KNS09, LN06, CKN09]. The min-max variants, in contrast, have received much less attention. Previously, no approximation algorithm for the Min–Max –Partitioning problem was given explicitly, and the approximation that follows from known results is not smaller than .One could reduce the problem to the min-sum version of -partitioning. The latter admits bicriteria approximation [KNS09], but the reduction loses another factor of . Another possibility is to repeatedly remove vertices from the graph, paying again a factor of on top of the approximation in a single iteration, which is, say, by [Räc08]. We improve this dependence on significantly.
An important tool in our result above is an approximation algorithm for the Small-Set Expansion (SSE) problem. This problem was suggested recently by Raghavendra and Steurer [RS10] (see also [RST10a, RST10b]) in the context of the unique games conjecture. Recall that the edge-expansion of a subset with is
The input to the SSE problem is an edge-weighted graph and , and the goal is to compute
Raghavendra, Steurer and Tetali [RST10a] designed for SSE an algorithm that approximates the expansion within factor of the optimum, while violating the bound on by no more than a constant factor (namely, a bicriteria approximation). Notice that the approximation factor depends on ; this is not an issue if every small set expands well, but in general can be as small as , in which case this guarantee is quite weak.
One can achieve a true approximation of for SSE using [Räc08], for any value of .For very small values of , roughly , a better approximation ratio is known [FKN03]. If one desires a better approximation, then an approximation of using [ARV08] can be achieved at the price of slightly violating the size constraint, namely a bicriteria approximation algorithm. However, unlike the former which works for any value of , the latter works only for . In our context of min-max problems we need the case , where is part of the input. Therefore, it is desirable to extend the bound of [ARV08] to a large range of values for .
Our two main results are bicriteria approximation algorithms for the Min–Max –Partitioning and SSE problems, presented below. The notation hides multiplicative factors depending on , i.e., stands for .
For every positive constant , Min–Max –Partitioning admits a bicriteria approximation of \big{(}O_{\varepsilon}(\sqrt{\log{n}\log k}),\ 2+\varepsilon\big{)}.
This theorem provides a polynomial-time algorithm that with high probability outputs a partition such that and , where is the optimal min-max value of partitioning into equal-size parts. (The guarantee on part size can be improved slightly to ). This result is most interesting in the regime .
For every positive constant , Small-Set Expansion admits a bicriteria approximation of \big{(}O_{\varepsilon}(\sqrt{\log{n}\log{(1/\rho)}}),1+\varepsilon\big{)}.
This theorem provides a polynomial-time algorithm that with high probability outputs a set of size whose edge-expansion is , where is the minimum edge-expansion over all sets of size at most . Our algorithm actually handles a more general version, called Weighted Small-Set Expansion, which is required in Theorem 1.1. We defer the precise details to Section 2.
2 Additional Results and Extensions
Closely related to the SSE problem is the following –Unbalanced Cut problem: The input is again a graph with nonnegative edge-weights and a parameter , and the goal is to find a subset of size that minimizes . The relationship between this problem and SSE is similar to the one between Balanced Cut and Sparsest Cut, and thus Theorem 1.2 yields the following result.
For every constant , the –Unbalanced Cut problem admits a bicriteria approximation of \big{(}O_{\varepsilon}(\sqrt{\log n\log(1/\rho)}),\Omega(1),1+\varepsilon\big{)}.
This theorem says that there is a polynomial-time algorithm that with high probability finds of size and value , where is the value of an optimal solution to –Unbalanced Cut. This result generalizes the bound of [ARV08] from to any value of . Our factor is better than the true approximation ratio that follows from [Räc08], at the price of slightly violating the size constraint. Our algorithm actually handles a more general version, called Weighted -Unbalanced Cut, which is required in Theorem 1.1. We defer the precise details to Section 2.4.
Min-Max-Multiway-Cut.
We also consider the following Min-Max-Multiway-Cut problem, suggested by Svitkina and Tardos [ST04]: the input is an undirected graph with nonnegative edge-weights and terminal vertices , the goal is to partition the vertices into parts (not necessarily balanced), under the constraint that each part contains exactly one terminal, so as to minimize . They designed an –approximation algorithm for this problem, where is the approximation factor known for Minimum Bisection. Plugging , due to Räcke [Räc08], the algorithm of Svitkina and Tardos achieves -approximation. Using a similar algorithm to the one in Theorem 1.1, we obtain a better approximation factor.
Min-Max-Multiway-Cut admits an –approximation algorithm.
Somewhat surprisingly, we show that removing the dependence on for Min-Max-Multiway-Cut (even though no balance is required) appears hard, which stands in contrast to its min-sum version, known as Multiway Cut, which admits –approximation [CKR00, KKS+04]. The idea is to show that it would imply a similar independence of for the min-sum version of -partitioning, thus for large but constant , we would get an -bicriteria approximation for Min–Sum –Partitioning, which seems unlikely based on the current state of art [ARV08, AR06, KNS09].
If there is a –approximation algorithm for Min-Max-Multiway-Cut for some constant , then there is a bicriteria approximation algorithm for Min–Sum –Partitioning with .
Additionally, we also consider a common generalization of Min–Max –Partitioning and Min-Max-Multiway-Cut, which we call Min–Max Cut. In fact we obtain Theorem 1.4 as a special case of our result for Min–Max Cut.
Excluded-minor graphs.
Finally, we obtain an improved approximation – constant factor – for SSE in graphs excluding a fixed minor.
For every constant , Small-Set Expansion admits:
bicriteria approximation of \big{(}O_{\varepsilon}(r^{2}),\ 1+\varepsilon\big{)} on graphs excluding a -minor.
bicriteria approximation of \big{(}O_{\varepsilon}(\log g),\ 1+\varepsilon\big{)} on graphs of genus .
These bounds extend to the –Unbalanced Cut problem, and by plugging them into the proof of Theorems 1.1 and 1.4, we achieve an improved approximation ratio of for Min–Max –Partitioning and Min-Max-Multiway-Cut in graphs excluding a -minor.
3 Techniques
For clarity, we restrict the discussion here mostly to our main application, Min–Max –Partitioning. Our approach has two main ingredients. First, we reduce the problem to a weighted version of SSE, showing that an (bicriteria) approximation for the latter can be used to achieve (bicriteria) approximation for Min–Max –Partitioning. Second, we design an (bicriteria) approximation for weighted SSE (recall that in our applications ).
For SSE on excluded-minor and bounded-genus graphs, we give a better approximation guarantees, of a constant factor, by extending the notion of orthogonal separators to linear programs (LPs) and designing such low-distortion “LP separators” for these special graph families. The proof uses the probabilistic decompositions of Klein, Plotkin, and Rao [KPR93] and Lee and Sidiropoulos [LS10]. We believe that this result may be of independent interest. Let us note that the LP formulation for SSE is not trivial and requires novel spreading constraints. We remark that even on planar graphs, the decomposition of Räcke [Räc08] suffers an loss in the approximation guarantee, and thus does not yield ratio for SSE on this class of graphs.
We first show in Section 2 how to approximate Weighted Small-Set Expansion (in both general and excluded-minor graphs). We then show in Section 2.4 that an approximation algorithm for Weighted Small-Set Expansion also yields one for Weighted -Unbalanced Cut. In Section 3 we present an approximation algorithm for Min–Max –Partitioning that uses the aforementioned algorithm for –Unbalanced Cut (and in turn the one for Weighted Small-Set Expansion). The common generalization of both Min–Max –Partitioning and Min-Max-Multiway-Cut, Min–Max Cut, appears in Section 4. Theorem 1.5 is proved in Section 5.
Approximation Algorithms for Small Set Expansion
In this section we design approximation algorithms for the Small-Set Expansion problem. Our main result is for general graphs and uses an SDP relaxation. It actually holds for a slight generalization of the problem, where expansion is measured with respect to vertex weights (see Definition 2.1 and Theorem 2.1). We further obtain improved approximation for certain graph families such as planar graphs (see Section 2.3).
To simplify notation, we shall assume that vertex weights are normalized: we consider measures and with . We denote and . We let denote a complete (undirected) graph on vertex set with edge-weight for every . In our context, such can easily model a specific edge set , by simply setting for every non-edge . Recall that we let be the total weight of edges crossing the cut , and further let denote the total weight of all edges.
Let be a graph with nonnegative edge-weights, and let and be two measures on the vertex set with . The weighted small set expansion with respect to is
(I) For every fixed , there is a polynomial-time algorithm that given as input an edge-weighted graph , two measures and on (), and some , finds a set satisfying , and
where .
(II) When the input contains in addition a parameter , the algorithm finds a non-empty set satisfying , , and
where .
We prove part I of the theorem in Section 2.1, and part II in Section 2.2. These algorithms require the following notion of -orthogonal separators due to Chlamtac, Makarychev, and Makarychev [CMM06].
For all we have .
For all with ,
For all we have , where is the indicator function of the set .
There exists a polynomial-time randomized algorithm that given a set of vectors , positive number , and generates -orthogonal separator with distortion and scale for some polynomial .
In the original paper [CMM06], the second requirement in the definition of orthogonal separators was slightly different, however, exactly the same algorithm and proof works in our case: If and , then . Then, by Lemma 4.1 in [CMM06], ; hence and, in Corollary 4.6, .
In our relaxation we introduce a vector for every vertex . In the intended solution of the SDP corresponding to the optimal solution , (or, a fixed unit vector ), if ; and , otherwise. The objective is to minimize the fraction of cut edges
We denote and . Finally, we introduce new spreading constraints: for every ,
(Alternatively, we could use a slightly simpler, almost equivalent constraint . We chose to use the former formulation because an analogous constraint can be written in a linear program, see Section 2.3.) In the intended solution this constraint is satisfied, since if , then and the sum above equals . If , then and both sides of the constraint equal .
The SDP relaxation used in our algorithm is presented below in its entirety. Note that the second constraint can be written as , and the third constraint can be written as .
We now describe the approximation algorithm.
Approximation Algorithm.
We may assume that is sufficiently small i.e., . The approximation algorithm guesses approximate value of the weight : . Set the length of all vectors with to be 0. Solves the SDP and obtains a set of vectors . Then, it finds an orthogonal separator with and . For convenience, we let be the set of vertices corresponding to vectors belonging to the orthogonal separator rather than the vectors themselves. The algorithm repeats the previous step times (recall is the probabilistic scale of the orthogonal separator) and outputs the best satisfying . With an exponentially small probability no satisfies this constraint, in which case, the algorithm outputs an arbitrary set satisfying constraints.
Analysis.
We first estimate the probability of the event “ and ” for a fixed vertex . Let and . We show that only a small fraction of belongs to , and that the set is small.
Finally, we use the third property of orthogonal separators to bound the size of the cut
Here, as usual, denotes the value of the SDP solution; and is the distortion of -orthogonal separators.
if , , and , otherwise. The expectation
The random variable is always bounded by , thus with probability at least , . Therefore, with probability exponentially close to 1, after iterations, the algorithm will find with . Since , we get , , and
This finishes the proof of part I since .
2 Algorithm II: Small-Set Expansion in General Graphs
We now prove part II of Theorem 2.1. This algorithm uses an SDP relaxation similar to part I, although we need a few additional constraints. We write a constraint ensuring that “” (recall is an approximate value of in the optimal solution): we add spreading constraints for all ,
and we let . We also require
Algorithm II gets , the approximate value of the measure , as input, and thus does not need to guess it.
To handle terminals in the extended version of the problem (see Section 4) we guess which terminal belongs to the optimal solution (if any), and set and for . Since an orthogonal separator never contains the zero vector, we will never choose more than one terminal in the set .
Approximation Algorithm. The algorithm consists of many iterations of a slightly modified Algorithm I. At every step the algorithm obtains a set of vertices (returned by Algorithm I) and adds it to the set , which is initially empty. Then, the algorithm removes vectors corresponding to from the set , the SDP solution, and repeats the same procedure till or . In the end, the algorithm returns the set if and , and the last set otherwise.
The algorithm changes the SDP solution (by removing some vectors), however we can ignore these changes, since the objective value of the SDP may only decrease and all constraints but (3) are still satisfied. Since the total weight of removed vertices is at most , a slightly weaker variant of constraint (3) is satisfied. Namely,
We now describe the changes in Algorithm I: instead of , we define function :
if , and and , otherwise. Notice, that has an extra term comparing to and, in order for to be positive, the constraint should be satisfied. The new variant of Algorithm I, returns , once .
Again, after at most iterations the algorithm will find with (and only with exponentially small probability fail)In fact, now , thus we need only iterations.. Then, implies
The last inequality implies that at every moment . Hence, if (recall, this is one of the two conditions, when the algorithm stops), then . Therefore, if the algorithm returns set , then . If the algorithm returns set then either and thus or .
Both, and are bounded from above by and respectively; and are bounded from above by and respectively.
The inequality (6) holds for every set added in , hence this inequality holds for .
3 Small-Set Expansion in Minor-Closed Graph Families
In this subsection we prove Theorem 1.6. We start by writing an LP relaxation. For every vertex we introduce a variable taking values in $u,v\in Vz(u,v)=z(v,u)S\subset Vx(u)=1u\in Sx(u)=0z(u,v)=|x(u)-x(v)|x(u)OSOx(u)\|\bar{u}\|^{2}z(u,v)\|\bar{u}-\bar{v}\|^{2}$.
It is easy to verify that LP (2.3) below is a relaxation of the Small-Set Expansion problem. It has a constraint saying that is a metric (or, strictly speaking, semi-metric). A novelty of the LP is in the third constraint, which is a new spreading constraints for ensuring the size of is small.
We introduce an analog of -orthogonal separators for linear programming, which we call LP separators.
Let be a graph, and let be a set of numbers. We say that a distribution over subsets of is an LP separator of with distortion , probability scale and separation threshold if the following conditions hold for chosen according to this distribution:
For all , .
For all with , .
For all , , where is an indicator for the set .
Below we present an efficient algorithm for an LP separator: given a graph excluding as a minor, a parameter , and a set of numbers satisfying the triangle inequalities described above (but not necessarily the spreading constraints), the algorithm computes an LP separator with distortion (for genus graphs the distortion is ). This proves Theorem 1.6 as follows: by replacing in the algorithms above the SDP relaxation (2.1) with the LP relaxation (2.3), and the orthogonal separators with LP separators, we obtain approximation algorithm approximation algorithm for SSE in excluded-minor graphs. Combined with the framework in Section 3, we consequently obtain an -approximation algorithm for Min–Max –Partitioning and Min-Max-Multiway-Cut on such graphs.
We now describe an algorithm that samples an LP separator (see Definition 2.4) with respect to a feasible solution to LP (2.3). We recall a standard notion of low-diameter decomposition of a metric space, see e.g. [Bar96, GKL03, KR11] and references therein.
Let be a finite metric space. Given a partition of and a point , we refer to the elements of as clusters, and let denote the cluster that contains , so . A stochastic decomposition of this metric is a probability distribution over partitions of .
Let . A stochastic decomposition of a finite metric space is called a -separating -bounded decomposition if it satisfies:
For every partition and every cluster ,
For every , the probability that a partition sampled from separates them is
Let be a graph excluding as a minor, equipped with nonnegative edge-lengths. Then the graph’s shortest-path metric admits, for every , an -separating -bounded decomposition. Moreover, there is a polynomial-time algorithm that samples a partition from this distribution.
Lee and Sidiropoulos [LS10] show similarly for graphs with genus an -separating decomposition. Alternative algorithms for both cases are shown in [KR11].
Consider a graph and nonnegative numbers . We say that a distribution over partitions of is called a probabilistic partitioning with distortion and separation threshold if the following properties hold:
For every edge with :
For every with , we have for all .
Let be a graph that excludes as a minor, and let satisfy the first two constraints of LP (2.3). Then for every , there is a probabilistic partitioning with distortion and separation threshold .
For all we have .
Pick two vertices and consider an arbitrary path . We prove that the length of the path (in which the length of each edge is ) is at least . If the length of the path is greater than we are done. Thus, we may assume that the lengths of all edges are at most . We also assume that and thus . We have,
The second inequality holds since is a metric. If , we are done. Assume that for , . Then,
We now apply the theorem of Klein, Plotkin, and Rao [KPR93] to the metric and obtain a probabilistic partition with and . This partition satisfies the following properties.
If for , then either and hence , or , then (using )
Thus, in either case and (by Claim 2.5).
The distortion equals . ∎
Given a solution for LP (2.3) (the relaxation for SSE problem), we could proceed as follows: Construct a probabilistic partition with distortion and some constant separation threshold , then pick a random vertex with probability and, finally, output the cluster . However, to highlight the similarity between this LP-algorithm and the previous SDP-algorithm (for general graphs), we give an algorithm for constructing LP separators, which in turn is used by the Small-Set Expansion algorithm.
There exists an algorithm that given a graph with an excluded minor , a set of numbers satisfying the triangle inequality constraints, and a parameter , returns an LP separator with distortion and separation threshold .
Algorithm. The algorithm samples a random partition with distortion and a separation threshold . For every , let
The algorithm picks a random set with probability ; and with the remaining probability
Now, to guarantee that every vertex is chosen with probability exactly , where , the algorithm removes some elements from : it picks at random and outputs set
Analysis. Verify that satisfies the properties of LP separators (with ). For every ,
Then, if , then and hence
We estimate the first term (using that has distortion ; see Definition 2.6)
4 From SSE to ρ𝜌\rho–Unbalanced Cut
–Unbalanced Cut and SSE are equivalent, up to some constants, with respect to bicriteria approximation guarantees. Indeed, the two problems are related in the same way that Balanced Cut and Sparsest Cut are. We refer the reader to [LR99, RST10a], and omit details from this version of the paper.
Our intended application of approximating Min–Max –Partitioning (in Section 3), requires a weighted version of the –Unbalanced Cut problem, as follows.
The unweighted version of the problem (defined in Section 1.2) has and unit vertex-weights, i.e. for all . We focus on the direction of reducing Weighted -Unbalanced Cut to Weighted Small-Set Expansion, which is needed for our intended application. Formally, we have the following corollary of Theorem 2.1. We use to denote the optimal value of the corresponding weighted –Unbalanced Cut instance.
For every , there exists a polynomial-time algorithm that given an instance of Weighted -Unbalanced Cut, finds a set satisfying , and for , and .
Let be an optimal solution to , note that , and the optimal value of this instance. Define two measures on as follows. For any , set and .
The algorithm guesses such that (see Algorithm I above for an argument why we can guess ). Then it invokes the algorithm from part II on with measures and as defined above, and parameters . The obtained solution satisfies and , since . Furthermore, , where . ∎
Min-max Balanced Partitioning
In this section, we present our algorithm for Min–Max –Partitioning, assuming a subroutine that approximates Weighted -Unbalanced Cut (which is essentially a rephrasing of Weighted Small-Set Expansion). Our algorithm for Min–Max –Partitioning follows by a straightforward composition of Theorem 3.1 and Theorem 3.3 below. Plugging in for the values obtained in Section 2 would complete the proof of Theorem 1.1.
We first consider a covering relaxation of Min–Max –Partitioning and solve it using multiplicative updates. This covering relaxation can alternatively be viewed as a fractional solution to a configuration LP of exponential size, as discussed further below.
Let denote all the vertex-sets that are feasible for a single part. Note that a feasible solution in Min–Max –Partitioning corresponds to a partition of into parts, where each part belongs to . Algorithm 1, described below, uniformly covers using sets in (actually a slightly larger family than ). It is important to note that its output is a multiset.
Running Algorithm 1 on an instance of Min–Max –Partitioning outputs that satisfies (here denotes the optimal value of the instance):
For all we have and .
For all we have .
For an iteration , let us denote . The first assertion of the theorem is immediate from the following claim.
Every iteration of Algorithm 1 satisfies and .
It suffices to show that the optimal value of the Weighted -Unbalanced Cut instance is at most . To see this, consider the optimal solution of the original Min–Max –Partitioning instance. We have and for all . Since partitions , there is some with . It now follows that is a feasible solution to the Weighted -Unbalanced Cut instance , with objective value at most , which proves the claim. ∎
We now describe an alternate approach to finding a cover . Given a bound on the cost of any single cut, define the set of feasible cuts as follows:
We define a configuration LP for Min–Max –Partitioning as follows. There is a variable for each indicating whether/not cut is chosen.
The goal is determine the smallest such that . One can approximately solve this using the dual formulation:
The dual separation oracle can be solved using Weighted Small-Set Expansion; so we can apply the Ellipsoid algorithm. Since we only have a multi-criteria approximation for Weighted Small-Set Expansion (see Section 2), the details for approximating the configuration LP are rather technical.
2 Aggregation
The aggregation process, which might be of independent interest, transforms a cover of into a partition. Intuitively, we first let the sets randomly compete with each other over the vertices so as to form a partition; then, to make sure no set has large cost, we repeatedly fix the partition locally, and use a potential function to track progress.
2. After each iteration of step 2, the following invariant holds: the collection of sets is a partition of and for all . Particularly, . The key observation is that at every iteration of the “while” loop, the sum decreases by at least . This is due to the following uncrossing argument:
3. The following analysis holds conditional on any value of . After each iteration of step 3, the following invariant holds: the collection of sets is a partition of . Moreover, and (note: after step 2, for each ).
When the loop terminates, we obtain a partition of into sets satisfying , , , , such that no two sets can be merged without violating above constraints. Hence by Lemma 3.4 below (with and ), the number of non-empty sets is at most ∎
Let and be two sequences of nonnegative numbers satisfying the following constraints , , and (for some positive real numbers , , , and ). Moreover, assume that for every and () either or . Then, .
By rescaling we assume that and . Moreover, we may assume that and by slightly decreasing values of all and so that all inequalities still hold.
We write two linear programs. The first LP () has variables and constraints for all such that . The second LP () has variables and constraints all such that . The LP objectives are to minimize and to minimize . Note, that is a feasible point for and is a feasible point for . Thus, the optimum values of and are strictly less than and respectively.
Observe that both LPs are half-integral. Consider optimal solutions , where . Note that for every either or . Consider several cases. If for all , , then , since . If for some , (and hence ), then for and, thus, . Finally, assume that for some , , and w.l.o.g. and . The number of ’s with is (strictly) bounded by . For the remaining ’s, and hence (because ), and thus the number of such ’s is (strictly) bounded by . ∎
Further Extensions
Both Theorems 1.1 and 1.4 follow from a more general result for a problem that we call Min–Max Cut, defined as follows. The input is an undirected graph , nonnegative edge-weights , a collection of disjoint terminal sets (possibly empty), and parameters and . The goal is to find a partition of such that:
For all , ; and
This problem models the aforementioned cloud computing scenario, where in addition, certain processes are preassigned to machines (each set maps to machine ). The goal is to assign the processes to machines while respecting the preassignment and machine load constraints, and minimizing both bandwidth per machine and total volume of communication.
It is clear that in fact Theorem 4.1 generalizes both Theorems 1.1 and 1.4. Let us now describe modifications to the Min–Max –Partitioning algorithm used to obtain Theorem 4.1.
First, by the introduction of vertex weights, we can shrink each preassigned set to a single terminal (for ). Then, feasible vertex-sets in the covering procedure (Section 3.1) consist of those where (balance constraint) and (preassignment constraint). The subproblem Weighted -Unbalanced Cut also has the additional constraint; this can be handled in the algorithm from Section 2 by guessing which terminal belongs to (see Remark 2.3). Using Corollary 2.7 we assume an approximation algorithm for this (modified) Weighted -Unbalanced Cut problem; where for any , , and .
Algorithm 3 below gives the procedure to obtain a uniform covering bounding total edge-cost in addition to the conditions in Theorem 3.1.
For any instance of Min–Max Cut, output of Algorithm 3 satisfies:
and for all .
for all .
.
.
Above, for any , , and .
In any iteration of the above algorithm, there exists an such that , , and .
Consider the optimal solution of the original Min–Max Cut instance. For all we have that , and contains at most one terminal. Moreover, . Since partitions , we also have . Let denote the indices having .
We claim that . This is because:
Since , there is some with . Let be the value such that ; note that such an exists because . For this , consider the Weighted -Unbalanced Cut instance . Observe that is a feasible solution here since , and contains at most one terminal. Hence the optimal value of this instance is at most:
The first inequality uses the definition of and that , and the second inequality is by choice of . It now follows from Corollary 2.7 that solution satisfies the claimed properties. We note that because each instance of Weighted -Unbalanced Cut has parameters and . ∎
Claim 4.3 implies that for each iteration , we have and . Since , we obtain:
Using in each iteration, . So,
This completes the proof of Theorem 4.2. ∎
Aggregation
This step remains essentially the same as in Section 3.2, namely Algorithm 2 (with parameter ). The only difference is that in Step 3 we do not merge parts containing terminals. We first show that this yields a slightly weaker version of Theorem 4.1: in condition (ii) we obtain a bound of on the cardinality of each part. (Later we show how to achieve the cardinality bound of as claimed in Theorem 4.1.)
Note that each of the final sets is a subset of some set in , and hence contains at most one terminal. It also follows that the final sets are at most in number: at most of them contain no terminals (just as in Theorem 3.3), and at most contain a terminal (since there are at most terminals). Each of these sets has size at most and cut value at most , by the analysis in Theorem 4.1. Moreover, if a set contains a terminal then (since it does not participate in any merge). Finally in order to reduce the number of parts to , we merge arbitrarily each part containing a terminal with one non-terminal part; and output this as the final solution. It is clear that each part has at most one terminal, has size , and cut value at most . The bound on total cost (condition (iv) in Theorem 4.1) is by the following claim. This proves a weaker version of Theorem 4.1, with size bound .
To bound the cost of the partition in Step 1, consider any index . From the proof of Theorem 3.3, we have:
Obtaining size bound of . We now describe a modified aggregating step (in place of Step 3 in Algorithm 2) that yields Theorem 4.1. Given the uniform cover from Algorithm 3, run Steps 1 and 2 of Algorithm 2 (use ) to obtain parts . Then:
Set .
While there are () such that , and does not contain a terminal: replace and .
Sort the resulting non-empty sets in non-increasing order of size.
Form groups where the group consists of parts indexed between and .
For each define as the union of one part from each group such that it contains terminal but no other terminal. Additionally, ensure that each part is assigned to one of .
We first show that the number of parts after Step 2 above . Note that each part contains at most one terminal, and the number of parts containing a terminal is at most . For the non-terminal parts, using Lemma 3.4 (with , , , , and ) we obtain a bound of , which implies .
Hardness of Min-Max-Multiway-Cut
In this section we prove Theorem 1.5, which shows that obtaining a -approximation algorithm for Min-Max-Multiway-Cut is hard, if not unlikely. This suggests that some dependence on might be necessary (unless we are satisfied with approximation that is linear in , which is trivial), which is in contrast to several cut problems (multiway-cut, multicut, requirement-cut etc) with sum-objective where approximation guarantees are known when is the size of the terminal set [Moi09, LM10, EGK+10, CLLM10, MM10]. Throughout this section, we assume is constant (independent of ), which simplifies the statements; strictly speaking, our reductions relate solving one problem with parameter to solving another problem with parameter .
We will refer to the min-sum version of Min–Max –Partitioning, called Min–Sum –Partitioning, in which the input is an edge-weighted graph and a parameter , and the goal is to partition the vertices into equal-sized parts while minimizing the total edge-weight of all edges cut. An algorithm for Min–Sum –Partitioning is an bicriteria approximation if for every instance, it partitions the vertices into pieces, each of size at most , and the total edge-weight of all edges cut is at most times the least possible among all partitions into equal-size sets.
The basic idea in proving Theorem 1.5 as follows. although there is no vertex-balance requirement in Min-Max-Multiway-Cut, an edge-balance is implicit in the objective. By introducing a complete bipartite graph (having suitable edge weight) between the terminals and the rest of the graph, this edge-balance can be used to enforce the vertex-balance required in Min–Sum –Partitioning. After this first step, which obtains a bicriteria approximation for Min–Sum –Partitioning, we do a second step which improves the size-violation in the algorithm for Min–Sum –Partitioning. These two steps are formalized in the two foregoing Lemmas 5.1 and 5.3. Putting them together immediately proves 1.5.
If there is a -approximation algorithm for Min-Max-Multiway-Cut then there is a -bicriteria approximation algorithm for Min–Sum –Partitioning.
The vertex set is where are the terminals.
The edges are .
Extend cost function by setting for all .
Note that every solution to corresponds to a –partition in (though possibly unbalanced). We say that a solution to is -balanced if each piece in the partition has size at most .
The algorithm for Min–Sum –Partitioning on runs algorithm on all the Min-Max-Multiway-Cut instances , and returns the cheapest partition that is -balanced. We now show that this results in a bicriteria approximation ratio.
Note that algorithm must be invoked on for some value with . We will show that the partition resulting from this call is the desired bicriteria approximation.
.
Let denote the optimal –partition to . Consider the solution to obtained by including each terminal into a distinct piece of . The boundary of the piece containing (any ) in costs at most:
the term is due to edges in , the second term is due to edges at and the third is due to edges at all other . The claim now follows since . ∎
Let denote ’s solution to , and the partition of induced by . From Claim 5.2, has objective value (for Min-Max-Multiway-Cut) at most . Note that the boundary (in graph ) of ’s piece in costs at least . Thus we obtain:
It follows that for every , we have:
since , and
.
Thus the solution to is -balanced and costs at most . This complete the proof of Lemma 5.1. ∎
If there is an -bicriteria approximation algorithm for Min–Sum –Partitioning for some constant , then there is also an -bicriteria approximation algorithm with .
Let denote the -bicriteria approximation algorithm. The idea is to use recursively to obtain the claimed approximation; details are below. Let denote the input graph with vertices, and the optimal balanced –partition. The algorithm deals with several sub-instances of , each of which is assigned a level from where is fixed below. Every level instance will contain parts and vertices. Choose to be the smallest integer such that . While generating the sub-instances we also add dummy singleton vertices (to keep the instances balanced). For notational simplicity we use the same identifier for a sub-instance and the graph corresponding to it. Note that is the unique level instance. For each , every level instance generates level instances as follows:
Run algorithm on to obtain a -balanced partition of .
For each , add singleton vertices to to obtain a new level instance.
The algorithm finally returns the partition corresponding to the set of all level instances. Note that there are at most vertices in each level instance. The algorithm ignores all dummy vertices in each piece of and greedily merges pieces until every piece has at least vertices (all from ); let ’ denote the resulting partition of . Clearly there are at most pieces in ’, and each has size at most . Thus ’ is a -balanced –partition.
We now upper bound the total cost of all edges removed by the algorithm (over all instances); this also bounds the cost of ’. This is immediate from Claim 5.4 below: since there are levels and achieves an -approximation to the cost, the total cost is bounded by .
For each , the sum of optimal values of level instances is at most .
Consider any fixed , and an instance of level . We will show that the edges of induced on form a balanced -partition for . This suffices to prove the claim since the level instances partition (the original vertex-set). Let denote the vertices from in ; note that . Consider the partition of induced by ; note that each piece in has size at most . Greedily merge pieces in as long as the size of each piece is at most , to obtain partition ’; so the number of pieces is:
The second-last inequality uses which is true by the choice of . Now we can fill pieces of ’ with dummy singleton vertices of instance to obtain a balanced -partition of . ∎
References
Appendix
Appendix A Integrality Gap for SDP Relaxation of Min-Max-Multiway-Cut
Consider the following semi-definite relaxation for the min-max multiway cut problem:
As stated, the integrality gap we consider is the star graph which constrains as single vertex connected by edges to the terminals. The value of any integral solution to this instance is exactly since the only choice is to which terminal should be assigned. Any choice made results in a min-max objective value of .
Let us construct the fractional solution to the above relaxation. Fix to be an arbitrary unit vector, and be unit vectors which are all orthogonal to and the inner product between any two of them is . Set the following fractional solution:
First, we show that the above fractional solution is feasible. Constraints (14), (15) and (16) are obviously feasible for all terminals. Vertex also upholds constraint (14) since:
Let us verify that vertex satisfies also constraint (16):
Focus on constraint (17). It is easy to verify that for all terminals, the sum of all vectors that are associated with the picked vertex is exactly . Since , the sum of all vectors associated with is also . Therefore, all constraints of type (17) are satisfied.
All the last three constraints are derived from the above calculations. Hence, we can conclude that the fractional solution defined above is feasible for the semi-definite relaxation.
Appendix B Bad Example: Greedy Algorithm for Min–Max k𝑘k–Partitioning
We show that the naive greedy algorithm that repeatedly uses Small-Set Expansion to remove a part of size performs very poorly. In this example we even assume that there is an exact algorithm for Small-Set Expansion. The graph is a tree on vertices , and edges .
The simple greedy algorithm will cut out parts having small boundary for iterations, namely for ; note that for all . However the last part has cut-value ; so the resulting objective value is .
On the other hand, it can be checked directly that the optimal value is at most four: Consider the partition obtained by repeatedly taking the first consecutive vertices from the ordering .