A General Neural Backbone for Mixed-Integer Linear Optimization via Dual Attention
Peixin Huang, Yaoxin Wu, Yining Ma, Cathy Wu, Wen Song, Wei Zhang
TL;DR
This work introduces a dual-attention backbone for mixed-integer linear optimization that treats variables and constraints as two interacting element types. By combining intra-type self-attention with inter-type cross-attention, the model overcomes the locality limits of traditional GNNs, enabling global information exchange and deeper representations. Across instance-, element-, and solving-state tasks, the approach consistently outperforms BGNN-based baselines on synthetic benchmarks and real-world MILP libraries, and mechanism analyses reveal stronger long-range dependencies, richer embeddings, and more confident predictions. The results suggest attention-based architectures as a powerful, general foundation for learning-enhanced MILP solvers and potentially other broad COPs.
Abstract
Mixed-integer linear programming (MILP), a widely used modeling framework for combinatorial optimization, are central to many scientific and engineering applications, yet remains computationally challenging at scale. Recent advances in deep learning address this challenge by representing MILP instances as variable-constraint bipartite graphs and applying graph neural networks (GNNs) to extract latent structural patterns and enhance solver efficiency. However, this architecture is inherently limited by the local-oriented mechanism, leading to restricted representation power and hindering neural approaches for MILP. Here we present an attention-driven neural architecture that learns expressive representations beyond the pure graph view. A dual-attention mechanism is designed to perform parallel self- and cross-attention over variables and constraints, enabling global information exchange and deeper representation learning. We apply this general backbone to various downstream tasks at the instance level, element level, and solving state level. Extensive experiments across widely used benchmarks show consistent improvements of our approach over state-of-the-art baselines, highlighting attention-based neural architectures as a powerful foundation for learning-enhanced mixed-integer linear optimization.
