SPO: Discovering Adaptive Large Neighborhood Search Operators via Stackelberg Program Optimization
Organizations: C2DL, Institute of Automation, Chinese Academy of Sciences · School of Artificial Intelligence, University of Chinese Academy of Sciences · Tsinghua University · University of Chinese Academy of Sciences, Nanjing ·
Abstract
Large neighborhood search (LNS) relies critically on destroy and repair operators, whose effectiveness depends on both adaptation to the evolving LNS state and interaction between the two roles. We introduce Stackelberg Program Optimization (SPO), an LLM-based framework for discovering adaptive executable destroy-repair programs. SPO conditions operator decisions on a compact LNS state, allowing state-dependent behavior to emerge through program discovery, and organizes destroy-repair discovery as a Stackelberg interaction over program space that reflects their asymmetric dependency. Role-specific credits evaluate destroy programs as leaders and repair programs as conditional follower responses, guiding a coupled optimization process that combines LLM generator learning with population-based evolutionary search over programs. Experiments on the traveling salesperson problem and capacitated vehicle routing problem show that SPO outperforms strong baselines across a broad range of settings and generalizes beyond the discovery scale to larger instances and benchmark sets. Behavioral analyses further demonstrate state-dependent operator behavior and coupled destroy-repair improvement during discovery.
Figures & tables
| (a) Traveling Salesperson Problem | |||||||
|---|---|---|---|---|---|---|---|
| Method | Uniform instances (number of nodes ) | TSPLIB (instance-size range) | |||||
| – | – | ||||||
| NN | 21.295 | 23.807 | 24.884 | 25.999 | 26.039 | 23.143 | 25.710 |
| FI | 6.261 | 7.711 | 8.909 | 10.535 | 7.336 | 7.490 | 11.662 |
| 2-opt | 3.796 | 4.197 | 5.078 | 5.179 | 4.120 | 3.707 | 5.600 |
| 3-opt | 2.232 | 2.905 | 3.900 | 4.578 | 2.859 | 3.041 | 4.764 |
| Variant | Uniform instances (number of nodes ) | TSPLIB (instance-size range) | |||||
|---|---|---|---|---|---|---|---|
| – | – | ||||||
| SPO | 0.212 | 0.642 | 1.274 | 3.139 | 0.408 | 0.574 | 4.040 |
| w/o Stackelberg Credit | 1.398 | 1.908 | 3.089 | 5.995 | 1.309 | 2.054 | 6.647 |
| w/o State Conditioning | 0.273 | 0.816 | 2.686 | 6.484 | 0.592 | 0.962 | 6.850 |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
| Prompt form | Parents | Instruction |
|---|---|---|
| Mechanism replacement | One | Replace one major decision mechanism while preserving the remainder of the parent design. |
| State-dependent control redesign | One | Preserve the main mechanism but alter thresholds, budgets, candidate scopes, or adaptation schedules. |
| Simplification | One | Remove redundant or unnecessarily complex components without introducing a new major mechanism. |
| Divergent crossover | Two | Use the parents as records of explored ideas and generate a substantially different heuristic. |
| Shared-principle crossover | Two | Extract a shared high-level principle and implement it through a new program structure. |
Large Neighborhood Search
Large Neighborhood Search (LNS) improves hard optimization solutions by repeatedly rebuilding selected parts of them.
See all 14 papers