Multi-Task Vehicle Routing Solver via Mixture of Specialized Experts under State-Decomposable MDP

Yuxin Pan, Zhiguang Cao, Chengyang Gu, Liu Liu, Peilin Zhao, Yize Chen, Fangzhen Lin

Introduction

Vehicle Routing Problems (VRPs) are fundamental to logistics and supply chain management. However, real-world applications rarely involve a single, simple constraint. Instead, they require handling various combinations of requirements such as "Open Route" (drivers not returning to the depot), "Backhaul" (integrating pickups and deliveries), "Duration Limits," and "Time Windows."

The primary challenge in neural VRP solvers is the combinatorial explosion of these constraints. With $n$ potential constraints, there are $2^n$ possible VRP variants. Training a specialized model for every combination is computationally prohibitive, while existing "unified" solvers often struggle to generalize when faced with novel combinations of constraints. This paper introduces MoSES (Mixture-of-Specialized-Experts Solver), a framework that leverages the compositional nature of VRPs to build complex solutions from specialized "basis" experts.

Methodology

The authors propose a two-pronged approach to address multi-task VRPs: a theoretical reformulation and a practical architectural implementation.

State-Decomposable MDP (SDMDP)

The core theoretical contribution is the State-Decomposable MDP (SDMDP). By mathematically reformulating the VRP state space as a Cartesian product of "basis" state spaces, the model can treat a complex problem state as a set of conditionally independent basis states. This allows the solver to decompose a multi-constraint problem into its constituent parts.

The MoSES Architecture

MoSES implements this decomposition through a Mixture-of-Experts (MoE) approach:

  1. Specialized LoRA Experts: Starting with a frozen backbone trained on the basic Capacitated VRP (CVRP), the authors use Low-Rank Adaptation (LoRA) to create four tiny, specialized experts. Each is fine-tuned on exactly one basis constraint (e.g., Time Windows or Backhauls).
  2. Gated-LoRA: To ensure the frozen backbone does not interfere with specialized features, a gating mechanism is introduced during fine-tuning.
  3. Adaptive Gating and Latent Merging: In the final unified solver, a learnable mixture function (the "gate") analyzes the current problem and dynamically weights the latent embeddings from each expert at every layer and token. This "Latent Space SDMDP" (LS-SDMDP) approach allows the model to merge the knowledge of multiple experts without the performance degradation often seen in weight-merging techniques.
Architectural overview of the SDMDP and LS-SDMDP frameworks.

Experimental Results

The researchers evaluated MoSES across 16 VRP variants generated by combining four basis constraints. Benchmarks were conducted on synthetic instances ($N=50$ and $N=100$ nodes) and the real-world CVRPLIB X set (up to 1,001 nodes).

Performance and Generalization

MoSES consistently outperformed existing state-of-the-art (SOTA) unified solvers, including MTPOMO, MVMoE, and CaDA. On the RF-TE backbone at $N=50$, MoSES achieved a 25.6% relative improvement in the optimality gap compared to previous methods.

Performance comparison across 16 VRP variants for N=50 and N=100.

Beyond raw performance, MoSES demonstrated remarkable Out-of-Distribution (OOD) generalization. When tested on unseen attribute values—such as significantly tighter time windows or larger vehicle capacities—MoSES maintained robust performance, whereas single unified models often failed. This suggests that the mixture-of-experts approach effectively captures the underlying logic of individual constraints rather than just memorizing training patterns.

Discussion and Conclusion

The success of MoSES highlights that compositionality is key to solving complex combinatorial problems. By merging latent embeddings rather than model weights, MoSES successfully recovers near-optimal policies for multi-constraint problems using only basis-level training.

While the layer-wise and token-wise gating introduces some computational overhead, the per-instance processing time remains in the microsecond range, making it viable for real-time logistics. Future work may explore automated expert selection and extending the state-decomposable framework to broader decision-making domains beyond vehicle routing.

Summary updated

BibTeX
@inproceedings{pan2025multi,
  author = {Yuxin Pan and Zhiguang Cao and Chengyang GU and Liu Liu and Peilin Zhao and Yize Chen and Fangzhen Lin},
  title = {{Multi-Task Vehicle Routing Solver via Mixture of Specialized Experts under State-Decomposable MDP}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=ezSyZM6Lp7},
}
Figure