Multi-Task Learning for Routing Problem with Cross-Problem Zero-Shot Generalization
About
Vehicle routing problems (VRPs), which can be found in numerous real-world applications, have been an important research topic for several decades. Recently, the neural combinatorial optimization (NCO) approach that leverages a learning-based model to solve VRPs without manual algorithm design has gained substantial attention. However, current NCO methods typically require building one model for each routing problem, which significantly hinders their practical application for real-world industry problems with diverse attributes. In this work, we make the first attempt to tackle the crucial challenge of cross-problem generalization. In particular, we formulate VRPs as different combinations of a set of shared underlying attributes and solve them simultaneously via a single model through attribute composition. In this way, our proposed model can successfully solve VRPs with unseen attribute combinations in a zero-shot generalization manner. Extensive experiments are conducted on eleven VRP variants, benchmark datasets, and industry logistic scenarios. The results show that the unified model demonstrates superior performance in the eleven VRPs, reducing the average gap to around 5% from over 20% in the existing approach and achieving a significant performance boost on benchmark datasets as well as a real-world logistics application. The source code is included in https://github.com/FeiLiu36/MTNCO.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Capacitated Vehicle Routing Problem | CVRP N=100 | Objective Value15.79 | 50 | |
| Capacitated Vehicle Routing Problem with Backhauls and Time Windows | CVRPBLTW n=50 v1 | Objective Value15.98 | 18 | |
| Capacitated Vehicle Routing Problem with Backhauls and Time Windows | CVRPBLTW n=100 v1 | Objective Value27.247 | 18 | |
| Vehicle Routing Problem | OVRP n=100 | Time (m)7 | 12 | |
| Vehicle Routing Problem | CVRP N=50 | Computation Time (m)1 | 12 | |
| Vehicle Routing Problem | VRPB n=50 | Computation Time (min)1 | 12 | |
| Asymmetric Vehicle Routing Problem | AVRP 500 customers | Objective Value44.4 | 9 | |
| Asymmetric Vehicle Routing Problem | AVRP 1K customers | Objective Value56.2 | 9 | |
| Vehicle Routing Problem with Time Windows | VRPTW 100 customers | Objective Value27.02 | 8 | |
| Vehicle Routing Problem with Time Windows | VRPTW 500 customers | Objective Value96.8 | 8 |