English

UniCO: Towards a Unified Model for Combinatorial Optimization Problems

Machine Learning 2025-05-13 v1 Discrete Mathematics

Abstract

Combinatorial Optimization (CO) encompasses a wide range of problems that arise in many real-world scenarios. While significant progress has been made in developing learning-based methods for specialized CO problems, a unified model with a single architecture and parameter set for diverse CO problems remains elusive. Such a model would offer substantial advantages in terms of efficiency and convenience. In this paper, we introduce UniCO, a unified model for solving various CO problems. Inspired by the success of next-token prediction, we frame each problem-solving process as a Markov Decision Process (MDP), tokenize the corresponding sequential trajectory data, and train the model using a transformer backbone. To reduce token length in the trajectory data, we propose a CO-prefix design that aggregates static problem features. To address the heterogeneity of state and action tokens within the MDP, we employ a two-stage self-supervised learning approach. In this approach, a dynamic prediction model is first trained and then serves as a pre-trained model for subsequent policy generation. Experiments across 10 CO problems showcase the versatility of UniCO, emphasizing its ability to generalize to new, unseen problems with minimal fine-tuning, achieving even few-shot or zero-shot performance. Our framework offers a valuable complement to existing neural CO methods that focus on optimizing performance for individual problems.

Keywords

Cite

@article{arxiv.2505.06290,
  title  = {UniCO: Towards a Unified Model for Combinatorial Optimization Problems},
  author = {Zefang Zong and Xiaochen Wei and Guozhen Zhang and Chen Gao and Huandong Wang and Yong Li},
  journal= {arXiv preprint arXiv:2505.06290},
  year   = {2025}
}
R2 v1 2026-06-28T23:27:38.051Z