ROS: A GNN-based Relax-Optimize-and-Sample Framework for Max-k-Cut Problems

Yeqing Qiu, Ye Xue, Akang Wang, Yiheng Wang, Qingjiang Shi +1 more
2/12/2026

No official code found. Best implementation: NetSysOpt/ROS (5 stars, last commit 2025-06-11).

Abstract

The Max-k-Cut problem is a fundamental combinatorial optimization challenge that generalizes the classic NP-complete Max-Cut problem. While relaxation techniques are commonly employed to tackle Max-k-Cut, they often lack guarantees of equivalence between the solutions of the original problem and its relaxation. To address this issue, we introduce the Relax-Optimize-and-Sample (ROS) framework. In particular, we begin by relaxing the discrete constraints to the continuous probability simplex form. Next, we pre-train and fine-tune a graph neural network model to efficiently optimize the relaxed problem. Subsequently, we propose a sampling-based construction algorithm to map the continuous solution back to a high-quality Max-k-Cut solution. By integrating geometric landscape analysis with statistical theory, we establish the consistency of function values between the continuous solution and its mapped counterpart. Extensive experimental results on random regular graphs and the Gset benchmark demonstrate that the proposed ROS framework effectively scales to large instances with up to 20000 nodes in just a few seconds, outperforming state-of-the-art algorithms. Furthermore, ROS exhibits strong generalization capabilities across both in-distribution and out-of-distribution instances, underscoring its effectiveness for large-scale optimization tasks.

View on arXivView PDF

Code Implementations(1)

NetSysOpt/ROSCommunity67%

Official Implementation of "ROS: A GNN-based Relax-Optimize-and-Sample Framework for Max-$k$-Cut Problems"

51Shell, PythonJun 11, 20251 years ago

Similar Papers

Cite this paper

@article{qiu2026ros,
  title  = {ROS: A GNN-based Relax-Optimize-and-Sample Framework for Max-k-Cut Problems},
  author = {Yeqing Qiu and Ye Xue and Akang Wang and Yiheng Wang and Qingjiang Shi and Zhi-Quan Luo},
  year   = {2026},
  eprint = {2412.05146},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2412.05146},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.05146.svg)](https://codeofpaper.com/paper/2412.05146)

Discussion