Lifelong Learner: Discovering Versatile Neural Solvers for Vehicle Routing Problems

Shaodi Feng, Zhuoyi Lin, Jianan Zhou, Cong Zhang, Jingwen Li +3 more
8/8/2025
cs.LGcs.AIcs.RO

No confident code implementation found for this paper.

Abstract

Deep learning has been extensively explored to solve vehicle routing problems (VRPs), which yields a range of data-driven neural solvers with promising outcomes. However, most neural solvers are trained to tackle VRP instances in a relatively monotonous context, e.g., simplifying VRPs by using Euclidean distance between nodes and adhering to a single problem size, which harms their off-the-shelf application in different scenarios. To enhance their versatility, this paper presents a novel lifelong learning framework that incrementally trains a neural solver to manage VRPs in distinct contexts. Specifically, we propose a lifelong learner (LL), exploiting a Transformer network as the backbone, to solve a series of VRPs. The inter-context self-attention mechanism is proposed within LL to transfer the knowledge obtained from solving preceding VRPs into the succeeding ones. On top of that, we develop a dynamic context scheduler (DCS), employing the cross-context experience replay to further facilitate LL looking back on the attained policies of solving preceding VRPs. Extensive results on synthetic and benchmark instances (problem sizes up to 18k) show that our LL is capable of discovering effective policies for tackling generic VRPs in varying contexts, which outperforms other neural solvers and achieves the best performance for most VRPs.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{feng2025lifelong,
  title  = {Lifelong Learner: Discovering Versatile Neural Solvers for Vehicle Routing Problems},
  author = {Shaodi Feng and Zhuoyi Lin and Jianan Zhou and Cong Zhang and Jingwen Li and Kuan-Wen Chen and Senthilnath Jayavelu and Yew-Soon Ong},
  year   = {2025},
  eprint = {2508.11679},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.11679v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.11679.svg)](https://codeofpaper.com/paper/2508.11679)

Discussion