Abstract
Deep learning models for combinatorial optimization problems, such as the Traveling Salesman Problem (TSP) and Vehicle Routing Problem (VRP), often struggle to generalize to node distributions unseen during training. This paper proposes a framework that enhances robustness by minimizing worst-case error across diverse node patterns. By integrating Group Distributionally Robust Optimization (Group DRO) with a distribution-aware convolutional embedding, the authors demonstrate significant performance gains on both synthetic and real-world benchmarks without increasing inference overhead.
Introduction
The "Achilles' heel" of deep learning in routing problems is generalization. While models trained on uniform distributions perform well on similar data, their performance often degrades when encountering real-world patterns like clusters or grids. Standard training—Empirical Risk Minimization (ERM)—tends to prioritize the majority distribution to lower average loss, leaving minority "atypical" cases poorly served.
This research, presented at AAAI-22, addresses this brittleness by shifting the training objective from average-case to worst-case performance across a set of predefined distribution groups.
Methodology
The proposed framework introduces two synergistic components:
1. Group Distributionally Robust Optimization (Group DRO)
Instead of minimizing average loss, Group DRO targets the loss of the worst-performing group. The framework maintains importance weights $q$ for various distribution groups (e.g., Uniform, Cluster, Grid). If the model's performance on a specific group like "Clusters" lags, its weight increases, forcing the model to prioritize learning those specific spatial patterns in subsequent iterations.
2. Distribution-aware Convolutional Embedding
Standard models typically use linear projections for node coordinates, which may fail to capture local spatial context. The authors implement a 1D-Convolutional Neural Network (CNN) layer that processes a node alongside its $K$-nearest neighbors. This allows the model to identify "micro-patterns" indicative of the underlying distribution before passing the data to the core solver (e.g., a Transformer or GCN).
This approach is model-agnostic and can be applied to both Supervised Learning (SL) and Reinforcement Learning (RL) architectures.
Experimental Results
The framework was evaluated using two base models: a GCN (resulting in DROG) and POMO (resulting in DROP). Testing spanned six synthetic distribution types and classic real-world benchmarks like TSPLib and CVRPLib.
Synthetic Performance
On complex distributions like "Grid" for TSP100, the standard POMO model exhibited a 4.13% optimality gap. The DROP variant reduced this gap to 1.25%. Similar improvements were observed across other distributions, as shown in the table below.
Real-World Generalization
The impact was even more pronounced on real-world-inspired instances. On TSPLib and CVRPLib, the average optimality gap for POMO was 17.57%, while DROP achieved a significantly lower gap of 8.08%. Importantly, these gains come with zero inference overhead, as the CNN embedding and DRO weights are only active during training.
Conclusion and Future Work
By focusing on the worst-case distribution and enhancing local spatial awareness, the proposed framework significantly improves the robustness of neural routing solvers. While training time increases due to the diversity of distributions, the resulting models are far better suited for the unpredictable nature of real-world logistics. Future research may explore automated distribution discovery to remove the need for pre-defined groups and scaling these methods to problems involving thousands of nodes.
Summary updated