ASP: Learn a Universal Neural Solver!

Chenguang Wang, Zhouliang Yu, Stephen McAleer, Tianshu Yu, Yaodong Yang

TL;DR

The ASP (Adaptive Staircase Policy Space Response Oracle) framework enables neural solvers for combinatorial optimization to become "universal." By combining game-theoretic adversarial training with an adaptive curriculum, ASP allows a single model to generalize across diverse problem distributions and scales, significantly outperforming standard training methods on benchmarks like TSPLib and CVRPLib.

What Problem Does This Paper Address?

Combinatorial Optimization Problems (COPs)—like the Traveling Salesman Problem (TSP) or Vehicle Routing—are the backbone of logistics and manufacturing. While deep learning-based "neural solvers" have emerged as fast alternatives to traditional algorithms, they suffer from a major "brittleness" problem.

Most neural solvers are trained on a specific distribution (usually points sampled uniformly in a square) and a fixed scale (e.g., exactly 50 cities). When these models face real-world data or larger problem sizes, their performance collapses. To date, the only solution has been to train dozens of specialized models or use massive, inefficient architectures. The authors ask: Can we build a single, capacity-efficient solver that handles varying distributions and scales simultaneously?

Methods

The authors introduce ASP, a framework that integrates two sophisticated training strategies:

  1. Distributional Exploration (DE): This treats training as a two-player meta-game using Policy Space Response Oracles (PSRO). One player (the Solver) tries to minimize the error, while the other (the Data Generator) uses a generative model called Real-NVP to find "weakness distributions"—specific arrangements of points where the solver currently fails. This adversarial loop forces the solver to become robust against non-uniform, complex data structures.
  2. Persistent Scale Adaption (PSA): This is an "adaptive staircase" curriculum. Instead of jumping straight to large problems, the model starts small. If it performs well (crosses a threshold $\alpha$), it moves to a larger scale. If it struggles, it stays on the current "staircase" to improve. A momentum-based task selection strategy ensures the model doesn't forget how to solve small problems while learning larger ones.

Crucially, ASP is model-agnostic; it can be wrapped around existing architectures like the Attention Model (AM) or POMO.

Datasets

The researchers evaluated ASP on several classic COPs:

  • Synthetic Data: Generated instances for TSP, CVRP (Capacitated Vehicle Routing), SDVRP (Split Delivery), and PCTSP (Prize Collecting TSP).
  • Real-World Benchmarks: The model was tested on TSPLib and CVRPLib, which contain historical problem instances that are much more structurally complex than standard synthetic training data.

Key Insights and Ideas

  • Adversarial Robustness is Key: Standard training is too "easy." By allowing a data generator to actively hunt for the solver's blind spots, the model learns heuristics that are far more generalizable.
  • The "Staircase" Prevents Catastrophic Forgetting: Simply mixing scales during training often leads to unstable convergence. The PSA component acts as a stabilizer, ensuring the model masters one level of complexity before moving to the next.
  • Smoothing the Landscape: The authors visualized the "optimality gap landscape" (similar to a loss landscape). They found that standard training leads to "messy" and "sharp" landscapes as problem size increases, making optimization difficult. ASP-trained models maintain a smooth landscape across all scales, explaining why they generalize so much better.

Key Results

ASP produced dramatic improvements over "base" solvers trained with standard pipelines:

  • TSP: On real-world TSPLib instances, ASP reduced the optimality gap by 47.43%. On generated instances, the gap decreased by a staggering 90.9%.
  • CVRP: On real-world CVRPLib instances, it achieved a 45.57% decrease in the optimality gap.
  • Efficiency: ASP achieved these results using the same model capacity as the base solvers. It essentially "squeezes" more intelligence out of the same number of parameters by training smarter, not just longer.
  • Universality: A single ASP-trained model outperformed a suite of specialized models trained on individual scales.

Limitations and Future Work

  • Training Overhead: ASP is computationally more expensive during the training phase because it requires training a data generator and evaluating meta-game payoffs. However, the authors note that inference time remains identical to standard models.
  • Hyperparameter Sensitivity: The performance threshold ($\alpha$) that determines when to move up the "staircase" currently requires manual setting. The authors suggest that a dynamic threshold adjustment procedure would be a valuable direction for future research.
  • Model Capacity Limits: While ASP maximizes a model's potential, there is still a "ceiling." Very small models will eventually fail on massive scales regardless of the training regime, suggesting a need to study the optimal balance between ASP training and architecture scaling.

Summary updated

BibTeX
@article{wang2024asp,
  author = {Chenguang Wang and Zhouliang Yu and Stephen McAleer and Tianshu Yu and Yaodong Yang},
  title = {{ASP: Learn a Universal Neural Solver!}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2024},
  doi = {10.1109/tpami.2024.3352096},
}
Figure