Introduction: The Generalization Gap in VRP
The Vehicle Routing Problem (VRP)—the challenge of determining optimal routes for a fleet of vehicles—is a fundamental problem in logistics and supply chain management. While traditional solvers provide high accuracy, they are often too slow for real-time applications. Conversely, modern Neural Network (NN) solvers offer rapid inference but suffer from a significant "generalization gap." Models trained on small-scale problems (e.g., 100 customers) often fail when applied to large-scale scenarios (e.g., 10,000 customers) or when customer distributions shift from uniform grids to complex clusters.
Existing neural approaches typically fall into two categories:
- Global-view models: These consider every node simultaneously. While accurate, their $O(n^2)$ computational complexity makes them impractical for large-scale problems.
- Local-selection models: These focus only on immediate neighbors. While fast, they are often "myopic," leading to suboptimal routes because they lack a broader context of the problem state.
Furthermore, most models rely on static embeddings, failing to account for how the representation of a location should evolve as the vehicle moves and the set of unvisited nodes changes.
Methodology: Bridging Global Context and Local Precision
To address these limitations, the authors propose DGL (Dynamic Global-Local Information Aggregation). DGL is a decoder-only architecture designed to solve VRPs step-by-step by combining the efficiency of local selection with the accuracy of dynamic global context.
Dynamic Global-Local Aggregation
DGL restricts its immediate action space to the $k$-nearest neighbors of the current node to maintain efficiency. However, it enriches these local candidates with four specific global features that provide the necessary "big picture" context:
- Distance to the current node.
- Average distance to all unvisited nodes.
- Standard deviation of distances to unvisited nodes.
- A directional vector pointing back to the depot.
To keep this process efficient, the authors developed a recursive formula that updates these global statistics in $O(n)$ time, preventing the computational bottleneck typically associated with global-view models.
Replacement-based Self-Improvement Learning (SIL)
Beyond the architecture, DGL introduces a novel training strategy called Replacement-based Self-Improvement Learning. Instead of training on a static dataset, the model generates its own "pseudo-labels" based on the best routes it has discovered. A key innovation is Random Replacement: in every epoch, a fraction of the training data is swapped with new instances. This prevents the model from overfitting to its own mistakes and encourages the learning of robust, generalizable heuristics.
Key Results and Insights
The model was rigorously evaluated on synthetic datasets (MSVDRP) and real-world benchmarks (TSPLIB, CVRPLIB, and Country Maps).
- Scalability: Trained only on 100-node instances, DGL outperformed state-of-the-art (SOTA) models on problems with up to 10,000 nodes across various distributions (Uniform, Clustered, etc.).
- Real-World Robustness: On a massive 22,775-node "Country Map" instance, DGL successfully produced high-quality solutions while many competing SOTA models crashed due to memory limitations.
- Efficiency: DGL consistently surpassed leading local-selection models like INViT in both solution quality and inference speed, validating the effectiveness of its dynamic recursive updates.
Conclusion
DGL demonstrates that the key to scalable VRP solvers lies in "local invariance"—the observation that optimal moves are usually local—supported by a dynamic global awareness. By combining this architectural insight with a self-improving training loop that avoids confirmation bias through random replacement, DGL sets a new standard for neural combinatorial optimization. Future work will explore automatically deriving optimal global features and extending the framework to other complex combinatorial problems.
Summary updated