Controlling Continuous Relaxation for Combinatorial Optimization

Yuma Ichikawa · OpenReview

Abstract

Unsupervised learning (UL)-based solvers for combinatorial optimization (CO) train a neural network whose output provides a soft solution by directly optimizing the CO objective using a continuous relaxation strategy. These solvers offer several advantages over traditional methods and other learning-based methods, particularly for large-scale CO problems. However, UL-based solvers face two practical issues: (I) an optimization issue where UL-based solvers are easily trapped at local optima, and (II) a rounding issue where UL-based solvers require artificial post-learning rounding from the continuous space back to the original discrete space, undermining the robustness of the results. This study proposes a Continuous Relaxation Annealing (CRA) strategy, an effective rounding-free learning method for UL-based solvers. CRA introduces a penalty term that dynamically shifts from prioritizing continuous solutions, effectively smoothing the non-convexity of the objective function, to enforcing discreteness, eliminating the artificial rounding. Experimental results demonstrate that CRA significantly enhances the performance of UL-based solvers, outperforming existing UL-based solvers and greedy algorithms in complex CO problems. It also effectively eliminates the artificial rounding and accelerates the learning.

Introduction

Combinatorial Optimization (CO)—finding the best solution from a finite set of discrete possibilities—is the backbone of everything from logistics to circuit design. Because these problems (like the Traveling Salesman or MaxCut) are often NP-hard, researchers usually rely on hand-crafted heuristics or expensive solvers that struggle to scale to massive graphs.

Recently, Unsupervised Learning (UL) using Graph Neural Networks (GNNs) has emerged as a promising alternative. These models "relax" the discrete problem into a continuous one, allowing them to use gradient descent to find a "soft" solution. However, they face two "practical walls":

  1. The Optimization Wall: On complex or dense graphs, models often get trapped in trivial local optima (like outputting zero for every variable).
  2. The Rounding Wall: The model outputs continuous values that must be manually rounded to 0 or 1. This "artificial rounding" is often arbitrary and can degrade the quality of the final solution.

The Continuous Relaxation Annealing (CRA) Strategy

Presented at NeurIPS 2024, Continuous Relaxation Annealing (CRA) is a novel training strategy that addresses these hurdles by dynamically controlling a penalty term added to the loss function:

$$\hat{r}(\mathbf{p}; C, \lambda, \gamma) = \hat{l}(\mathbf{p}; C, \lambda) + \gamma \Phi(\mathbf{p})$$

Where $\Phi(\mathbf{p})$ is a specific penalty function and $\gamma$ is an annealing parameter that changes over time to guide the GNN through two critical phases.

Conceptual overview of the CRA process, showing how the optimization landscape shifts from smoothing to automatic rounding as $\gamma$ increases.

Phase 1: Exploration ($\gamma < 0$)

Training begins with a negative $\gamma$. This mathematically "smooths" the objective function, making it more convex. This "Negative Gamma Trick" prevents the model from collapsing into the "zero plateau" and encourages the GNN to explore the broader solution space.

Phase 2: Automatic Rounding ($\gamma > 0$)

As training progresses, $\gamma$ is gradually increased to a positive value. This shifts the priority toward enforcing discreteness. The model is essentially forced to push its "soft" outputs toward exactly 0 or 1. By the end of training, the model has "rounded itself," providing a discrete solution directly without any post-processing.

Experimental Evaluation

The authors evaluated CRA across several benchmark CO problems, including Maximum Independent Set (MIS) on Random Regular Graphs (RRG), MaxCut on the standard Gset benchmark, and Diverse Bipartite Matching (DBM) on Cora citation network instances. Preliminary results on TSP (TSPLIB) also demonstrate the method's generalizability.

Key Results and Discussion

CRA demonstrates superior performance, particularly in scenarios where standard Physics-Inspired GNNs (PI-GNN) fail completely.

Independent set density vs. graph degree for RRGs with 10,000 nodes. CRA-PI-GNN maintains performance near theoretical limits while standard PI-GNN fails on denser graphs.

As illustrated in the figure above, standard solvers often hit the "Optimization Wall" as graph density increases, resulting in zero independent nodes found. CRA-PI-GNN, however, achieves approximation ratios (ApR) of over 0.92 in these complex cases. Furthermore, CRA consistently outperformed the Degree-based Greedy Algorithm (DGA) and SDP-based relaxations across the MaxCut Gset benchmark.

Conclusion

Continuous Relaxation Annealing effectively bridges the gap between continuous optimization and discrete problem requirements. By eliminating the need for artificial rounding and providing a mechanism to escape local optima, CRA offers a scalable and robust framework for solving large-scale combinatorial optimization problems without requiring labeled training data.

Summary updated

BibTeX
@inproceedings{ichikawa2024controlling,
  author = {Yuma Ichikawa},
  title = {{Controlling Continuous Relaxation for Combinatorial Optimization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=ykACV1IhjD},
}
Figure