MVMoE: Multi-Task Vehicle Routing Solver with Mixture-of-Experts
Jianan Zhou, Zhiguang Cao, Yaoxin Wu, Wen Song, Yining Ma, Jie Zhang, Chi Xu
TL;DR
This work tackles the challenge of solving multiple VRP variants with a single neural model. It introduces MVMoE, a mixture-of-experts architecture that places MoE layers in both the encoder and decoder, coupled with a hierarchical gating mechanism to balance accuracy and computational cost. The model is trained on randomly sampled VRP variants, enabling strong zero-shot generalization to unseen configurations and robust few-shot performance. Empirical results show substantial improvements over baselines on unseen VRPs and real-world benchmarks, with the hierarchical gating offering better out-of-distribution generalization and efficiency. This approach advances the practical applicability of neural VRP solvers by providing a foundation model-like, multi-task capability for combinatorial optimization problems.
Abstract
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.
