UniHetCO: A Unified Heterogeneous Representation for Multi-Problem Learning in Unsupervised Neural Combinatorial Optimization
Organizations: Department of Computer and Information Sciences, University of Delaware, Newark DE 19716, USA
Abstract
Unsupervised neural combinatorial optimization (NCO) offers an appealing alternative to supervised approaches by training learning-based solvers without ground-truth solutions, directly minimizing instance objectives and constraint violations. Yet for graph node subset-selection problems (e.g., Maximum Clique and Maximum Independent Set), existing unsupervised methods are typically specialized to a single problem class and rely on problem-specific surrogate losses, which hinders learning across classes within a unified framework. In this work, we propose UniHetCO, a unified heterogeneous graph representation for constrained quadratic programming-based combinatorial optimization that encodes problem structure, objective terms, and linear constraints in a single input. This formulation enables training a single model across multiple problem classes with a unified label-free objective. To improve stability under multi-problem learning, we employ a gradient-norm-based dynamic weighting scheme that alleviates gradient imbalance among classes. Experiments on multiple datasets and four constrained problem classes demonstrate competitive performance with state-of-the-art unsupervised NCO baselines, strong cross-problem adaptation potential, and effective warm starts for a commercial classical solver under tight time limits.
Figures & tables
| IMDB | COLLAB | RB200 | SparseSuit | ||
| Number of layers | 4 | 4 | 6 | 6 | 6 |
| Number of layers | 1 | 1 | 1 | 1 | 1 |
| Number of layers | 4 | 4 | 6 | 6 | 6 |
| Epochs (single-problem) | 50 | 50 | 50 | 50 | 50 |
| Epochs (multi-problem) | 100 | 100 | 100 | 100 | 100 |
| Batch size (single-problem) | 64 | 64 | 64 | 64 | 64 |
| Dataset | IMDB | COLLAB | ||
|---|---|---|---|---|
| Problem Class | MC | MVC | MC | MVC |
| EGN [ 15 ] | 1.0000 (0.02) | 1.0000 (0.02) | 0.9820 (0.09) | 1.0130 (0.04) |
| Meta-EGN [ 32 ] | 1.0000 (0.02) | 1.0000 (0.02) | 0.9880 (0.09) | 1.0003 (0.04) |
| UniHetCO (Ours) | 1.0000 (0.01) | 1.0000 (0.02) | 0.9764 (0.07) | 1.0019 (0.10) |
| Greedy | 0.9888 (0.01) | 1.0000 (0.01) | 0.9916 (0.27) | 1.2090 (0.33) |
| Gurobi v12.03 ( 0.2s) | 1.0000 (0.02) | 1.0000 (0.01) | 0.9916 (0.07) | 1.0000 (0.08) |
| Dataset | ||||
|---|---|---|---|---|
| Problem Class | MIS | MC | MVC | MDS |
| UniHetCO-Single | 0.9725 (0.07) | 0.9449 (0.07) | 1.0338 (0.08) | 1.0535 (0.12) |
| UniHetCO-ERM | 0.9690 (0.07) | 0.9072 (0.07) | 1.1037 (0.08) | 1.0585 (0.12) |
| UniHetCO-SW | 0.9573 (0.07) | 0.8996 (0.07) | 1.0485 (0.08) | 1.0456 (0.12) |
| UniHetCO-DW | 0.9629 (0.07) | 0.9080 (0.07) | 1.0464 (0.08) | 1.0452 (0.12) |
| Gurobi v12.03 ( 0.2s) | 0.9964 (0.05) | 0.9094 (0.19) | 1.0007 (0.05) | 1.0000 (0.01) |
| Problem Class | MIS | MC | MVC | MDS |
|---|---|---|---|---|
| UniHetCO-Single | 0.8845 (0.10) | 0.9647 (0.08) | 1.0746 (0.10) | 1.0781 (0.20) |
| UniHetCO-ERM | 0.7829 (0.10) | 0.9786 (0.08) | 1.1603 (0.10) | 1.0732 (0.20) |
| UniHetCO-SW | 0.8294 (0.10) | 0.9567 (0.08) | 1.0840 (0.10) | 1.0802 (0.20) |
| UniHetCO-DW | 0.8718 (0.10) | 0.8736 (0.08) | 1.0886 (0.10) | 1.1236 (0.20) |
| Gurobi ( 0.2s) | 0.9991 (0.02) | 0.9476 (0.20) | 1.0000 (0.02) | 1.0279 (0.07) |
| Gurobi ( 1.0s) | 1.0000 (0.03) | 1.0000 (0.40) | 1.0000 (0.03) | 1.0098 (0.24) |
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
| Dataset | IMDB | COLLAB | RB200 | SparseSuit | |
|---|---|---|---|---|---|
| Training | 800 | 4100 | 773 | 2000 | 800 |
| Validation | 100 | 450 | 100 | 200 | 100 |
| Testing | 100 | 450 | 100 | 100 | 90 |
| Dataset | IMDB | |||
|---|---|---|---|---|
| Problem Class | MIS | MC | MVC | MDS |
| UniHetCO-Single | 1.0000 (0.01) | 1.0000 (0.02) | 1.0000 (0.02) | 1.0000 (0.01) |
| UniHetCO-ERM | 1.0000 (0.01) | 0.9698 (0.02) | 1.0432 (0.02) | 1.0100 (0.01) |
| UniHetCO-SW | 0.9933 (0.01) | 0.9518 (0.02) | 1.0000 (0.02) | 1.0000 (0.01) |
| UniHetCO-DW | 0.9950 (0.01) | 0.9500 (0.02) | 1.0350 (0.02) | 1.0000 (0.01) |
| Gurobi v12.03 ( 0.2s) | 0.9964 (0.01) | 1.0000 (0.02) | 1.0007 (0.01) | 1.0000 (0.01) |
Combinatorial Optimization
Combinatorial optimization finds the best feasible choices among discrete alternatives in routing, scheduling, graph problems, and resource allocation.
See all 381 papers