Papers › Multi-Task Learning for Routing Problem with Cross-Problem Zero-Shot Generalization

Multi-Task Learning for Routing Problem with Cross-Problem Zero-Shot Generalization

23 Feb 2024arXiv:2402.16891archive 2025-07-28

Fei Liu, Xi Lin, Zhenkun Wang, Qingfu Zhang, Xialiang Tong, Mingxuan Yuan

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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2402.16891")

Code

Syntology Ran 7 of 10 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 1 ran · our draft was wrong; 1 ran · fixture could not drive it; 5 ran with no contract checked.

By repository: official repository: 10 samples from 1 repository, 7 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

feiliu36/mtnco officialmentioned in papermentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 7 ran; 0 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
1ran · fixture could not drive it
5ran
3unverified

Licence: 0 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from feiliu36/mtnco. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

get_random_problems feiliu36/mtnco/Baseline/CVRP/VRProblemDef.py official repository ran MIT (permissive) · d70f402736610169 · report
get_random_problems_CVRP feiliu36/mtnco/Baseline/CVRP/VRProblemDef.py official repository ran MIT (permissive) · a3a58e9389185594 · report
get_random_problems_CVRP feiliu36/mtnco/Baseline/OVRP/VRProblemDef.py official repository ran MIT (permissive) · 388d9c25e2160ab5 · report
get_random_problems_VRPL feiliu36/mtnco/Baseline/VRPL/VRProblemDef.py official repository ran MIT (permissive) · 1e68f34ef32c83c8 · report
get_random_problems_mixed feiliu36/mtnco/MTPOMO/VRProblemDef.py official repository ran MIT (permissive) · 99fee1646df9b6a2 · report
multi_head_attention feiliu36/mtnco/MTPOMO/POMO/VRPModel.py official repository ran · fixture could not drive it MIT (permissive) · 6dc103e776ff9eed · report
reshape_by_heads feiliu36/mtnco/MTPOMO/POMO/VRPModel.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 459fe521069329c6 · report
augment_xy_data_by_8_fold feiliu36/mtnco/MTPOMO/VRProblemDef.py official repository unverified MIT (permissive) · 445c20b7977e2393 · report
get_random_problems feiliu36/mtnco/Baseline/OVRP/VRProblemDef.py official repository unverified MIT (permissive) · f0b32fbf3b6d4fb4 · report
get_random_problems_VRPB feiliu36/mtnco/Baseline/VRPB/VRProblemDef.py official repository unverified MIT (permissive) · 69bfcf1710ad19b4 · report

Tasks

AttributeCombinatorial OptimizationMulti-Task LearningZero-shot Generalization

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

SET

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections