Complex Semidefinite Programming and Max-k-Cut
Alantha Newman

TL;DR
This paper extends the semidefinite programming approach for Max-$k$-Cut, providing a simple rounding algorithm that achieves near state-of-the-art approximation ratios for general $k$, building on and generalizing prior work for Max-3-Cut.
Contribution
It introduces a new rounding algorithm for Max-$k$-Cut that generalizes Goemans and Williamson's method, achieving approximation guarantees close to the best known results.
Findings
The new rounding algorithm matches Goemans and Williamson's analysis for Max-3-Cut.
For $k \\geq 4$, the approximation ratios are about 0.01 worse than the best known.
A generalized version of the algorithm potentially matches the best guarantees of De Klerk et al.
Abstract
In a second seminal paper on the application of semidefinite programming to graph partitioning problems, Goemans and Williamson showed how to formulate and round a complex semidefinite program to give what is to date still the best-known approximation guarantee of .836008 for Max--Cut. (This approximation ratio was also achieved independently by De Klerk et al.) Goemans and Williamson left open the problem of how to apply their techniques to Max--Cut for general . They point out that it does not seem straightforward or even possible to formulate a good quality complex semidefinite program for the general Max--Cut problem, which presents a barrier for the further application of their techniques. We present a simple rounding algorithm for the standard semidefinite programmming relaxation of Max--Cut and show that it is equivalent to the rounding of Goemans and Williamson…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Complex Semidefinite Programming and Max--Cut
Alantha Newman CNRS and Université Grenoble Alpes. Supported in part by LabEx PERSYVAL-Lab (ANR-11-LABX-0025).
Abstract
In a second seminal paper on the application of semidefinite programming to graph partitioning problems, Goemans and Williamson showed how to formulate and round a complex semidefinite program to give what is to date still the best-known approximation guarantee of .836008 for Max--Cut. (This approximation ratio was also achieved independently by De Klerk et al.) Goemans and Williamson left open the problem of how to apply their techniques to Max--Cut for general . They point out that it does not seem straightforward or even possible to formulate a good quality complex semidefinite program for the general Max--Cut problem, which presents a barrier for the further application of their techniques.
We present a simple rounding algorithm for the standard semidefinite programmming relaxation of Max--Cut and show that it is equivalent to the rounding of Goemans and Williamson in the case of Max--Cut. This allows us to transfer the elegant analysis of Goemans and Williamson for Max-3-Cut to Max--Cut. For , the resulting approximation ratios are about worse than the best known guarantees. Finally, we present a generalization of our rounding algorithm and conjecture (based on computational observations) that it matches the best-known guarantees of De Klerk et al.
1 Introduction
In the Max--Cut problem, we are given an undirected graph, , with non-negative edge weights. Our objective is to divide the vertices into at most disjoint sets, for some given positive integer , so as to maximize the weight of the edges whose endpoints lie in different sets. When , this problem is known simply as the Max-Cut problem. The approximation guarantee of can be achieved for all by placing each vertex uniformly at random in one of sets. For all values of , this simple algorithm yielded the best-known approximation ratio until 1994. In that year, Goemans and Williamson gave a .87856-approximation algorithm for the Max-Cut problem based on semidefinite programming (SDP), thereby introducing this method as a successful new technique for designing approximation algorithms [GW95].
Frieze and Jerrum subsequently developed an algorithm for the Max--Cut problem that can be viewed as a generalization of Goemans and Williamson’s algorithm for Max-Cut in the sense that it is same algorithm when [FJ97]. Although the rounding algorithm of Frieze and Jerrum is arguably simple and natural, the analysis is quite involved. Their approximation ratios improved upon the previously best-known guarantees of for and are shown in Table 1. A few years later, Andersson, Engebretsen and Håstad also used semidefinite programming to design an algorithm for the more general problem of Max-E2-Lin mod , in which the input is a set of equations or inequations mod on two variables (e.g., ) and the objective is to assign an integer from the range to each variable so that the maximum number of equations are satisfied [AEH01]. They proved that the approximation guarantee of their algorithm is at least more than that of the simple randomized algorithm, where is a (small) linear function of . In the special case of Max--Cut, they showed that the performance ratio of their algorithm is no better than that of Frieze and Jerrum. Although they did not show the equivalence of these two algorithms, they stated that numerical evidence suggested that the two algorithms have the same approximation ratio. Shortly thereafter, De Klerk, Pasechnik and Warners presented an algorithm for Max--Cut with improved approximation guarantees for all , shown in Table 1. Additionally, they showed that their algorithm has the same worst-case performance guarantee as that of Frieze and Jerrum [dKPW04].
Around the same time, Goemans and Williamson independently presented another algorithm for Max-3-Cut based on complex semidefinite programming (CSDP) [GW04]. For this problem, they improved the best-known approximation guarantee of due to Frieze and Jerrum to , the same approximation ratio proven by De Klerk, Pasechnik and Warners. Goemans and Williamson showed that their algorithm is equivalent to that of Andersson, Engebretsen and Håstad and to that of Frieze and Jerrum (and therefore to that of De Klerk, Pasechnik and Warners) in the case of Max-3-Cut [GW04]. However, they argued that their decision to use complex semidefinite programming and, specifically, their choice to represent each vertex by a single complex vector resulted in “cleaner models, algorithms, and analysis than the equivalent models using standard semidefinite programming.”
One issue noted by Goemans and Williamson with respect to their elegant new model was that it is not clear how to apply their techniques to Max--Cut for . Their approach seemed to be tailored specifically to the Max-3-Cut problem. This is because one cannot model, say, the Max--Cut problem directly using a complex semidefinite program. This limitation is discussed in Section 8 of [GW04]. In fact, as they point out, a direct attempt to model Max--Cut with a complex semidefinite program would only result in a -approximation for . De Klerk et al. also state that there is no obvious way to extend the approach based on CSDP to Max--Cut for . (See page 269 in [dKPW04].)
1.1 Our Contribution
In this paper, we make the following contributions.
We present a simple rounding algorithm based on the standard semidefinite programming relaxation of Max--Cut and show that it can be analyzed using the tools from [GW04].
- •
For , this results in an implementation of the Goemans-Williamson algorithm that avoids complex semidefinite programming.
- •
For , the resulting approximation ratios are slightly worse than the best-known guarantees. 2. 2.
We present a simple generalization of this rounding algorithm and conjecture that it yields the best-known approximation ratios.
Thus, the main contribution of this paper is to show that, despite its limited modeling power, we can still apply the tools from complex semidefinite programming developed by Goemans and Williamson to Max--Cut. In fact, we obtain the following worst-case approximation guarantee for the Max--Cut problem for all , which is the same bound they achieve for :
[TABLE]
We note that for , the approximation ratio is about worse than the approximation ratio proved by Frieze and Jerrum. See Table 1 for a comparison. However, given the technical difficulty of Frieze and Jerrum’s analysis, we believe that it is beneficial to present an alternative algorithm and analysis that yields a similiar approximation guarantee. Moreover, we wish to take a closer look at the techniques used by Goemans and Williamson for Max-3-Cut since these tools have not been widely applied in the area of approximation algorithms, in sharp contrast to the tools used to solve the Max-Cut problem. In fact, we are aware of only two papers that use the main tools of [GW04]: The first is for a generalization of the Max-3-Cut problem [Lin09] and the second is for an optimization problem in which the variables are to be assigned complex vectors [ZH06].
While Goemans and Williamsons’ framework of complex semidefinite programming does result in an elegant formulation and analysis for Max-3-Cut, it also to some extent obscures the geometric structure that is apparent when one views the same algorithm from the viewpoint of standard semidefinite programming. Specifically, in the latter framework, their complex semidefinite program is equivalent to modeling each vertex with a 2-dimensional circle or disc of vectors. In our opinion, their main technical contribution is a formula for the exact distribution of the difference of the angles resulting when a normal vector is projected onto two of these discs that are correlated in a particular way. (See Lemma 8 in [GW04].) Thus, while the limitation in modeling Max--Cut with complex semidefinite programming comes from the fact that we cannot model the general problem with these 2-dimensional discs, we can circumvent this barrier in the following way. We construct 2-dimensional discs using the vectors obtained from a solution to the standard semidefinite program. We then show that a pair of these 2-dimensional discs (i.e., one disc for each vertex) are correlated in the same way as those produced in the case of Max-3-Cut. Then we can apply and analyze the same algorithm used for Max-3-Cut.
In some cases (e.g., Max-3-Cut), using the distribution of the angle between two elements is stronger than using the expected angle, which is what is used for Max-Cut. It therefore seems that this tool has unexplored potential applications for other optimization problems, for which it may also be possible to overcome the modeling limitations of complex semidefinite programming in a similiar manner as we do here. On a high level, the idea of constructing the “complex” vectors from a solution to a standard semidefinite program was used for a circular arrangement problem [MN11].
Finally, we remark that the approach used in Section 4 to create a disc from a vector is reminiscent of Zwick’s method of outward rotations in which he combines hyperplane rounding and independent random assignment [Zwi99]. For each unit vector from an SDP solution, he computes a disc in the plane spanned by and , where the ’s form a set of pairwise orthogonal vectors that are also orthogonal to the ’s, and chooses a new vector from this disc based on a predetermined angle. Thus, the goal is to rotate each vector to obtain a new set of unit vectors, which are then given as input to a now standard rounding algorithm, such as random-hyperplane rounding. In contrast, our goal is to use the actual disc in the rounding, as done originally by Goemans and Williamson in the case of Max-3-Cut.
1.2 Organization
We give some background on the (standard) semidefinite programming relaxation used by Frieze and Jerrum and discuss their algorithm for Max--Cut in Section 2. In Section 3, we present Goemans and Williamson’s algorithm for Max-3-Cut from the viewpoint of standard semidefinite programming. In Section 4, we show how to create a 2-dimensional disc for each vertex given a solution to the standard semidefinite program for Max--Cut. We do not wish to formally prove the relationship between these discs and the complex vectors. Thus, in Section 5, we simply prove that if two discs are correlated in a specified way, then the distribution of the angle is equivalent to a distribution already computed exactly by Goemans and Williamson in [GW04]. We can then easily prove that the 2-dimensional discs we create for the vertices have the required pairwise correlation. This results in a closed form approximation ratio for general , Theorem 6.
2 Frieze and Jerrum’s Algorithm
Consider the following integer program for Max--Cut:
[TABLE]
Here, are the vertices of the equilateral simplex, where each vertex is represented by a -dimensional vector, and each pair of vectors corresponding to a pair of vertices has dot product . If we relax the dimension of the vectors, we obtain the following semidefinite relaxation, where :
[TABLE]
Frieze and Jerrum used this semidefinite relaxation to obtain an algorithm for the Max--Cut problem [FJ97]. Specifically, they proposed the following rounding algorithm: Choose random vectors, , with each entry of each vector chosen from the normal distribution . For each vertex , consider the dot products of vector with each of the random vectors, . One of these dot products is maximum. Assign the vertex the label of the random vector with which it has the maximum dot product. In other words, if , then vertex is assigned to to cluster . Frieze and Jerrum were able to prove a lower bound on the approximation guarantee of this algorithm for every . See Table 1 for some of these ratios.
3 Goemans-Williamson Algorithm for Max-3-Cut
Goemans and Williamson gave an algorithm for Max-3-Cut in which they first model the problem as a complex semidefinite program (i.e., each element is represented by a complex vector). It is not too difficult to see that these complex vectors are equivalent to 2-dimensional discs or sets of unit vectors. For example, here is an equivalent semidefinite program for Max-3-Cut. The input is an undirected graph with non-negative edge weights .
[TABLE]
Consider a set of unit vectors forming a solution to this semidefinite program. Note that for a fixed vertex , the vectors and are in the same 2-dimensional plane, since they are constrained to be pairwise apart.
In an “integer” solution for this semidefinite program, all these discs would be constrained to be in the same 2-dimensional space and each angle of rotation of the discs would be constrained to be or , where each angle would correspond to a partition. In a solution to the above relaxation, these discs are no longer constrained to be in two dimensions.
In the rounding algorithm of Goemans and Williamson, we first pick a vector such that each entry is chosen according to the normal distribution . Then for each vertex , we project this vector onto its corresponding disc. This gives an angle in the range for each element . (Note that without loss of generality, we can assume that is the angle in the clockwise direction between the projection of and the vector .) We can envision the angles for each embedded onto the same disc. Then we randomly partition this disc into three equal pieces, each of length (i.e., we choose an angle and let the three angles of partition be and ). These three pieces correspond to the three sets in the partition.
The angle is the angle modulo . The probability that an edge is cut in this partitioning scheme is equal to if and 1 otherwise. In expectation, the angle is equal to . (This can be shown using the techniques in [GW95]. See Lemma 3 in [MN11].) But using the expected angle is not sufficient to obtain an approximation guarantee better than ; If angle is in expectation, then one third of the time it could be zero (not cut) and two thirds of the time it could be (cut). However, it contributes 1 to the objective function. The exact probability that edge is cut is:
[TABLE]
Therefore, we must compute for all . One of the main technical contributions of Goemans and Williamson [GW04] is that they compute the exact probability that for all . This can be found in Lemma 8 [GW04]. This enables them to compute the probability that an edge is cut, resulting in their approximation guarantee.
4 Algorithm for Max--Cut
As previously mentioned, we cannot model Max--Cut as an integer program directly using 2-dimensional discs as we do for Max-3-Cut, because any rotation corresponding to an angle of at least should contribute 1 to the objective function. Note that in the case of Max-3-Cut, there are two possible non-zero rotations in an integer solution: and and both of the contribute the same amount (i.e., 1) to the objective function. Since it seems impossible to penalize all angles greater than at the same cost, it seems similiarly impossible to model the problem directly with a complex semidefinite program.
We now present our approach for rounding the semidefinite programming relaxation for Max--Cut. After solving the semidefinite program, we obtain a set of vectors corresponding to each vertex . We can assume these vectors to be in dimension . Let represent the vector with zeros. For each vertex , we construct the following two orthogonal vectors:
[TABLE]
Each vertex now corresponds to a 2-dimensional disc spanned by vectors and . Specifically, this 2-dimensional disc consists of the (continuous) set of vectors defined for :
[TABLE]
Now that we have constructed a 2-dimensional disc for each element, we can use the same rounding scheme due to Goemans and Williamson described in the previous section: First, we choose a vector in which each coordinate is randomly chosen according to the normal distribution . For each , we project this vector onto the disc , which results in an angle , where:
[TABLE]
Note that we do not have to compute infinitely many dot products, since, for example, if , then:
[TABLE]
and the three other cases depending on the sign of and can be handled accordingly.
After we find an angle for each , we can assign each element to a position corresponding to its angle on a single disc and divide this disc (randomly) into equal sections of size . Specifically, choose a random angle and use the partition for all integers , where angles are taken modulo . These are the partitions of the vertices in the -cut.
5 Analysis
We prove that the distribution of the angle is the same as Lemma 8 of [GW04]. This implies that we can use the analysis that Goemans and Williamson use for Max-3-Cut to obtain an analogous approximation ratio for Max--Cut.
Lemma 1**.**
Given two sets of vectors and defined on , where
[TABLE]
Let denote the angle after the vector is projected onto and . Then for ,
[TABLE]
Proof.
Note that the set of vectors is 2-dimensional, since the angle between and for is . Thus, the rounding algorithm in Section 4 is well defined. Recall that each coordinate of the vector is chosen according to the normal distribution . Even though the vector has dimensions, we only need to consider the first four, . This vector is chosen equivalently to choosing uniformly in and according to the distribution:
[TABLE]
In other words, the vector is equivalent to:
[TABLE]
Let and let . We will show that the probability that for is:
[TABLE]
Lemma 8 in [GW04] shows this is equivalent to probability in (10).
First, let us consider the case when , or . Without loss of generality, assume that the projection of onto the 2-dimensional disc occurs at . Then we can see that
[TABLE]
In other words, we can assume that . As previously mentioned, is chosen uniformly in the range . However, if , then . If , then the projection of onto , namely (which equals in this case, because we have assumed that ), is less than . The probability that if is equal to the probability that:
[TABLE]
(See Figure 3 in [GW04].) If and , then the probability that is in is the probability that is in , which is . And the probability that is in is the probability that is in for . This is:
[TABLE]
However, since , we have:
[TABLE]
Thus for all , we have proved the expression in (11). In Lemma 8 of [GW04], they show that Equation (11) is equivalent to Equation (10) when . Then they argue by symmetry that Equation (10) also holds when .∎
Lemma 2**.**
Suppose for two unit vectors and . Let and be defined as in equation (9). Then, we can assume that:
[TABLE]
Proof.
From the definition (in Equation (9)) of , we can see that:
[TABLE]
Note that since each vector has zeros in the second half of the entries and each vector has zeros in the first half of the entries. If we compute using the assumption in the lemma, then we get the same dot product. Thus, the two sets are equivalent.∎
Since the distribution of the angle is the same, we can use the same analysis of [GW04] (generalized from to ) to prove the following Lemma. Although it is essentially the exact same proof, we include it here for completeness. As in Corollary 9 of [GW04], we define:
[TABLE]
In other words, is the probability that angle obtained by projecting onto the two discs and , correlated by , is less than .
Lemma 3**.**
Let and let be the integer assignment of vertex to its partition. Then the probability that the equation is satisfied is
[TABLE]
Proof.
[TABLE]
∎
Lemma 4**.**
Let . The probability that edge is not cut by our algorithm is:
[TABLE]
Proof.
In the case of Max--Cut, we set . By Lemma 3, we have the probability that edge is not cut is:
[TABLE]
[TABLE]
∎
Lemma 5**.**
Let . The probability that edge is cut by our algorithm is:
[TABLE]
Proof.
By Lemma 4 and the previously stated assumption that , we have:
[TABLE]
∎
Theorem 6**.**
The worst case approximation ratio of our algorithm for Max--Cut is:
[TABLE]
Proof.
As a function of in the range , the expression in Equation 14 is minimized when . Thus, if we do an edge-by-edge analysis, the worst case approximation ratio is obtained when for all edges . ∎
6 Another Rounding Algorithm
The algorithm presented in Section 4 can be restated as the following rounding scheme. Let and denote vectors in with pairwise dot product . In other words, and are the vertices of the simplex . Now take two random gaussians and set , . To assign the vertex to one of the three partitions, we simply assign it to such that is maximized.
We can generalize this approach by choosing random gaussians, . For each vertex , we obtain the vector in . This vector is assigned to the closest vertex of . Computationally, this rounding scheme seems to yield approximation ratios that match those of De Klerk et al.
7 Acknowledgements
Thanks to Moses Charikar, Anupam Gupta, R. Ravi and Madhur Tulsiani for helpful discussions and comments on the presentation.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[AEH 01] Gunnar Andersson, Lars Engebretsen, and Johan Håstad. A new way to use semidefinite programming with applications to linear equations mod p 𝑝 p . Journal of Algorithms , 39:162–204, 2001.
- 2[d KPW 04] Etienne de Klerk, Dmitrii V. Pasechnik, and Joost P. Warners. On approximate graph colouring and max- k 𝑘 k -cut algorithms based on the θ 𝜃 \theta -function. Journal of Combinatorial Optimization , 8(3):267–294, 2004.
- 3[FJ 97] Alan Frieze and Mark Jerrum. Improved approximation algorithms for max- k 𝑘 k -cut and max bisection. Algorithmica , 18(1):61–77, 1997.
- 4[GW 95] Michel X. Goemans and David P. Williamson. Improved approximation algorithms for maximum cut and satisfiability problems using semidefinite programming. Journal of the ACM , 42(6):1115–1145, 1995.
- 5[GW 04] Michel X. Goemans and David P. Williamson. Approximation algorithms for max - 3 3 3 - cut and other problems via complex semidefinite programming. Journal of Computer and System Sciences , 68:442–470, 2004.
- 6[Lin 09] Ai-fan Ling. Approximation algorithms for max 3-section using complex semidefinite programming relaxation. In Combinatorial Optimization and Applications , pages 219–230. Springer, 2009.
- 7[MN 11] Konstantin Makarychev and Alantha Newman. Complex semidefinite programming revisited and the assembly of circular genomes. In Proceedings of Innovations in (Theoretical) Computer Science (ICS) , pages 444–459, 2011.
- 8[ZH 06] Shuzhong Zhang and Yongwei Huang. Complex quadratic optimization and semidefinite programming. SIAM Journal on Optimization , 16(3):871–890, 2006.
