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 | 73 | |
| Vehicle Routing Problem with Time Windows | VRPTW 100 customers | Objective Value26.433 | 24 | |
| Asymmetric Capacitated Vehicle Routing Problem | Real-world ACVRP Out-of-distribution cluster | Cost34.287 | 22 | |
| Asymmetric Capacitated Vehicle Routing Problem | Real-world ACVRP In-distribution | Cost86.521 | 22 | |
| Asymmetric Capacitated Vehicle Routing Problem | Real-world ACVRP Out-of-distribution city | Cost86.446 | 22 | |
| 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 | 17 | |
| Capacitated Vehicle Routing Problem | CVRP N=50 | Objective Value10.52 | 17 | |
| Asymmetric Capacitated Vehicle Routing Problem with Time Windows | Real-world ACVRPTW Out-of-distribution cluster | Solution Cost50.372 | 14 |