Scaling Combinatorial Optimization Neural Improvement Heuristics with Online Search and Adaptation

Federico Julian Camerota Verdù, Lorenzo Castelli, Luca Bortolussi

Introduction

Combinatorial Optimization (CO) is a cornerstone of operations research, with applications ranging from logistics to chip design. Deep learning approaches to CO typically fall into two categories: constructive methods, which build solutions step-by-step, and improvement heuristics, which iteratively refine an initial solution. While improvement heuristics are highly flexible and better suited for complex constraints, they struggle with two primary challenges: the computational complexity of searching long-horizon trajectories and the "generalization gap" when applied to problem instances significantly larger than those seen during training.

This paper introduces Limited Rollout Beam Search (LRBS) and integrates it with online policy adaptation to address these hurdles, enabling neural improvement heuristics to scale effectively to problems up to ten times larger than their training distribution.

Methodology: Limited Rollout Beam Search (LRBS)

The core contribution is LRBS, a search strategy tailored for the long horizons of improvement-based Markov Decision Processes (MDPs). Standard Beam Search (BS) is often too myopic for improvement tasks, while Simulation-Guided Beam Search (SGBS) is computationally expensive because it discards the rollout trajectories used for node evaluation.

Comparison of search strategies: Beam Search (BS), Simulation-Guided Beam Search (SGBS), and the proposed Limited Rollout Beam Search (LRBS).

LRBS improves upon these by performing a "limited rollout" of $n_s$ steps using the neural policy. Unlike SGBS, LRBS retains the resulting trajectory. This approach serves two purposes: it provides a lookahead mechanism that helps the model escape local optima, and it significantly reduces the effective horizon of the search by jumping multiple steps forward in the solution space.

Online Adaptation

To bridge the generalization gap, the authors employ Efficient Active Search (EAS). This technique allows the model to fine-tune its parameters during the inference phase. By adapting the policy to the specific characteristics of a large-scale instance (Online Adaptation, OA), the model can overcome the distribution shift encountered when moving from, for example, 100-city to 1,000-city problems.

Experimental Evaluation

The researchers evaluated LRBS on the Traveling Salesperson Problem (TSP) and its constrained variants, such as the Pickup and Delivery TSP (PDTSP).

Performance comparison on large-scale TSP instances (N=200, 500, 1000). The proposed method (Ours+OA) achieves state-of-the-art results among improvement heuristics.

On the standard TSP100 benchmark, LRBS achieved a near-optimal gap of 0.013%, outperforming existing neural improvement solvers like DACT and COSTA. More impressively, when scaled to TSP1000—ten times the training size—the combination of LRBS and Online Adaptation achieved an optimality gap of 11.889%. This performance is superior to state-of-the-art constructive methods like Meta-SAGE (12.038%), while offering better scalability in terms of runtime.

Conclusion

Limited Rollout Beam Search represents a significant step forward for neural improvement heuristics. By retaining rollout trajectories and incorporating online adaptation, the method effectively mitigates myopia and distribution shift. While classical solvers like LKH3 still provide superior absolute solution quality, LRBS offers a flexible, GPU-accelerated alternative that generalizes remarkably well across problem sizes and constraints. Future work will explore applying this framework to broader CO domains such as scheduling and bin packing.

Summary updated

BibTeX
@inproceedings{verdu2025scaling,
  author = {Federico Julian Camerota Verdù and Lorenzo Castelli and Luca Bortolussi},
  title = {{Scaling Combinatorial Optimization Neural Improvement Heuristics with Online Search and Adaptation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i25.34921},
}
Figure