RouteFinder: Towards Foundation Models for Vehicle Routing Problems
About
This paper introduces RouteFinder, a comprehensive foundation model framework to tackle different Vehicle Routing Problem (VRP) variants. Our core idea is that a foundation model for VRPs should be able to represent variants by treating each as a subset of a generalized problem equipped with different attributes. We propose a unified VRP environment capable of efficiently handling any combination of these attributes. The RouteFinder model leverages a modern transformer-based encoder and global attribute embeddings to improve task representation. Additionally, we introduce two reinforcement learning techniques to enhance multi-task performance: mixed batch training, which enables training on different variants at once, and multi-variant reward normalization to balance different reward scales. Finally, we propose efficient adapter layers that enable fine-tuning for new variants with unseen attributes. Extensive experiments on 48 VRP variants show RouteFinder outperforms recent state-of-the-art learning methods. Our code is publicly available at https://github.com/ai4co/routefinder.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Vehicle Routing Problem | OCVRP 48 standard 100-node benchmark instances | Objective Value10.18 | 18 | |
| Vehicle Routing Problem | CVRP N=50 | Computation Time (m)0.03 | 12 | |
| Vehicle Routing Problem | CVRP 48 standard 100-node benchmark instances | Objective Value15.91 | 12 | |
| Vehicle Routing Problem | OVRP n=100 | Time (m)10 | 12 | |
| Vehicle Routing Problem | VRPB n=50 | Computation Time (min)1 | 12 | |
| Vehicle Routing Problem | OCVRP n=100 | Objective Value10.18 | 12 | |
| Asymmetric Vehicle Routing Problem | AVRP 500 customers | Objective Value41.52 | 9 | |
| Asymmetric Vehicle Routing Problem | AVRP 1K customers | Objective Value48.3 | 9 | |
| Vehicle Routing Problem with Time Windows | VRPTW 100 customers | Objective Value26.8 | 8 | |
| Vehicle Routing Problem with Time Windows | VRPTW 500 customers | Objective Value91.2 | 8 |