Abstract
State-of-the-art solvers for Vehicle Routing Problems (VRPs) often waste significant computational resources re-calculating parts of a solution that remain stable between search iterations. This paper introduces L2Seg, a neural framework designed to predict these stable segments and aggregate them into simplified "hypernodes." By focusing solver efforts on unstable route components, L2Seg achieves 2x to 7x speedups across various classic and neural VRP solvers without compromising solution quality.
Introduction
Vehicle Routing Problems (VRPs)—the task of finding optimal delivery routes for a fleet—are NP-hard and increasingly difficult to solve at scale. Modern solvers typically employ iterative local searches, such as "ruin and repair" heuristics, to incrementally improve solutions.
Research indicates a significant inefficiency in this process: as solvers progress, a large majority of edges in the solution become "stable" and stop changing. Despite this, solvers continue to evaluate the entire graph, leading to redundant computations. The core challenge lies in accurately identifying which parts of a route are stable enough to "freeze" without precluding global improvements.
Methodology
The proposed solution consists of two integrated components: the First-Segment-Then-Aggregate (FSTA) decomposition framework and the L2Seg neural predictor.
FSTA Framework
FSTA operationalizes the segmentation strategy. Once unstable edges are identified, the remaining stable edges are grouped into segments and collapsed into "hypernodes." This transformation reduces the original problem into a significantly smaller, simplified version. The backbone solver operates on this reduced scale, and the resulting solution is subsequently "unpacked" back to the original problem dimensions. This process is theoretically proven to preserve both feasibility and monotonicity.
L2Seg Neural Framework
To determine which edges to freeze, the authors developed a deep learning model featuring a hybrid architecture:
- Encoder: Utilizes a Transformer to capture route sequences and a Graph Attention Network (GAT) to model global spatial distributions.
- Synergy Decoder (L2Seg-SYN): This novel component combines Non-Autoregressive (NAR) decoding for fast, global heatmap generation with Autoregressive (AR) decoding for precise, sequential refinement of unstable regions.
- Training: The model is trained via Imitation Learning, using a high-quality solver as a "lookahead oracle" to identify which edges actually change during optimization.
Results and Discussion
The framework was evaluated on synthetic CVRP and VRPTW datasets (up to 5,000 nodes) and real-world benchmarks from CVRPLib (up to 10,000 nodes).
Performance and Speedup
L2Seg-SYN consistently accelerated backbone solvers like LKH-3 and LNS by factors of 2x to 7x. When integrated with neural solvers like L2D, the framework established new state-of-the-art performance levels for large-scale benchmarks.
Key Insights
- Predictable Stability: Edge stability is not random; it is a predictable function of customer density, route structure, and constraints.
- AR/NAR Synergy: While NAR models provide a global view, AR models offer local precision. Combining them allows the system to identify "neighborhoods of interest" and perform surgical updates, mimicking expert human intuition.
- Zero-Shot Generalization: Models trained on 2,000-node synthetic data generalized effectively to 10,000-node real-world instances without retraining, highlighting the robustness of the learned features.
Conclusion and Future Work
L2Seg demonstrates that learning to segment is a powerful, plug-and-play enhancement for both classic and neural VRP solvers. While highly effective, its performance remains tied to the underlying backbone solver's ability to handle warm starts. Future research will explore extending this synergy to other combinatorial optimization domains, such as scheduling and circuit design, and adapting the framework for dynamic or stochastic VRP variants.
Summary updated