Local approximation of the Maximum Cut in regular graphs
\'Etienne Bamas, Louis Esperet

TL;DR
This paper investigates the limitations and possibilities of deterministic distributed algorithms for approximating the maximum cut in regular graphs, establishing bounds on approximation ratios achievable in constant rounds.
Contribution
It proves that no constant-round deterministic algorithm can achieve a constant approximation ratio for MAXCUT in regular graphs and introduces a one-round algorithm with optimal ratio for certain cases.
Findings
No constant-round deterministic algorithm achieves a constant approximation ratio in regular graphs.
A one-round deterministic algorithm achieves a 1/d approximation ratio for odd degree regular graphs.
Optimality of the 1/d approximation ratio in several scenarios.
Abstract
This paper is devoted to the distributed complexity of finding an approximation of the maximum cut in graphs. A classical algorithm consists in letting each vertex choose its side of the cut uniformly at random. This does not require any communication and achieves an approximation ratio of at least in average. When the graph is -regular and triangle-free, a slightly better approximation ratio can be achieved with a randomized algorithm running in a single round. Here, we investigate the round complexity of deterministic distributed algorithms for MAXCUT in regular graphs. We first prove that if is -regular, with even and fixed, no deterministic algorithm running in a constant number of rounds can achieve a constant approximation ratio. We then give a simple one-round deterministic algorithm achieving an approximation ratio of for -regular graphsā¦
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.
Local approximation of the Maximum Cut
in regular graphs
Ćtienne Bamas
School of Computer and Communication Sciences, Ćcole Polytechnique FĆ©dĆ©rale de Lausanne, Switzerland
Ā andĀ
Louis Esperet
Laboratoire G-SCOP (CNRS, Univ. Grenoble Alpes), Grenoble, France
Abstract.
This paper is devoted to the distributed complexity of finding an approximation of the maximum cut (MaxCut) in graphs. A classical algorithm consists in letting each vertex choose its side of the cut uniformly at random. This does not require any communication and achieves an approximation ratio of at least in expectation. When the graph is -regular and triangle-free, a slightly better approximation ratio can be achieved with a randomized algorithm running in a single round. Here, we investigate the round complexity of deterministic distributed algorithms for MaxCut in regular graphs. We first prove that if is -regular, with even and fixed, no deterministic algorithm running in a constant number of rounds can achieve a constant approximation ratio. We then give a simple one-round deterministic algorithm achieving an approximation ratio of for -regular graphs when is odd. We show that this is best possible in several ways, and in particular no deterministic algorithm with approximation ratio (with ) can run in a constant number of rounds. We also prove results of a similar flavour for the MaxDiCut problem in regular oriented graphs, where we want to maximize the number of arcs oriented from the left part to the right part of the cut.
Keywords. Maximum Cut, Approximation algorithm, Distributed algorithm, Regular graphs.
An extended abstract of this work appeared in the proceedings of the 45th International Workshop on Graph-Theoretic Concepts in Computer Science (WG), 2019.
Partially supported by ANR Projects GATO (anr-16-ce40-0009-01) and GrR (anr-18-ce40-0032), and LabEx PERSYVAL-Lab (anr-11-labx-0025).
1. Introduction
Although the maximum cut problem (MaxCut) is fundamental in combinatorial optimization, it has not been intensively studied from the perspective of distributed algorithms. The folklore algorithm consisting in choosing uniformly at random one side of the cut for each vertex of a graph can however be seen as a distributed randomized algorithm with no rounds of communication. By the linearity of expectation, this algorithm gives a cut (a bipartition of the vertex set) of size at least in expectation, where is the number of edges of . Here, by the size of the cut, we mean the number of edges connecting the two parts of the bipartiton. Since every cut in contains at most edges, this algorithm has approximation ratio at least in expectation, which means that the size of the cut given by the algorithm is at least of the size of the maximum cut in expectation.
A natural question is whether a better approximation ratio can be obtained if more rounds of communications are allowed. This question was answered positively by Shearer [28] in the case of triangle-free -regular graphs. A -regular graph is a graph in which every vertex has degree . In the case of triangle-free -regular graphs, Shearer gave a simple randomized algorithm finding a cut of size at least in expectation, and thus achieving an approximation ratio of in expectation. Shearerās algorithm uses a single round of communication, messages consisting of a single bit, and at most 3 random bits per vertex. This was recently improved by Hirvonen, Rybicki, Schmid and Suomela [16], who obtained a simpler algorithm finding a cut of size at least in expectation. Their algorithm uses a single round of communication, messages consisting of a single bit, and a single random bit per vertex.
The case where is small and the girth (length of a shortest cycle) is large has also been considered: for 3-regular graphs, KardoÅ”, KrĆ”lā and Volec [17] showed that when the girth is at least 637789, there exists a randomized distributed algorithm that outputs a cut of average size at least in at most 318894 rounds (the important value here is the size of the cut). This was improved by LyonsĀ [20], who proved a lower bound of for cubic graphs of girth at least 655. The best known lower bound for cubic graphs of large girth, , was proved by Gamarnik and LiĀ [10], using a result of Csóka, GerencsĆ©r, Harangi, and VirĆ”gĀ [5]. The bound of LyonsĀ [20] holds for any -regular graphs of large enough (but constant) girth: such graphs have a cut of size at least . On the other hand, Dembo, Montanari and SenĀ [7] showed that in random -regular graphs, the maximum cut has size with high probability, proving a conjecture ofĀ [10]. The existence of this constant is also connected to a conjecture of Hatami, LovĆ”sz and SzegedyĀ [15] on limits of sparse graphs (see also the conclusion ofĀ [26] where the conjecture is strongly disproved for maximum independent sets, improving on an earlier result ofĀ [11]).
All the results mentioned above (except the result of Gamarnik and LiĀ [10])111Their algorithm has two phases: The first consists in finding a large bipartite induced subgraph (this can be done in a constant number of rounds), and the second phase greedily assigns each remaining vertex to the side of the bipartition where it has fewer neighbors (it is unlikely that this greedy procedure can be performed in a constant number of rounds, and at least TheoremĀ 2.2 shows that it cannot be performed in a constant number of rounds when there are no restrictions on the girth). can be translated into algorithms working in the CONGEST model in a constant number of rounds. In this model, each node of the graph corresponds to a processor with infinite computational power and has a unique ID (each ID is an integer between 1 and , where denotes the number of vertices in the graph). Nodes can communicate with their neighbors in the graph in synchronous rounds until each node outputs 0 or 1, corresponding to its side in the cut. In the CONGEST model, each message sent by a node to a neighbor has size , while in some of the algorithms above, the messages have size at most 1. Let us call the variant of the CONGEST model in which messages are restricted to have size at most (instead of ), and let us say that an algorithm is local in a model if it runs in a constant number of rounds in this model. In particular the results ofĀ [16, 17, 28] mentioned above can be translated into local algorithms in the CONGEST() model, while the results ofĀ [5, 20] can be translated into local algorithms in the CONGEST model.
Note that some of our lower bounds are also valid in the less restricted LOCAL model where the size of each message is not limited. In the following, we will make it clear if this applies. On the other hand, all our algorithms can be implemented in the PO model (anonymous network with port numbering and orientations), whose assumptions are significantly weaker than the CONGEST model (seeĀ [14] for some results on local algorithms in PO and CONGEST).
We now review recent results on distributed approximation of MaxCut. On the deterministic side, Censor-Hillel, Levy, and Shachnai [3] designed a deterministic -approximation that runs in rounds in the CONGEST model on any graph of maximum degree at most . More recently, Kawarabayashi and Schwartzman [18] improved the complexity for constant factor approximation by providing a deterministic -approximation that runs in rounds (for any ), in the CONGEST model. However, no deterministic local approximation for MaxCut (i.e.Ā running in a constant number of rounds) in the CONGEST model is known.
There is a similar gap between randomized and deterministic approximations for the maximum directed cut problem. Censor-Hillel, Levy, and Shachnai [3] provided a deterministic algorithm running in rounds that guarantees a -approximation as well as a randomized -approximation with the same round complexity. The round complexities were improved by Kawarabayashi and Schwartzman [18] who provided a deterministic -approximation running in rounds as well as a randomized -approximation in rounds. All these results are stated in the CONGEST model. Similarly, no deterministic local algorithm is known to achieve a constant factor approximation for this problem.
1.1. Our results
Our work focuses on bridging the gap between extremely efficient randomized local algorithms and slower deterministic algorithms for MaxCut. It should be noted that there are generic tools to derandomize distributed algorithms (seeĀ [4, 12] for recent results in this direction) but existing techniques mainly apply to locally checkable problems (problem for which a solution can be checked locally), which is not the case for (approximations of) MaxCut.
In Section 2 we show that any deterministic algorithm that guarantees a constant factor approximation for MaxCut on the class of bipartite d-regular graphs when is a (constant) even integer requires rounds, which matches the complexity of the algorithm of Kawarabayashi and Schwartzman [18] mentioned above. When is odd, we show that one cannot achieve an approximation ratio better than in a constant number of rounds. Our proofs use an elementary graph construction and then apply Ramseyās theorem [27]. Both of these arguments are not new in distributed algorithms: our construction is inspired by Linialās seminal paper [19] that provides a lower bound on the round complexity of coloring cycles and by a more recent paper by Ć strand, Polishchuk, Rybicki, Suomela, and Uitto [1] which applies Ramseyās theorem in a similar setting to prove that there is no deterministic and local constant factor approximation for the maximum matching problem. Note that similar arguments were also used by Czygrinow, Hanckowiak, and WawrzyniakĀ [6] to prove lower bounds for the approximation of maximum independent sets in cycles. Our results hold for any -regular graph ( is not necessarily equal to 2), so some additional work needs to be done compared to the simple case of cycles.
In Section 3, we show that this barrier of when is odd is sharp: we first remark that a result of Naor and Stockmeyer [24] on weak 2-coloring of graphs directly gives a deterministic local algorithm that guarantees a -approximation. We then provide a much simpler and faster deterministic local algorithm achieving the same approximation ratio. It runs in a single round with messages of size and we show that this cannot be improved.
For the Maximum Directed Cut problem in -regular graphs, we prove that a similar situation occurs. If is even, a constant factor approximation cannot be achieved in rounds, and if is odd, no -approximation can be achieved in rounds (for any ). On the other hand, if is odd, a -factor approximation can be achieved in 0 rounds, and a -factor approximation can be achieved in 2 rounds. Note that there is a small gap between the lower bounds and the upper bound of , and we explain some obstacles towards closing the gap.
Our results imply that while finding a constant factor approximation for the (directed) maximum cut problem in regular graphs of even degree does not require any communication for randomized distributed algorithm (i.e.Ā it can be solved in 0 rounds), for deterministic algorithms an unbounded number of rounds is needed in this case. Note that this separation is not possible for locally checkable problems (see Theorem 3 inĀ [4]). The (perhaps) surprising aspect is that in the case of regular graphs of odd degree, the problem can be solved by a deterministic algorithm without communication (if some orientation is given).
Note that another example of a non locally checkable problem with such a separation between the randomized and deterministic complexities was given in [12]. Their problem consists in marking vertices of an -cycle; the randomized version can also be solved in 0 rounds, while the deterministic version needs rounds.
1.2. Definitions
A cut in a graph is a bipartition of its vertex set . We usually refer to and as the left side and the right side of the cut, respectively. The size of a cut is the number of edges with one end in and the other in . The MaxCut problem in a graph consists in finding a cut in whose size is maximum.
Given an oriented graph , a directed cut is again a bipartition of the vertex set of , and the size of the directed cut is the number of arcs with their tail in and their head in . The MaxDiCut problem in an oriented graph consists in finding a directed cut in whose size is maximum.
Our results in this paper mainly concern -regular graph, i.e.Ā graphs in which each vertex has degree . When we refer to an oriented -regular graph , we mean that the underlying unoriented graph is -regular (the out-degrees can be arbitrary).
For an integer , the tower function is the function defined as and for . The iterated logarithm of an integer , denoted by is defined as 0 if , and as otherwise (here and everywhere else in the paper, denotes the base 2 logarithm). The following can be easily derived by induction on .
Claim 1.1**.**
For any :
[TABLE]
2. Deterministic constant factor approximation in regular graphs
As mentioned in the introduction of this paper, Kawarabayashi and Schwartzman [18] provided a deterministic approximation algorithm running in rounds for both problems studied here. In this section, we show using simple arguments based on bounds on Ramsey numbers that their bound is best possible.
Let . The -color Ramsey number is the minimum such that in any -coloring of the -element subsets of , there is an -element subset of such that all -element subsets of have the same color (seeĀ [23] for a recent survey on Ramsey numbers).
Theorem 2.1** ([9, 8]).**
There exists such that for any positive integers , , and , we have .
We will also need two simple constructions of -regular bipartite graphs.
First we assume that is even. We consider a cycle of size , with even, and then add an edge between each pair of vertices that are at distance exactly in for every . This graph, which we denote by , is certainly bipartite (the bipartition corresponds to the vertices at even distance from some arbitrary vertex in , and the vertices at odd distance from this vertex). See figure 2 for an example of this graph. By a slight abuse of notation, we say that two (or more) vertices of are consecutive if they are consecutive in . Similarly, when we refer to the clockwise order around , we indeed refer to the clockwise order around .
Assume now that is odd. We take two disjoint copies of and assume that the vertices of the cycle in the first copy are , in clockwise order, and the vertices of the cycle in the second copy are in clockwise order. We then connect and by an edge, for any (and we say it what follows that and are matched). This graph, which we denote by , is clearly bipartite and -regular, see Figure 2 for an example.
We are now ready to state the main result of this section.
Theorem 2.2**.**
Let be a fixed integer.
- ā¢
If is even, then any deterministic algorithm in the LOCAL model that guarantees a constant factor approximation for MaxCut on the class of bipartite -regular -vertex graphs runs in rounds.
- ā¢
If is odd, then for any , any deterministic -approximation algorithm in the LOCAL model for MaxCut on the class of bipartite -regular -vertex graphs runs in rounds.
Note that since the LOCAL model is less restrictive than the CONGEST model, this theorem is also valid in the CONGEST model.
Proof.
We prove the two cases of the theorem separately starting with even:
Let be an even integer and assume that there exists a local deterministic algorithm A running in rounds and guaranteeing a -approximation for some fixed , with to be defined later. Note that since A runs in rounds, the output of a vertex in only depends on the IDs of the vertices at distance at most from in , and thus at distance at most of in (more precisely, since the subgraph induced by each ball of a given radius is the same, the output of a vertex only depends on the sequence of the IDs of its neighbors at distance in , in clockwise order).
Consider a subset of , with , and assume that consecutive vertices of (in clockwise order) have IDs , in this order. In what follows, we identify each vertex of with its ID. We now set , and start by proving the following claim (recall that is the approximation ratio of A):
Claim 2.3**.**
If , at least edges of have both endpoints in .
Proof.
Count the edges by the length of the jump they make around the cycle . For a jump of size , there are more than such edges. Summing for odd from to we obtain at least
[TABLE]
edges that have both endpoints in . When , this is at least , which proves the claim. ā
Consider some -element subset of , with . We assign the IDs (in this order) to consecutive vertices of , in clockwise order, and look at the output of the vertex with ID (call it ) given by the algorithm A. Note that this output only depends on . If joins the left side of the cut (according to A), we color the set with color 0 and otherwise with color 1.
Consider again a subset of , with , and assume that consecutive vertices of (in clockwise order) have IDs . It follows from the definition of that if , all the vertices at distance at most from in are in . This implies that if all -elements subsets of are assigned the same color in the coloring defined above, all the vertices of choose the same side of the cut.
We can now apply TheoremĀ 2.1 with as defined above and satisfying the condition of Claim 2.3. Let be given by TheoremĀ 2.1. We now let be the smallest even integer which is greater than and consider . Observe that by ClaimĀ 1.1, . Since is a fixed constant, it follows that we have , as desired.
By TheoremĀ 2.1, there is an -element subset of such that all -elements subsets of have the same color. As long as there are more than remaining labels, we repeatedly apply TheoremĀ 2.1 and thus find disjoint -element subsets of , with the same property (for each , all -elements subsets of have the same color), until contains fewer than elements. We write each set as , with .
Finally, we assign these IDs to consecutive vertices in clockwise order around :
[TABLE]
By Claim 2.3, the subgraph induced by each contains at least edges for all , and it follows from TheoremĀ 2.1 and our coloring of the -elements sets that for each , all vertices in choose the same side of the cut.
Since , by running algorithm A on this particular labelling of , at least
[TABLE]
edges are not in the cut (the last inequality uses the fact that ). Thus, there are strictly less than edges in the cut. Since is bipartite and -regular, the optimal cut contains edges (i.e.Ā all the edges are in the cut). This proves that A cannot be a -approximation, yielding a contradiction.
Assume now that is odd and that an algorithm B achieves a -approximation for some in rounds. We proceed as before except that instead of considering vertices one by one, we consider pairs of vertices that are matched in the construction of , the graph that will be used here. Similarly as before, a matched pair cannot see more than labels away. Set , and consider consecutive vertices (in clockwise order) on the outer cycle of . For each , let be the neighbor of on the inner cycle. This implies that are consecutive (in clockwise order) on the inner cycle.
Fix an arbitrary -element subset , with . For each assign the ID to and the ID to . Since the sides of the cut chosen by and its neighbor are entirely determined by the set , we can color each set with the pair such that chooses side and chooses side (again we associate the left side of the cut with 0, and the right side of the cut with 1).
By exactly the same argument as in Claim 2.3, we can take even and large enough so that at least edges are not in the cut in both copies of , for any fixed . By TheoremĀ 2.1 (with ), there is an integer such that for all , there is a -element subset of with such that all -element subsets of have the same color. We take even and repeatedly apply TheoremĀ 2.1 as before, obtaining -element subsets . We then assign the elements of each to consecutive vertices in clockwise order in (the smaller elements of are assigned to the vertices of the outer cycle, and the larger elements are assigned to their corresponding neighbors in the inner cycle). As before, the fact that all -elements subsets of have the same color implies that on the portion of corresponding to , all the vertices of the outer cycle (except at the boundary) choose the same side of the cut, and all the vertices of the inner cycle (except at the boundary) choose the same side of the cut (but and might be different).
This ensures that on each copy of , at least
[TABLE]
edges are not in the cut after running algorithm B. It follows that in , at least edges are not in the cut. Since is bipartite and contains exactly edges, this shows there are less than edges in the cut, which is a -fraction. Setting , this fraction is less than , which is a contradiction. ā
A direct consequence of our theorem is the following corollary that matches the round complexity obtained by Kawarabayashi and Schwartzman [18]:
Corollary 2.4**.**
Deterministic constant factor approximation on general graphs for MaxCut in the LOCAL model requires rounds.
2.1. Directed cut
In this section, we consider the similar problem MaxDiCut where edges are oriented and we only count the edges going from the left side of the cut to the right side. We can prove similar bounds on the quality of the solution one can hope to achieve by simply orienting our lower bound graphs and : we will define as the same graph as where we orient all the edges in clockwise order. Similarly, is obtained from by orienting all the edges in clockwise order on both the inner and outer cycle, and all the edges in the remaining perfect matching from the outer cycle to the inner cycle. We can again apply Ramseyās theorem as in the proof of Theorem 2.2 to obtain the following result :
Theorem 2.5**.**
Let be a fixed integer.
- ā¢
If is even, any deterministic algorithm that guarantees a constant factor approximation for MaxDiCut on the class of -regular bipartite -vertex oriented graphs requires rounds in the LOCAL model.
- ā¢
If is odd, then for any , any deterministic -approximation of MaxDiCut on the class of -regular bipartite -vertex oriented graphs requires rounds in the LOCAL model.
We note a slight difference with TheoremĀ 2.2 in the case where is odd. In TheoremĀ 2.5 the approximation ratio is only bounded by , instead . This happens because with our definition of , one can check that the optimal directed cut is of size instead of in the undirected case.
3. Matching the approximation ratio when is odd
3.1. Weak-coloring
In a landmark paper, Naor and StockmeyerĀ [24] addressed the issue of what can or cannot be computed locally. In particular, they proved one result that is relevant in our case.
A weak coloring of a graph is a coloring of its vertices such that each vertex has at least one neighbor with a different color. Observe that a weak coloring using only colors is a -approximation of the MaxCut problem when the graph is -regular. Let be the class of graphs of maximum degree where the degree of every vertex is odd. Naor and Stockmeyer proved the following theorem.
Theorem 3.1** ([24]).**
There is a constant such that, for every , there is a deterministic algorithm with round complexity in the CONGEST model that solves the weak -coloring problem in the class .
As discussed above, this result directly implies that one can produce a local deterministic -approximation of the MaxCut problem on -regular graphs. However, the result given here is much stronger than what we are looking for as in this case every vertex has at least one incident edge in the cut. A natural question is whether a faster algorithm (of round complexity that does not depend on ) exists for the MaxCut problem on -regular graphs with odd. In the next section, we prove that such an algorithm exists.
3.2. A simpler and faster algorithm
Consider the following algorithm: every vertex collects the list of IDs of its neighbors, then chooses its side of the cut depending on whether the median value of this list is higher or lower than its own ID. We call this algorithm the median algorithm. It runs in a single round and we prove the following theorem:
Theorem 3.2**.**
When the input is a -regular graph on vertices, with odd, the median algorithm finds in 1 round a -approximation for the MaxCut problem in the CONGEST model.
We will actually give two different proofs of this result (i.e.Ā TheoremĀ 3.2 will be a direct consequence of TheoremĀ 3.3, which we proved next, but also of TheoremĀ 3.8, which will be proved in SectionĀ 3.3).
Theorem 3.3**.**
When the input is a -regular graph on vertices, with odd, the median algorithm outputs in 1 round (in the CONGEST model) a cut of size at least .
Proof.
Let be a -regular graph. In the proof, we say that a vertex is colored [math] or by the median algorithm if it is assigned to the left side or the right side of the cut (respectively). We define the boundary of a subgraph of as the set of edges of that have exactly one endpoint in this subgraph. For every subset we denote by the subgraph induced by and the boundary of .
We now orient each edge of from the vertex of lower ID to the vertex of higher ID: it can be observed that the median algorithm assigns color [math] to vertices that have more outgoing edges than ingoing edges and side when it is the opposite. We also note that this orientation is acyclic, which is the key property that will be used in this proof.
A monochromatic component is a connected component of the subgraph of induced by one of two sides of the cut. We now prove the following two simple claims.
Claim 3.4**.**
After running the median algorithm, any subset of a monochromatic component contains a vertex with at most neighbors in .
Assume for the sake of contradiction that any vertex of has at least neighbors in . Since the orientation of is acyclic, there must be a sink and a source. It follows that one has outdegree at least , and the other has indegree at least . By definition of the median algorithm, the source and the sink must be on different sides of the cut, which contradicts the fact that is monochromatic. This concludes the proof of ClaimĀ 3.4.
Claim 3.5**.**
After running the median algorithm, for every monochromatic component of size , contains at least edges if , and at least edges otherwise.
Let be a monochromatic component of of size . Following Claim 3.4, one can order the vertices of such that for all , has at most neighbors in . If , it follows that there are at most edges in . But is -regular, therefore we have in this case:
[TABLE]
which implies .
If , contains at most edges, and a similar computation shows that . This concludes the proof of ClaimĀ 3.5.
Finally, let be the larger side of the cut output by the median algorithm, i.e. . Observe that the boundary is the union of the boundaries of the connected components of (since there are no edges between two such components). If at least one of these components has size at least , then it follows from Claim 3.5 that , as desired. Otherwise all connected components of have size at most , and it follows from Claim 3.5 that , since (recall that is -regular, and thus contains at least vertices). This concludes the proof of TheoremĀ 3.3. ā
Since a -regular graph has edges, we conclude that the median algorithm gives a -approximation for the maximum cut when is odd, which proves TheoremĀ 3.2.
FigureĀ 3 gives an example of labelling of for which the median algorithm gives a cut of size . This shows that our analysis of the median algorithm in TheoremĀ 3.2 is close to being best possible.
Another interesting aspect of TheoremĀ 3.3 is that it shows that in (the second item of) TheoremĀ 2.2, it is crucial that is a fixed constant (independent of ). Indeed, if , then and thus the median algorithm achieves a -approximation, for some . This is impossible when is a constant, as shown by TheoremĀ 2.2.
The median algorithm is based on finding an (acyclic) orientation of the input graph. Here, we do it by simply orienting the edges from the end with lower ID to the end with higher ID. This costs a single round of communication, with messages of size (since vertices have to send their ID to their neighbors). It follows that in the more restricted model, where messages have size at most , our algorithm takes rounds (here and in the remainder, we omit floors and ceilings whenever they are not necessary in the discussion). In particular, if only messages of size 1 are allowed, our algorithm takes rounds.
A natural question is whether this can be improved. We now argue that it cannot be improved in general if the algorithm is based on some orientation in the graph. Consider the case where contains an isolated edge (two adjacent vertices of degree 1 in ) and we want to construct some orientation of (and in particular of the edge ) in the model (that is with messages of size 1). It seems that the argument below is not original, but we have not been able to find a written source.
Observe that at each round of communication, the message sent by each of only depends on its ID and the bits received from its neighbor at previous steps. At the first round, at least half of the IDs (call this set ) would send the same bit, say , to their neighbor. At the next round, at least half of the IDs of , upon receiving , would sent the same bit to their neighbor, say . We continue this process by constructing sets and bits for any as above (except that for the final round, we define as the bit output by the vertices, instead of the bit sent to the neighbor). If we use less than rounds of communication, we can find two distinct IDs in the last set such that if we assign these IDs to and , these two vertices will output the same bit , and therefore they will not be able to deterministically agree on an orientation of the edge . Actually the result holds even if randomization is allowed and we want and to agree on some orientation of the edge with high probability.
This remark leads us to a similar result for approximating MaxCut in regular graphs. We prove the following:
Theorem 3.6**.**
Let for odd. Any deterministic constant factor approximation of MaxCut on the class requires at least rounds in the model.
Proof.
Assume that an algorithm A achieves a -approximation () on the class of -regular graphs in at most rounds (with ).
Assume first that we have a bipartite -regular with edges and consisting of connected components of size , labelled , and in which each vertex has the same āviewā at distance (i.e.Ā the balls of radius centered in each of the vertices are isomorphic). We argue, in the same way as above, that we can choose labels such that during rounds, every vertex in outputs the same bit. More precisely, for each round , each vertex of outputs the same bit . We proceed similarly for with : this is possible since before labelling () there are at least available labels.
Hence, we give a labelling of such that during rounds (and in particular, at the end of the algorithm), all the vertices in each given connected component output the same bit. In particular no edge of appears in the cut, which implies that at most edges appear in the cut. Since every component is bipartite, the maximum cut contains edges, which contradicts the hypothesis that A achieves a -approximation.
We then show that this proof can be adapted to the case of or (depending on the parity of ). Partition the graph into sets of vertices that appear consecutively in the clockwise order around the cycle(s): (each of size ). As before, we can label such that during rounds, the output bit of every vertex of is the same (for every ). When A runs on the graph, a small perturbation of the output bit may appear on the boundary of each , therefore the output bit of vertices near the boundary is not guaranteed to be the same anymore. However, this does not hurt us since we run the algorithm for rounds therefore the perturbation can reach at most vertices in every . Therefore, in each at least vertices have the same output during rounds (and in particular, the same output at the end of the algorithm). This implies there are at least vertices that have the same output as their neighbors at the end of the algorithm. It follows that the cut output by the algorithm has size at most , while the maximum cut has size , which contradicts the definition our initial assumption that that A achieves a -approximation. ā
Note that the randomized, high probability version of TheoremĀ 3.6 does not hold. More precisely, we can show that the trivial randomized -approximation indeed produces a constant factor approximation with high probability on the class of regular graphs in the model. This is certainly a classic result but we have not been able to find it in the literature.
Theorem 3.7** (folklore).**
For any , the folklore algorithm produces a -approximation with high probability on the class of -vertex graphs with degrees bounded by a constant, and edges (and in particular in the class of -regular graphs of sufficiently large size).
Proof.
Let be a graph of maximum degree containing edges. By Vizingās Theorem, has a -edge-coloring, i.e.Ā a partition of its edge-set into matchings . Assume that , and discard all the matchings such that , for some whose value will be fixed later in the proof. Note that the remaining matchings satisfy . Recall that the folklore algorithm assigns each vertex to one of the two sides of the cut, uniformly at random. Note that for each matching , and for any two edges , the events that and are in the cut are independent.
We now recall the following Chernoff bound (see e.g.Ā Chapter 5 inĀ [21]): For any , , where denotes the binomial distribution with parameters and . Thus, for each , it follows that with probability at least , at least edges of are in the cut output by the algorithm, for some absolute constant . Using the Union bound, with probability at least the cut output by the algorithm contains at least
[TABLE]
edges. Setting yields the desired result (recall that and thus such an exists). ā
3.3. Directed cuts
Given a bipartition of an oriented graph , the set of arcs oriented from to (the directed cut from to ) is denoted by . The maximum cardinality of a directed cut in is denoted by .
Let be an oriented graph. For each vertex , we define the deficit of as , where and denote the out-degree and in-degree of , respectively. We define the sign of a vertex as the sign of , and we say that that a vertex is positive or negative accordingly. The set of positive vertices is denoted by and the set of negative vertices is denoted by . Note that if all the vertices of have odd degree (in particular if is -regular with odd), then every vertex is positive or negative and this case form a bipartition of the vertex set of .
Note that the median algorithm described in the previous subsection can be rephrased as: find an acyclic orientation of and then choose the cut with respect to this orientation. Our second proof of TheoremĀ 3.2 will be a direct consequence of the following general result (which proves that not only the cut, but also the directed cut between and has size at least , and that the original orientation does not need to be acyclic).
Theorem 3.8**.**
Let be an -vertex oriented -regular graph with odd, and let and be defined as above. Then the directed cut contains at least arcs.
Proof.
We write and , and set . Observe that counts the number of arcs of and once, while the arcs of are counted twice. Since contains arcs, it follows that
[TABLE]
This proves that the directed cut output by the algorithm has size at least , which readily implies TheoremĀ 3.2.
We now consider an optimal directed cut of (i.e.Ā a directed cut of cardinality ), and define as the set of vertices (see FigureĀ 4 for an illustration). Note that each arc of which is not incident to a vertex of is also an arc of . Since the vertices of have out-degree at most and the vertices of have in-degree at most , we have
[TABLE]
Now observe that
[TABLE]
[TABLE]
This implies
[TABLE]
It follows from (2) that , which we can plug into (3) to obtain:
[TABLE]
It directly follows from (1) that and plugging it into the previous inequality, we obtain:
[TABLE]
and finally:
[TABLE]
as desired. ā
From now on, we call the 0-round algorithm resulting from TheoremĀ 3.8 the oriented median algorithm. The factor might seem a little surprising, but it turns out to be sharp, in the following sense: there are -regular oriented graphs for which the oriented median algorithm outputs a cut of size precisely . To see this, take to be a multiple of , and take 4 sets of vertices as in FigureĀ 5. Each set is an independent set, and its size is times the fraction indicated in the figure (for instance and both contain vertices). The arc labelled between and indicates that we add arcs joining to , and similarly for the arcs joining and , and the arcs joining and ). It can be checked that the number of arcs incident to each set is precisely times the size of the set, so the graph can be made -regular (and we can make sure that the out-degree of each vertex is equal to the average out-degree of its part, for instance the vertices of have out-degree , so they lie in ). It can also be checked that the directed cut output by the algorithm, , has cardinality (the arcs joining to ), while the optimal directed cut contains arcs.
So the problem does not come from the analysis of the algorithm, but rather from the algorithm itself, which is unable to detect the kind of structure depicted in FigureĀ 5.
To overcome this issue and close the gap with the bound, one might be tempted to consider local improvements. In the following, a vertex will be stable if it has at least one neighbor on the other side of the cut. Otherwise it will be unstable. We now consider the following simple algorithm: at every round, every unstable vertex changes side. The algorithm stops when all vertices are stable. As we can see, the running time (and even the termination) of this algorithm is highly dependent on the starting point: for instance if all vertices start on the same side of the cut, then the algorithm never ends. When we perform one round of this algorithm, we say that we perform a flip (as this algorithm can be seen as a variant of the well known FLIP algorithm that is further discussed in the conclusion).
Even though this algorithm may never end, we will prove shortly that if we take as starting point the cut given by the oriented median algorithm (that gives a -approximation in 0 rounds) and perform flips, we then improve slightly on the approximation ratio of .
We first explain some useful properties of stability, as defined above.
Claim 3.9**.**
Once a vertex is stable, it remains stable after any number of flips.
Proof.
Simply notice that if a vertex is stable, then it has a neighbor on the other side of the cut and must be stable too. If or become unstable then one of them becomes unstable while the second one is on the other side of the cut, which is impossible. ā
Claim 3.10**.**
Once an edge is in the directed cut, it remains in the directed cut after any number of flips.
Proof.
Any edge in the directed cut joins two stable vertices, and thus remains in the cut after any number of flips. ā
We define to be the number of edges in the directed cut after flips. We take the notation defined in the proof of TheoremĀ 3.8: and are the sets of vertices of positive and negative deficit, respectively, is the size of the dicut given by the oriented median algorithm (running in 0 rounds), is the size of the maximum dicut, , and is the set of vertices whose side differ in and in some fixed maximum dicut .
By Claim 3.10, we have that for any . Using this, a simple modification of the proof of TheoremĀ 3.8 shows the following:
Claim 3.11**.**
Assume we have the following inequalities for some :
[TABLE]
[TABLE]
then
[TABLE]
The following claim immediately holds as well:
Claim 3.12**.**
For any, , such that , .
More precisely, for any ,
[TABLE]
and for any ,
[TABLE]
Proof.
Notice that, for any , , and . This immediately proves the first claim.
For the second claim, by previous calculations we can set and compute:
[TABLE]
Clearly, if , then the minimum is reached for and . And if then the minimum is reached for and . ā
Knowing these claims, we now prove that is greater than some with . To show this, we need to prove refined versions of inequalities (2) and (3).
Recall the proof of inequality (2) (): Start with some optimum cut and remove the edges of the cut leaving and the edges entering . By definition we remove at most edges, which implies (2).
Let be the set of edges with one end in and the other in , or with one end in and the other in , or between two vertices of , or between two vertices of . We claim that
[TABLE]
To see this, observe that the only edges of that are in the optimum cut are the edges going from to , and these are counted twice on our computation. The remaining edges of are counted once in or but not in .
We denote the stable and unstable vertices (with respect to ) by and , respectively.
Let be the set of edges directed from to , or from to . Observe that each such edge is added to the cut after one flip and thus
[TABLE]
Let be the set of vertices that are unstable after 1 flip. Consider by symmetry the subset of that lie on the right side of the cut. These vertices were in (i.e.Ā on the left side of the cut) before the first flip. Since each vertex of has deficit at least 1, the sum of the deficits of the vertices of is at least and thus the number of edges leaving is at least . After one flip, by definition of , all these edges are directed toward stable vertices on the right side of the cut. It follows that after a second flip, all these edges join the cut, and thus
[TABLE]
We now focus on finding a refined version of inequality (3) (which states that ). Let be the set of edges between two vertices of , or between two vertices of . Note that each edge of is counted in but does not appear in , thus we obtain
[TABLE]
If we denote by the set of vertices of with deficit larger than 1 in absolute value (in other words, with deficit at least 3 or at most ), the two main inequalities can be slightly refined as
[TABLE]
[TABLE]
We are now ready to prove the following.
Theorem 3.13**.**
Assume that is odd. Then the 2-round algorithm consisting of the oriented median algorithm followed by two flips provides a -approximation for the MaxDiCut problem in -regular graphs.
Proof.
We use the notation defined in this section. Let be the set of vertices of (i.e.Ā the subset of vertices of of deficit 1 in absolute value) that are not incident to any edge of or . In particular all the vertices of are unstable, and their in-degrees and out-degrees are or .
Assume first that , with . Note that for every , all the neighbors of are in , on the same side of the cut as (with respect to ). Since is unstable and not incident to any edge of , all the in-neighbors of are unstable as well. It follows that . Let be the subset of vertices that have a stable out-neighbor in (if ) or a stable in-neighbor in (if ). Since stable vertices of are in , we have , and thus
[TABLE]
by definition of . Note that each vertex is unstable, so all its neighbors are on the same side as . Consider by symmetry the case . By definition, has no stable out-neighbor in . If has a stable in-neighbor , then the edge is in . If has a neighbor , then the edge is in . If none of these cases occur, then all neighbors of are in , and are unstable. It follows that is in , the set of vertices that are still unstable after 1 flip. It follows that
[TABLE]
Using inequalities (6) and (8) together with ClaimsĀ 3.11 and 3.12, we obtain that with and .
Assume now that . In this case, it means that at least vertices are in (i.e.Ā have deficit at least 3 in absolute value) or are incident to an edge of or . It follows that
[TABLE]
and thus with and .
In both cases we obtain with and . It follows from Claim 3.12, that . ā
TheoremĀ 3.13 proves that after 2 flips, we can slightly improve on the approximation ratio of TheoremĀ 3.8. A natural question is whether the same can be achieved after a single flip. The construction of FigureĀ 6, which is a refinement of the construction of FigureĀ 5, shows that it is not the case: if we apply the oriented median algorithm and then perform a single flip, the size of the cut does not change (it remains ).
4. Conclusion
4.1. FLIP
In SectionĀ 3, we have designed a very simple one-round algorithm approximating MaxCut in regular graphs (with odd degrees). Once a solution has been obtained, it might be tempting to run a few more rounds of computation to see if the solution can be improved locally.
We have already seen a simple way to improve the quality of a solution (by moving the so-called unstable vertices to the other side of the cut), but the notion of stability we used was specifically designed to improve the approximation ratio in a small number of rounds. Another simple way to locally improve a cut (in the sequential setting this time) is to take a vertex with more neighbors in its own part than in the other part, and change its side. If this is done until no such vertex exists, the resulting cut is maximal, and in this case is a -approximation of the maximum cut. This operation, called FLIP, has been studied for a long time. When the edges are weighted, it was proved by PoljakĀ [25] that any sequence of FLIPs takes only polynomially many steps before reaching a maximal cut in cubic graphs, while Monien and TscheuschnerĀ [22] proved that there are graphs of maximum degree 4 for which a sequence of FLIPs can take exponentially many steps to reach a maximal cut. In the unweighted case however, since each flip improves the cut by at least one, the maximum number of flips before reaching a maximal cut is bounded by the number edges (which is linear in in bounded degree graphs). In the distributed framework, it might be tempting to consider running some rounds of the distributed FLIP dynamics: at each round, each vertex with more neighbors in its own part than in the other part changes side. The graph constructed in the previous sections shows that it might not be helpful at all: if all the vertices of the outer cycle are in one side of the cut, and all the vertices of the inner cycle are on the other side of the cut, then at each round, all the vertices of the graph would change side, not improving the solution.
It might be worth noting that in our application of the median algorithm, not all vertices of the outer cycle of are on the same side of the cut (given the bad labelling of FigureĀ 3): due to some side-effects, roughly vertices in the outer cycle are not on the same side of the cut as the others, and similarly for the inner cycle. It can then be checked that if we run the distributed FLIP dynamics in this instance, the solution does improve over time, but improving the approximation ratio from to requires rounds, which is extremely unpractical. This has to be compared with the lower bound of TheoremĀ 2.2, which says that in order to achieve an approximation ratio of in general, one needs a number of rounds of the order of .
4.2. Maximal cut
An interesting aspect of the Maximal cut problem defined in the previous subsection is that it is an LCL problem (of locality 1): each vertex only needs to check that at least half of its neighbors lie on the other side of the cut. This is in stark contrast with MaxCut, as we have seen already. It was recently proved by Balliu, Hirvonen, Lenzen, Olivetti, and Suomela [2] that any deterministic algorithm finding a maximal cut in -regular graphs () takes rounds and any randomized algorithm takes rounds in the LOCAL model. It would be interesting to find algorithms matching these round complexities. Note that if we merely require that each vertex has at least neighbors on the other side of the cut, the problem can be easily reduced to the distributed LovÔsz Local Lemma, and therefore solved efficiently.
Acknowledgments*.*
We would like to thank Jérémie Chalopin and Keren Censor-Hillel for their remarks on the complexity of finding an orientation using very small messages in the CONGEST model. We also thank Michal Dory for calling reference [6] to our attention, and David Gamarnik for pointing out references [5, 7, 10, 20] to us.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] M. Ć strand, V. Polishchuk, J. Rybicki, J. Suomela and J. Uitto. Local algorithms in (weakly) coloured graphs , Co RR abs/1002.0125, 2010.
- 2[2] A. Balliu, J. Hirvonen, C. Lenzen, D. Olivetti, and J. Suomela, Locality of not-so-weak coloring , In Proc. of the 26th International Colloquium on Structural Information and Communication Complexity (SIROCCO), 2019.
- 3[3] K. Censor-Hillel, R. Levy and H. Shachnai, Fast Distributed Approximation for Max-Cut . In Proc. of the 13th International Symp. on Algorithms and Experiments for Wireless Sensor Networks (ALGOSENSORS), 2017.
- 4[4] Y.-J. Chang, T. Kopelowitz, and S. Pettie, An Exponential Separation between Randomized and Deterministic Complexity in the LOCAL Model , In Proc. of the IEEE 57th Annual Symposium on Foundations of Computer Science (FOCS), 2016.
- 5[5] E. Csóka, B. GerencsĆ©r, V. Harangi, and B. VirĆ”g, Invariant gaussian processes and independent sets on regular graphs of large girth , Random Structures Algorithms 47 (2015), 284ā303.
- 6[6] A. Czygrinow, M. Hanckowiak, and W. Wawrzyniak, Fast Distributed Approximations in Planar Graphs , In Proc. of the 22nd International Symposium on Distributed Computing (DISC), 2008.
- 7[7] A. Dembo, A. Montanari, and S. Sen, Extremal cuts of sparse random graphs , Ann. Probab. 45(2) (2017), 1190ā1217.
- 8[8] P. ErdÅs and R. Rado, Combinatorial theorems on classifications of subsets of a given set , Proc. London Math. Soc. 3 (1952), 417ā439.
