Every method for Max-3-Cut must answer the same question: which vertices should go in which group? The methods we compare in this post all use the same greedy local search to refine their answers. They differ only in how they construct the initial partition — the starting point for greedy.
We compare two fundamentally different construction strategies:
The DSatur algorithm assigns vertices one at a time, in order of decreasing saturation degree — the number of distinct labels already present among a vertex's neighbors. Each vertex receives the label that maximizes the immediate number of crossing edges. This is a purely combinatorial, sequential approach that uses only 1-hop neighborhood information.
Runtime: \(\mathcal{O}(|E| \log |V|)\) for construction, plus \(\mathcal{O}(r|E|)\) for greedy improvement rounds.
The rank-2 spectral approach computes the top-2 eigenvectors of the graph Laplacian, constructs a spectral embedding of all vertices in \(\mathbb{C}^2\), samples a (often substantial) number of random directions in this embedding, and rounds each to the nearest cube root of unity. The best-scoring partition is kept. This captures global structure — community membership, spectral gaps — that may not be visible in any single vertex's neighborhood. This is the randomized version of the exact rank-2 algorithm, which computes a polynomial-size candidate set with no randomness; see Blog 1 and Blog 3 for details.
Runtime: \(\mathcal{O}(\mathrm{nnz} \times k_{\mathrm{iter}})\) for eigensolve + \(\mathcal{O}(S \times n)\) for sampling. Slower, but sees further. Importantly, the rank-\(r\) framework comes with provable approximation guarantees relative to the rank-\(r\) optimum (see the paper), whereas DSatur, as a heuristic, provides no worst-case quality bound.
Both DSatur and R2G feed their partition into the same greedy local search (steepest-ascent, 1-opt hill climbing). The only difference is the construction phase. This makes the comparison clean: any quality difference comes from the choice of starting partition, not the refinement.
We compare four methods on 15 instances across 13 graph families: DSG (DSatur + greedy), R2G (rank-2 + greedy, from Blog 3), Hybrid (rank-1 + greedy, from Blog 2), and SA (simulated annealing). All methods use the same greedy refinement; they differ only in construction.
| Graph | \(n\) | DSG | R2G | Hybrid | SA | Best-of-both | Winner |
|---|---|---|---|---|---|---|---|
| regular 100K | 100,000 | 734,361 | 703,656 | 726,972 | 733,953 | 734,361 | DSG |
| torus 10K | 9,940 | 59,640 | 59,640 | 59,640 | 59,286 | 59,640 | DSG = R2G |
| delaunay_n10 | 1,024 | 8,235 | 8,037 | 8,037 | 8,439 | 8,235 | SA |
| delaunay_n13 | 8,192 | 66,132 | 64,506 | 64,419 | 66,918 | 66,132 | SA |
| delaunay_n16 | 65,536 | 529,902 | 515,328 | 514,326 | 536,022 | 529,902 | SA |
| delaunay_n19 | 524,288 | 4,241,265 | 4,127,337 | 4,112,139 | 4,213,743 | 4,241,265 | DSG |
| roadNet-PA | 1,088,092 | 4,624,173 | 4,543,785 | 4,539,057 | 4,581,765 | 4,624,173 | DSG |
| roadNet-TX | 1,379,917 | 5,763,108 | 5,669,655 | 5,638,095 | 5,705,913 | 5,763,108 | DSG |
| email-Enron | 36,692 | 442,722 | 445,293 | 445,272 | 444,426 | 445,293 | R2G |
| amazon0601 | 403,394 | 5,984,949 | 6,039,264 | 6,029,544 | 6,031,734 | 6,039,264 | R2G |
| com-DBLP | 317,080 | 2,626,224 | 2,616,183 | 2,604,483 | 2,618,805 | 2,626,224 | DSG |
| web-Google | 875,713 | 11,353,869 | 11,410,254 | 11,401,383 | 11,196,882 | 11,410,254 | R2G |
| soc-Epinions1 | 75,879 | 995,235 | 997,479 | 985,167 | 978,303 | 997,479 | R2G |
| loc-Brightkite | 58,228 | 549,843 | 546,330 | 544,890 | 546,009 | 549,843 | DSG |
| ca-HepPh | 12,006 | 263,229 | 262,887 | 262,527 | 265,314 | 263,229 | SA |
DSG is the outright winner on 6 instances, R2G on 4, SA on 4, with 1 tie (DSG and R2G both find the torus optimum). The best-of-both ensemble — which simply picks the higher-scoring construction — beats SA on 11 of 13 graph families and beats Hybrid on all 13 (100%).
In our experiments, DSG tends to win on spatial and geometric graphs, while R2G tends to win on social and web networks. We observe a pattern but note that our sample of graph families is limited; the following discussion is speculative and should be tested on more instances.
On Delaunay meshes, road networks, and regular graphs, DSG consistently outperforms R2G. One possible explanation is that these graphs have strong local regularity: vertices with high saturation degree (many distinct neighbor labels) may correspond to natural cut boundaries, and DSatur's priority queue selects these vertices early. However, we have not formally verified this mechanism, and the advantage could also stem from DSatur's deterministic construction avoiding the variance inherent in random spectral sampling.
On email networks, web graphs, and product co-purchase networks, R2G outperforms DSG. A plausible explanation is that these graphs have community structure that is encoded in the top eigenvectors of the Laplacian but not visible in any single vertex's 1-hop neighborhood. The rank-2 spectral embedding may capture inter-community boundaries that DSatur's local view misses. That said, this hypothesis has not been tested on controlled instances (e.g., planted partition models), and other factors — degree distribution, graph density, or the specific greedy dynamics — could also contribute to the difference.
The comparison in Section 2 uses real-world and standard synthetic graphs, but the sample is limited. To test whether the observed pattern — R2G wins on community-structured graphs, DSG wins elsewhere — holds more broadly, we ran a systematic sweep across two controlled graph families at multiple sizes and density levels, with 5 random seeds per configuration.
SBM graphs have \(K=3\) equal-sized communities with intra-community edge probability \(p_{\mathrm{in}}\) and inter-community probability \(p_{\mathrm{out}} = p_{\mathrm{in}}/10\). As density decreases, the community signal weakens locally (fewer same-community neighbors per vertex) while the spectral signal — encoded in the top eigenvectors — persists until the information-theoretic detection threshold.
At \(n \geq 3{,}000\), R2G outperforms DSG on every tested configuration (15 out of 15), winning 4–5 out of 5 seeds each time:
| \(p_{\mathrm{in}}\) | \(n = 3{,}000\) | \(n = 5{,}000\) | \(n = 10{,}000\) |
|---|---|---|---|
| 0.05 | +0.16% (5/5) | +0.09% (5/5) | +0.10% (5/5) |
| 0.03 | +0.28% (5/5) | +0.13% (5/5) | +0.12% (5/5) |
| 0.02 | +0.33% (4/5) | +0.20% (4/5) | +0.13% (5/5) |
| 0.015 | +0.42% (5/5) | +0.24% (5/5) | +0.17% (5/5) |
| 0.01 | +0.09% (4/5) | +0.25% (4/5) | +0.13% (4/5) |
Cells show the R2G improvement over DSG (mean over 5 seeds) and the number of seeds where R2G wins. Green = R2G wins the majority of seeds.
The margins are modest (+0.1% to +0.4%) but consistent across all density levels and graph sizes. The spectral embedding captures the planted partition through the Laplacian's top eigenvectors — information that DSatur's 1-hop saturation degree does not have direct access to at these sparsity levels.
Random geometric graphs place \(n\) points uniformly in the unit square and connect pairs within a radius \(r\). These graphs have spatial structure that is both local (short edges) and global (long-range connectivity patterns). Across 60 seeds (12 configurations × 5 seeds), R2G wins 43 out of 60 seeds (72%) with an average gap of +0.15% over DSG.
These controlled experiments confirm that each method has graph families where it reliably outperforms the other. Neither R2G nor DSG is uniformly better; the advantage depends on the graph's structural properties. This motivates the ensemble approach in the next section.
Since DSG and R2G have complementary strengths, the natural strategy is to run both and keep the better partition. This is the “best-of-both” ensemble:
The computational cost is dominated by the rank-2 sampling phase (DSatur's construction is negligible in comparison). For practitioners who need speed over the last fraction of a percent, DSG alone is an excellent default — it beats Hybrid on 11 of 15 instances and beats SA on 9 of 13 families, all while running in quasi-linear time.
On 2 of 13 graph families (the three small Delaunay meshes and ca-HepPh), SA still produces higher-quality partitions than both DSG and R2G. We do not have a definitive explanation for why these particular instances favor SA. One possibility is that the greedy landscape on these graphs has deeper local optima that neither DSatur's nor spectral's construction can avoid, while SA's stochastic exploration escapes them given enough iterations. Another possibility is simply that our SA budget (which was generous on these instances) is sufficient to compensate for the lack of a structured starting point.
On Erdős–Rényi random graphs (tested in Blog 3 but not included in the ensemble table above), all construction methods produce similar-quality partitions. SA wins, likely because random graphs have little exploitable structure for either local or spectral methods, and SA benefits from its longer exploration budget.
DSatur was originally introduced for graph coloring by Brélaz (1979) and adapted for Max-\(K\)-Cut by Apte et al. (2026). The construction phase works as follows:
Input: Graph \(G = (V, E)\), number of labels \(K\).
Output: Assignment \(\chi: V \to \{1, \ldots, K\}\).
The construction phase is \(\mathcal{O}(|E| \log |V|)\): each vertex is pushed to the heap at most \(\mathcal{O}(\deg(v))\) times. The local improvement phase is \(\mathcal{O}(r|E|)\) for \(r\) rounds. In practice, \(r \leq 10\) on all tested instances.
| Graph Family | Best Method | vs. Runner-Up | Construction |
|---|---|---|---|
| roadNet-TX | DSG | +1.00% over SA | Local (DSatur) |
| roadNet-PA | DSG | +0.93% over SA | Local (DSatur) |
| delaunay_n19 | DSG | +0.65% over SA | Local (DSatur) |
| regular 100K | DSG | +0.06% over SA | Local (DSatur) |
| soc-Epinions1 | R2G | +1.96% over SA | Global (spectral) |
| web-Google | R2G | +1.91% over SA | Global (spectral) |
| torus | Both | +0.60% over SA | Either (optimum found) |
| email-Enron | R2G | +0.20% over SA | Global (spectral) |
| amazon | R2G | +0.12% over SA | Global (spectral) |
| com-DBLP | DSG | +0.28% over SA | Local (DSatur) |
| loc-Brightkite | DSG | +0.70% over SA | Local (DSatur) |
| ca-HepPh | SA | DSG −0.79% | — |
| delaunay (small) | SA | DSG −1.1% to −2.4% | — |
Local and global views of graph structure are complementary, not competing. The ensemble that combines DSatur (local, quasi-linear) with rank-2 spectral sampling (global, eigensolve-based) beats simulated annealing on 11 of 13 tested graph families and beats the previous best spectral method on all of them. For speed-constrained applications, DSatur alone is a strong default: quasi-linear time, no eigensolve required, competitive with SA on most graph types.