INViT: A Generalizable Routing Problem Solver with Invariant Nested View Transformer
About
Recently, deep reinforcement learning has shown promising results for learning fast heuristics to solve routing problems. Meanwhile, most of the solvers suffer from generalizing to an unseen distribution or distributions with different scales. To address this issue, we propose a novel architecture, called Invariant Nested View Transformer (INViT), which is designed to enforce a nested design together with invariant views inside the encoders to promote the generalizability of the learned solver. It applies a modified policy gradient algorithm enhanced with data augmentations. We demonstrate that the proposed INViT achieves a dominant generalization performance on both TSP and CVRP problems with various distributions and different problem scales.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Capacitated Vehicle Routing Problem | CVRPLib Set X | Average Optimality Gap7.06 | 111 | |
| Capacitated Vehicle Routing Problem | CVRP N=100 | Objective Value16.452 | 73 | |
| Traveling Salesman Problem | TSP 1K (test) | Length24.5 | 45 | |
| Traveling Salesperson Problem | TSPLIB pr2392 | Optimality Gap (%)8.12 | 36 | |
| Traveling Salesperson Problem | TSPLIB pr1002 | Optimality Gap10.55 | 36 | |
| Traveling Salesman Problem | TSP 10,000 randomly generated instances (test) | Cost76.09 | 29 | |
| Traveling Salesman Problem | Uniform-TSP1000 | Optimality Gap5.99 | 18 | |
| Traveling Salesperson Problem | TSPLIB fl1577 | Optimality Gap7.65 | 15 | |
| Traveling Salesperson Problem | TSPLIB u2152 | Optimality Gap7.11 | 15 | |
| Traveling Salesperson Problem | TSPLIB pcb3038 | Optimality Gap7.85 | 15 |