MVMoE: Multi-Task Vehicle Routing Solver with Mixture-of-Experts
About
Learning to solve vehicle routing problems (VRPs) has garnered much attention. However, most neural solvers are only structured and trained independently on a specific problem, making them less generic and practical. In this paper, we aim to develop a unified neural solver that can cope with a range of VRP variants simultaneously. Specifically, we propose a multi-task vehicle routing solver with mixture-of-experts (MVMoE), which greatly enhances the model capacity without a proportional increase in computation. We further develop a hierarchical gating mechanism for the MVMoE, delivering a good trade-off between empirical performance and computational complexity. Experimentally, our method significantly promotes zero-shot generalization performance on 10 unseen VRP variants, and showcases decent results on the few-shot setting and real-world benchmark instances. We further conduct extensive studies on the effect of MoE configurations in solving VRPs, and observe the superiority of hierarchical gating when facing out-of-distribution data. The source code is available at: https://github.com/RoyalSkye/Routing-MVMoE.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Capacitated Vehicle Routing Problem | CVRPLib Set X | Average Optimality Gap6.88 | 111 | |
| Capacitated Vehicle Routing Problem | CVRP N=100 | Objective Value15.76 | 73 | |
| Vehicle Routing Problem with Time Windows | Solomon 1987 (Generalization Set) | Obj Value1.73e+3 | 33 | |
| Vehicle Routing Problem | VRP Variant Specific (n=50, 100) 1K 1 (test) | Objective Value5.998 | 25 | |
| Vehicle Routing Problem with Time Windows | VRPTW 100 customers | Objective Value26.39 | 24 | |
| Asymmetric Capacitated Vehicle Routing Problem | Real-world ACVRP Out-of-distribution cluster | Cost34.135 | 22 | |
| Asymmetric Capacitated Vehicle Routing Problem | Real-world ACVRP In-distribution | Cost86.248 | 22 | |
| Asymmetric Capacitated Vehicle Routing Problem | Real-world ACVRP Out-of-distribution city | Cost86.111 | 22 | |
| Heterogeneous Fleet Open Vehicle Routing Problem | HFOVRP N=50, K=20 (test) | Objective Value2.76 | 20 | |
| Heterogeneous Fleet Capacitated Vehicle Routing Problem | HFCVRP (N=50, K=20) (test) | Objective Value3.74 | 20 |