Rethinking Neural Combinatorial Optimization for Vehicle Routing Problems with Different Constraint Tightness Degrees

Fu Luo, Yaoxin Wu, Zhi Zheng, Zhenkun Wang · DOI

Introduction

Neural Combinatorial Optimization (NCO) has emerged as a promising alternative to traditional hand-coded heuristics for solving the Vehicle Routing Problem (VRP). By leveraging deep learning, these models can learn efficient routing strategies directly from data. However, a significant limitation has surfaced: most NCO models are "specialists" trained on fixed constraint values (e.g., a specific vehicle capacity $C$). When these models encounter problems with significantly tighter or looser constraints, their performance degrades sharply.

The Problem: Overfitting to Constraint Tightness

Standard NCO models often exhibit an "optimality gap explosion" when applied to instances outside their training distribution. For example, a model trained for $C=50$ might perform well on similar instances but fail when $C=10$ (tight) or $C=500$ (loose). This brittleness makes them impractical for real-world logistics where capacities and demands are highly variable.

As shown above, standard CVRP models (blue bars) suffer from high optimality gaps in extreme scenarios, while models specialized for those specific conditions (red bars) maintain high accuracy. This suggests that existing general-purpose models fail to capture the underlying logic required for varying constraint degrees.

Methodology: Multi-Expert Generalization

To address this, the authors propose a robust framework consisting of two main components:

  1. Varying Constraint Tightness (VCT) Training: Instead of training on a single fixed value, the model is exposed to a full spectrum of tightness degrees. By uniformly sampling constraint values for every training instance, the model is forced to learn a generally adaptable strategy.
  2. Multi-Expert Module (MEM): Recognizing that a single strategy may not suffice for all scenarios, the authors integrated a multi-expert layer into the decoder. A Gate Mechanism analyzes the problem's constraint tightness and routes data to specialized "expert" layers, each focusing on a specific range (tight, moderate, or loose).

This architecture utilizes a "Lightweight Encoder-Heavy Decoder" (LEHD) backbone to ensure that the added complexity of multiple experts does not compromise real-time inference speed.

Key Insights: Structural Similarity Shifts

A core contribution of this research is identifying why models fail. The authors demonstrate that as constraints change, the fundamental structure of the problem shifts:

  • Tight Constraints ($C=10$): The CVRP begins to resemble an Open VRP (OVRP). Because vehicle capacity is so low, sub-tours are very short, and the return trip to the depot becomes a less dominant factor in the overall routing logic.
  • Loose Constraints ($C=500$): The problem effectively becomes a Traveling Salesman Problem (TSP), where a single vehicle can likely handle all customers, and the primary goal is simply to find the shortest Hamiltonian cycle.
Visualization of how CVRP solutions shift toward OVRP structures under tight constraints and TSP structures under loose constraints.

A model trained only on "middle-ground" constraints fails because it hasn't learned the specific strategies required for these edge-case structural shifts.

Results and Performance

The proposed multi-expert approach demonstrates superior generalization and efficiency across standard benchmarks like CVRP100 and CVRPTW:

  • Generalization: On CVRP100, the model achieved an average optimality gap of 1.86% across all capacity levels, significantly outperforming previous state-of-the-art models which had average gaps between 7.22% and 23.76%.
  • Robustness in Extremes: In the most challenging tight scenario ($C=10$), the model maintained a 1.54% gap, while standard baselines like POMO and LEHD saw gaps exceed 20% and 36%, respectively.
  • Efficiency: The model remains highly practical, solving 10,000 instances in approximately 57.6 seconds, outperforming high-accuracy baselines like BQ in both speed and precision.

Conclusion

By rethinking NCO through the lens of constraint tightness, this work moves beyond "specialist" models toward robust "generalists." The combination of VCT training and the Multi-Expert Module allows a single neural network to navigate the structural shifts between different routing problem types, providing a blueprint for more adaptable and reliable combinatorial optimization in the real world.

Summary updated

BibTeX
@inproceedings{luo2025rethinking,
  author = {Fu Luo and Yaoxin Wu and Zhi Zheng and Zhenkun Wang},
  title = {{Rethinking Neural Combinatorial Optimization for Vehicle Routing Problems with Different Constraint Tightness Degrees}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=Lwn1rLB8t7},
}
Figure