NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

SymILO: A Symmetry-Aware Learning Framework for Integer Linear Optimization

Qian Chen, Tianjian Zhang, Linxin Yang, Qingyu Han, Akang Wang, Ruoyu Sun, Xiaodong Luo, Tsung-Hui Chang

Abstract

Integer linear programs (ILPs) are commonly employed to model diverse practical problems such as scheduling and planning. Recently, machine learning techniques have been utilized to solve ILPs. A straightforward idea is to train a model via supervised learning, with an ILP as the input and an optimal solution as the label. An ILP is symmetric if its variables can be permuted without changing the problem structure, resulting in numerous equivalent and optimal solutions. Randomly selecting an optimal solution as the label can introduce variability in the training data, which may hinder the model from learning stable patterns. In this work, we incorporate the intrinsic symmetry of ILPs and propose a novel training framework called SymILO. Specifically, we modify the learning task by introducing solution permutation along with neural network weights as learnable parameters and then design an alternating algorithm to jointly optimize the loss function. We conduct extensive experiments on ILPs involving different symmetries and the computational results demonstrate that our symmetry-aware approach significantly outperforms three existing methods -- achieving $50.3\%$, $66.5\%$, and $45.4\%$ average improvements, respectively.

Introduction: The Challenge of Symmetry in ILPs

Integer Linear Programming (ILP) serves as the mathematical foundation for critical industrial tasks like scheduling, logistics, and resource allocation. While traditionally solved using exact algorithms, recent research has explored using Graph Neural Networks (GNNs) to predict optimal solutions, treating ILP solving as a supervised learning task.

However, a significant hurdle exists: symmetry. Many real-world ILPs are symmetric, meaning their variables can be permuted without altering the problem's underlying structure. For instance, in a bin-packing scenario with identical bins, swapping the contents of two bins results in a mathematically equivalent optimal solution.

Common types of permutations in symmetric ILPs, including identity, swapping, cyclic, and reflective permutations.

Standard supervised learning approaches typically select one optimal solution as the "ground truth" label. In symmetric problems, this leads to "label noise." The same input problem might be paired with different, yet equivalent, solution vectors across the training set. This inconsistency makes it difficult for a neural network to learn stable, generalizable patterns, as it perceives identical inputs as having conflicting labels.

The SymILO Framework

To address this, the authors propose SymILO (Symmetry-Aware Learning for Integer Optimization). Rather than forcing a model to converge toward a single arbitrary label, SymILO allows the training process to dynamically "choose" the most appropriate equivalent label.

The SymILO framework overview: from ILP data and symmetries to a GNN model trained via symmetry-aware empirical risk and alternating updates for downstream tasks.

Key Innovations

  1. Symmetry-Aware Empirical Risk: The loss function is redefined. Instead of minimizing the distance between the prediction $f_\theta(s_i)$ and a fixed label $y_i$, SymILO minimizes the distance to $\pi_i(y_i)$, where $\pi_i$ is a permutation within the problem's symmetry group $G_i$.
  2. Alternating Minimization: The training process employs a two-step alternating loop:
  3. Permutation Update: Fix the model weights $\theta$ and find the permutation $\pi \in G_i$ that minimizes the loss for the current prediction.
  4. Weight Update: Fix the permutations and update the GNN weights $\theta$ using standard gradient descent.
  5. Efficient Permutation Search: For small groups like Cyclic or Dihedral, the framework uses brute-force evaluation. For large Symmetric groups where permutations grow factorially, the search is relaxed into a computationally efficient Linear Program (LP).

Experimental Evaluation

SymILO was evaluated on four benchmarks with varying symmetry types: Item Placement (Symmetric groups $S_4$-$S_{10}$), Steel Mill Slab Problem (large Symmetric group $S_{111}$), and Periodic Event Scheduling (Cyclic and Dihedral groups $C_5$-$C_{15}$, $D_5$-$D_{15}$).

Key Results

SymILO was compared against three state-of-the-art baselines: Neural Diving (ND), Predict-and-Search (PS), and MIP-GNN.

  • Accuracy: SymILO consistently achieved lower "Top-m% error," indicating its predictions were significantly closer to valid optimal solutions.
  • Solution Quality: When integrated into downstream solvers (e.g., local branching), SymILO improved the Relative Primal Gap by:
  • 50.3% over Neural Diving.
  • 66.5% over Predict-and-Search.
  • 45.4% over MIP-GNN.
  • Efficiency: The training overhead was minimal. For the IP dataset, training time per mini-batch only increased from 5.5s to 6.0s despite the added permutation step.

Conclusion

SymILO demonstrates that "noise" in ILP datasets is often structural rather than random. By incorporating problem geometry into the learning process, we can train more robust models without adding inference-time overhead. Future work will focus on automating symmetry detection and scaling the framework to even more complex symmetry structures.

Summary updated

BibTeX
@inproceedings{chen2024symilo,
  author = {Qian Chen and Tianjian Zhang and Linxin Yang and Qingyu Han and Akang Wang and Ruoyu Sun and Xiaodong Luo and Tsung-Hui Chang},
  title = {{SymILO: A Symmetry-Aware Learning Framework for Integer Linear Optimization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=RtMyTzIW6l},
}
Figure