Smoothed Complexity of SWAP in Local Graph Partitioning

Xi Chen, Chenghao Guo, Emmanouil V. Vlatakis-Gkaragkounis, Mihalis Yannakakis

TL;DR

This paper provides the first quasipolynomial upper bound for the smoothed complexity of the SWAP algorithm in local graph partitioning and the 2-FLIP algorithm for Maximum Constraint Satisfaction Problems (MAX 2-CSP). By analyzing "dependent cycles" in sequences of moves, the authors bridge the gap between the exponential worst-case performance and the fast convergence observed in practice.

What Problem Does This Paper Address?

In combinatorial optimization, local search is a workhorse. Algorithms like SWAP (for graph partitioning) and FLIP (for Max-Cut) start with a solution and iteratively move to a "neighboring" solution that improves the objective function.

While these algorithms are incredibly fast in practice, theoretical analysis often paints a grim picture: in the worst case, they can take exponential time to reach a local optimum. This is because these problems are often PLS-complete (Polynomial Local Search), meaning there exist pathological instances designed to trap the algorithm in a long sequence of tiny improvements.

To explain why local search works so well in the real world, researchers use smoothed analysis. Instead of looking at the worst-case input, they look at the worst-case input after it has been slightly perturbed by random noise. If the algorithm runs fast on perturbed inputs, it suggests that the "bad" instances are rare and fragile. While 1-FLIP (moving one node at a time) was previously understood in this framework, the more complex 2-FLIP and SWAP (moving or swapping two nodes) remained a major open challenge.

Methods

The authors analyze the full perturbation model, where edge weights are drawn from distributions with a density bounded by a parameter $\phi$.

The core of their proof involves a sophisticated combinatorial analysis of move sequences:

  1. Improvement Vectors: Every move in the algorithm can be represented as a vector. If a sequence of moves is long, the total improvement is the sum of these vectors.
  2. Rank and Probability: Using a tool from previous literature, they show that if a set of moves has a high "rank" (meaning many moves are linearly independent), the probability that every move in that sequence yields only a tiny improvement is exponentially small.
  3. From Arcs to Cycles: In 1-FLIP analysis, researchers look at "arcs" (pairs of moves involving the same node). For 2-FLIP, the authors generalize this to dependent cycles in an auxiliary graph where nodes are graph vertices and edges represent 2-moves.
  4. Graph Splitting: To ensure they can find enough linearly independent cycles, they develop a "splitting" technique. This involves creating multiple copies of high-degree nodes in their auxiliary graph to "disentangle" correlated moves, allowing them to find a "nice window" in any long move sequence that must have high rank.

Datasets

Not discussed in the paper. This is a purely theoretical paper based on mathematical proofs and probabilistic analysis. No empirical datasets or benchmarks were used.

Key Insights and Ideas

  • The 2-Move Hurdle: Analyzing 2-FLIP is qualitatively harder than 1-FLIP. In 1-FLIP, moves are "one-dimensional." In 2-FLIP, moves involve relations between pairs of nodes, creating a quadratic space of possible moves that are much harder to decorrelate.
  • Dependent Cycles as the Key: The "aha moment" is realizing that the rank of a 2-move sequence is tied to the existence of specific cycles in the move history. If you can prove that any sufficiently long sequence contains many "independent" cycles, you can prove the algorithm must make significant progress or terminate.
  • Pivoting Rule Independence: The results hold for any implementation of the algorithm, regardless of the "pivoting rule" (the logic used to choose which improving move to take when multiple are available).

Key Results

  • Quasipolynomial Bound: The authors prove that with high probability, any implementation of SWAP or 2-FLIP terminates in at most $\phi n^{O(\log^{10} n)}$ steps.
  • Generalization to MAX 2-CSP: They show that this bound isn't just for graph partitioning; it applies to any binary Maximum Constraint Satisfaction Problem (like Max-2SAT or Max Directed Cut) and even more general Binary Function Optimization Problems (BFOP).
  • Expected Time: They strengthen the analysis to show that the same bound holds for the expected number of steps, not just the high-probability case.

Limitations and Future Work

  • The Exponent: The authors acknowledge they did not attempt to optimize the constant "10" in the $O(\log^{10} n)$ exponent. They suspect a more careful analysis could lower this significantly.
  • Polynomial vs. Quasipolynomial: While 1-FLIP has been shown to have polynomial smoothed complexity in some models, this paper "only" reaches quasipolynomial for 2-FLIP. A major open question is whether 2-FLIP/SWAP is actually polynomial.
  • Higher-Order Flips: The techniques here are built for 2-node moves. Extending this to $k$-FLIP (moving $k$ nodes) or more complex heuristics like Kernighan-Lin (which can flip an unbounded number of nodes in one step) would likely require moving from graph theory to hypergraph theory.

Summary updated

BibTeX
@inproceedings{chen2024smoothed,
  author = {Xi Chen and Chenghao Guo and Emmanouil V. Vlatakis-Gkaragkounis and Mihalis Yannakakis},
  title = {{Smoothed Complexity of SWAP in Local Graph Partitioning}},
  booktitle = {SODA},
  year = {2024},
  doi = {10.1137/1.9781611977912.182},
}
Figure