Neural Combinatorial Optimization for Robust Routing Problem with Uncertain Travel Times

Pei Xiao, Zizhen Zhang, Jinbiao Chen, Jiahai Wang, Zhenzhen ZhangNeurIPS 2024

TL;DR

This paper introduces a neural combinatorial optimization approach to solve routing problems (like the Traveling Salesman Problem and Vehicle Routing Problem) that account for real-world uncertainty in travel times. By using a dual-attention mechanism and reinforcement learning, the authors create a model that finds "robust" routes—those minimizing the worst-case regret—in a fraction of the time required by traditional solvers.

What Problem Does This Paper Address?

The classic Traveling Salesman Problem (TSP) assumes exact knowledge of how long it takes to travel between points. In reality, traffic, weather, and road conditions make travel times highly unpredictable.

Standard "Robust Optimization" usually tries to minimize the absolute worst-case outcome, but this often leads to overly conservative solutions. Instead, this paper uses the min-max regret criterion. The goal is to find a route where the "regret"—the difference between your chosen route's time and the best possible route's time in a specific scenario—is as small as possible, even under worst-case conditions.

Min-Max Regret Example

Solving this is a "triple optimality" nightmare: you have to find the best route, while considering the worst-case scenario for that route, while comparing it to the optimal route for that specific scenario. Traditional exact solvers are painfully slow as the number of locations grows, and heuristics often struggle with the complex structure of this uncertainty.

Methods

The authors propose an end-to-end neural model based on an Encoder-Decoder architecture trained via Deep Reinforcement Learning.

Model Architecture
  1. Dual Multi-Head Cross Attention: Since travel times are given as intervals (a lower bound and an upper bound), the encoder takes two matrices as input. It uses a specialized attention mechanism to extract features from both the "optimistic" (lower bound) and "pessimistic" (upper bound) views of the network simultaneously.
  2. Reward Calculation via Pre-trained "Teacher": To train the model using reinforcement learning (REINFORCE), a reward signal is required. Calculating the exact "max-regret" for every training step is computationally impossible. The authors solve this by using a pre-trained TSP model (MatNet) to provide a fast, near-optimal baseline for the "best possible route" in the worst-case scenario.
  3. POMO Training: They utilize the "Policy Optimization with Multiple Optima" (POMO) framework, which exploits solution symmetry (starting a route from different nodes) to improve training stability and final performance.

Datasets and Key Insights

The researchers evaluated their model on randomly generated instances of the Robust TSP (RTSP) and Robust Capacitated VRP (RCVRP), using "budget uncertainty sets" that allow users to control how many edges can hit their worst-case travel time simultaneously.

  • The "Worst-Case" Shortcut: The authors leverage a mathematical theorem proving that in a budget uncertainty set, the worst-case scenario for a given route occurs when a specific number of edges hit their maximum travel time while others stay at their minimum. This "cheat code" allows the neural network to focus on a manageable subset of scenarios.
  • Approximation as a Reward: One of the biggest hurdles in Neural Combinatorial Optimization is the "inner" optimization problem. By using a pre-trained neural solver as a proxy for an exact solver during the training loop, they successfully bypassed the bottleneck that usually makes robust RL training fail.
  • Generalization across "Chaos": The model demonstrated a surprising ability to generalize. A model trained with a specific uncertainty threshold performed remarkably well even when tested on much more volatile data.

Key Results

  • Speed: The neural approach is orders of magnitude faster than traditional methods. For a 50-node problem, the neural model finds a solution in less than a second, whereas exact solvers (Branch-and-Cut) can take minutes, and some heuristics take over an hour.
  • Accuracy: When using "instance augmentation" (running multiple versions of the problem and picking the best), the model achieved an optimality gap of less than 0.7% for RTSP. In many small-scale cases, it found the exact optimal solution.
  • Robustness: In the RCVRP tests, the model significantly outperformed traditional Benders Decomposition in both solution quality and time, especially as problem size increased.

Limitations and Future Work

The primary limitation is scalability. Due to the memory requirements of the POMO training method and the complexity of the attention layers, the study capped out at 50 nodes. While 50 nodes is respectable for robust optimization, real-world logistics often involve hundreds or thousands of stops.

Future work will likely focus on scaling the architecture to handle larger-scale problems, exploring broader uncertainty sets beyond the budget-constrained model, and integrating more complex real-world constraints like time windows or dynamic re-routing.

Summary updated

BibTeX
@inproceedings{xiao2024neural,
  author = {Pei Xiao and Zizhen Zhang and Jinbiao Chen and Jiahai Wang and Zhenzhen Zhang},
  title = {{Neural Combinatorial Optimization for Robust Routing Problem with Uncertain Travel Times}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=DoewNm2uT3},
}
Figure