Parameterized Local Search for Max c-Cut

Jaroslav Garvardt, Niels Grüttemeier, Christian Komusiewicz, Nils Morawietz

Abstract

The Max $c$-Cut problem is a cornerstone of combinatorial optimization with applications ranging from network design to data clustering. Despite its importance, traditional local search heuristics often struggle with local optima. This paper presents a novel parameterized local search algorithm that efficiently explores the $k$-flip neighborhood. By proving that minimal improving flips must be connected, the authors develop a fixed-parameter tractable (FPT) approach that significantly outperforms brute-force search and improves upon state-of-the-art metaheuristics on standard benchmarks.

Introduction

The Max $c$-Cut problem seeks to color the vertices of an edge-weighted graph with $c$ colors such that the total weight of edges connecting vertices of different colors is maximized. While the $c=2$ case (Max-Cut) is well-studied, the general $c$-color version is equally vital for practical applications like frequency assignment and social network analysis.

Given the NP-hardness of the problem, local search heuristics are the primary tool for finding high-quality solutions. The standard "1-flip" approach—changing one vertex's color at a time—is efficient but prone to getting stuck in local optima. Expanding the search to $k$-flips (changing $k$ vertices simultaneously) offers a path to better solutions, but a naive search requires $O(n^k)$ time, which is computationally prohibitive for large graphs.

Theoretical Foundation: The Connectivity Lemma

The central theoretical contribution of this work is the Connectivity Lemma. The authors demonstrate that if a set of $k$ vertices constitutes an "inclusion-minimal" improving flip—meaning no proper subset of these vertices provides an improvement—then the subgraph induced by these vertices must be connected.

Figure 1: Illustration of the connectivity property where minimal improving flips are shown to be connected within the graph structure.

This insight fundamentally changes the search complexity. Instead of examining all $\binom{n}{k}$ possible vertex subsets, the algorithm only needs to enumerate connected subgraphs of size $k$. In sparse graphs, this reduction is dramatic, allowing for a much deeper exploration of the solution space.

Algorithmic Framework

The proposed algorithm leverages this connectivity property through a multi-stage process:

  1. Connected Subgraph Enumeration: The algorithm identifies candidate sets of $k$ vertices.
  2. Dynamic Programming (DP): For each candidate set, a DP approach determines the optimal assignment of $c$ colors in $O(3^k \cdot c \cdot k^2)$ time.
  3. Pruning and Optimization: To handle large-scale instances, the authors implement upper-bound pruning, redundancy prevention, and a "weighted twins" reduction to skip unnecessary computations.

The resulting algorithm is Fixed-Parameter Tractable (FPT) with respect to $k$ and the maximum degree $\Delta$, running in $O((3e\Delta)^k \cdot c \cdot k^3 \cdot \Delta \cdot n)$ time.

Experimental Evaluation

The algorithm was evaluated against the G-set benchmark, a standard suite of 71 graphs with up to 20,000 vertices, including both unit-weight and signed-weight edges. The researchers used solutions from the state-of-the-art MOH algorithm (Ma and Hao, 2017) as a baseline.

Figure 3: Summary of experimental results showing that the local search (LS) algorithm improved upon 69 out of 188 instances across various configurations.

As shown in the results summary, the parameterized local search (LS) successfully improved upon the best-known MOH solutions in 69 out of 188 instances. Notably, the algorithm was highly efficient, often finding the first improving flip in approximately 15 seconds. Furthermore, by integrating these results with Integer Linear Programming (ILP) bounds, the authors were able to verify the global optimality of several solutions for the first time.

Conclusion

This work bridges the gap between theoretical parameterized complexity and practical heuristic design. By exploiting the structural properties of improving flips, the authors provide a powerful tool for escaping local optima in Max $c$-Cut problems. While the algorithm's performance is sensitive to graph density (maximum degree $\Delta$), its success on sparse real-world benchmarks demonstrates the value of "connected" local search. Future research may extend these concepts to distance-based neighborhoods or other combinatorial optimization problems.

Summary updated

BibTeX
@inproceedings{garvardt2023parameterized,
  author = {Jaroslav Garvardt and Niels Grüttemeier and Christian Komusiewicz and Nils Morawietz},
  title = {{Parameterized Local Search for Max c-Cut}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.24963/ijcai.2023/620},
}
Figure