[Paper Review] MVMoE: Multi-Task Vehicle Routing Solver with Mixture-of-Experts
This paper proposes MVMoE, a unified multi-task vehicle routing solver leveraging a mixture-of-experts (MoE) architecture with hierarchical gating to enable strong zero-shot generalization across 10 unseen VRP variants. By selectively activating expert subnetworks per task, MVMoE achieves high model capacity with controlled computation, outperforming baselines in both zero-shot and few-shot settings on synthetic and real-world benchmarks.
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.
Motivation & Objective
- To develop a unified neural solver capable of handling multiple VRP variants simultaneously, overcoming the limitations of task-specific models.
- To enhance zero-shot generalization performance on unseen VRP variants without retraining.
- To improve model capacity without proportionally increasing computational cost, enabling practical deployment.
- To investigate the impact of MoE configurations—such as expert count, MoE placement, and gating mechanisms—on generalization performance.
- To evaluate the model’s robustness on real-world benchmark instances and out-of-distribution data.
Proposed method
- MVMoE employs a Transformer-based encoder-decoder architecture enhanced with mixture-of-experts (MoE) layers replacing standard feed-forward networks.
- Each MoE layer contains multiple expert subnetworks, with a gating network routing inputs to activate only a subset of experts per token, enabling conditional computation.
- A hierarchical gating mechanism is introduced to balance performance and computational complexity, improving generalization under distribution shift.
- The model is trained end-to-end on a diverse set of VRP variants using a unified loss objective, leveraging the compositional zero-shot learning framework from Liu et al. (2024).
- The MoE layers are strategically placed in the decoder to allow task-specific expert specialization while maintaining shared representation learning in the encoder.
- The model leverages the attribute-based VRP formulation from Liu et al. (2024), treating each VRP variant as a combination of underlying attributes to enable zero-shot transfer.
Experimental results
Research questions
- RQ1Can a single neural solver trained on diverse VRP variants generalize effectively to 10 unseen VRP variants in a zero-shot manner?
- RQ2How does hierarchical gating compare to standard gating in terms of zero-shot generalization and computational efficiency?
- RQ3What is the impact of MoE hyperparameters—such as the number of experts and MoE layer placement—on generalization performance?
- RQ4Does MVMoE maintain strong performance on real-world VRP benchmark instances under few-shot fine-tuning?
- RQ5How does MVMoE handle out-of-distribution VRP variants compared to baselines?
Key findings
- MVMoE achieves a 29.658% average gap on 10 unseen VRP variants in the zero-shot setting, significantly outperforming baselines.
- The hierarchical gating mechanism reduces the average gap to 6.884% on unseen VRPs, demonstrating superior out-of-distribution generalization compared to standard gating.
- On real-world instances, MVMoE achieves an average gap of 7.001% in the few-shot setting, showing strong practical performance.
- The model with 16 experts and hierarchical gating achieves the best trade-off between performance and computational cost, reducing inference time while maintaining high accuracy.
- Extensive ablation studies confirm that MoE placement in the decoder and the use of attribute-based input representation are critical for zero-shot generalization.
- MVMoE reduces the average gap by over 20 percentage points compared to the strongest baseline on unseen VRP variants, highlighting its strong generalization capability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.