Manuscript Offprint

arXiv:2608.24859

Improving Cross-Problem Vehicle Routing with Locally Augmented Preferences and Representation Disentanglement

Arthur Corrêa, Paulo Nascimento, Samuel Moniz

ABSTRACT

Multi-task vehicle routing problem (VRP) solvers seek to handle multiple VRP variants within a single unified model, avoiding the need to train a separate model for every variant. In spite of recent progress, current approaches remain limited on two fronts. On the training side, reinforcement learning suffers from reward-scale disparities and shrinking advantage signals as policies improve, whereas preference optimization stagnates once sampled tours become near-identical and thus fundamentally limited by the quality of the policy's own generated solutions, leaving both paradigms with weak supervision as training progresses. On the architecture side, existing fully shared encoders entangle constraint-dependent representations across heterogeneous variants, which limits generalization. We address these gaps with two model-agnostic contributions. First, we propose Preference Optimization with Locally Augmented Refinement (POLAR), a novel training algorithm that applies a local search refinement pass to the best decoded tour before forming preference pairs, yielding much more informative pairwise margins. Second, a Progressive Layered Extraction (PLE) encoder routes each encoder layer through one shared expert and a set of task-specific experts via a gating mechanism, progressively separating common routing structure from constraint-specific encodings. Through extensive experiments on various VRP variants, we show that POLAR and PLE together elevate the current state-of-the-art among neural multi-task solvers. We reduce the average gap to reference solutions by 21.3% relative to the strongest published baseline on 16 in-distribution variants, and outperform prior neural methods on 27 out of 32 unseen variants. Ablation studies confirm the efficacy of each contribution, showing that both improve cross-problem generalization across multiple backbone model architectures.

1 INTRODUCTION

The Vehicle Routing Problem (VRP) is a critical Combinatorial Optimization (CO) problem in modern logistics and supply-chain decision support (Cattaruzza et al., 2017; Wang et al., 2020). In essence, it entails finding the optimal set of routes for a fleet of vehicles to serve geographically dispersed customers, with the objective typically being to minimize the total travel distance. Historically, VRPs have been mainly tackled by exact algorithms and meta-heuristics (Laporte, 1992). While exact methods guarantee optimality, they scale poorly on instances larger than one hundred nodes (Pessoa et al., 2020). Conversely, meta-heuristics present greater scalability and speed, but their design requires expert tuning. More recently, neural constructive solvers have emerged as a compelling alternative for CO problems (Bengio et al., 2021). By leveraging deep learning to learn highly effective policies, these methods achieve much more reasonable computational times than traditional approaches, without requiring specialized domain knowledge. In practice, however, VRPs are subject to diverse operational constraints, such as vehicle capacity, time windows and backhauls, whose combinations give rise to numerous variants of the problem (Braekers et al., 2016).

∗^{*}Corresponding author.

Recent work has addressed this heterogeneity through unified Multi-Task Learning (MTL) models that learn shared representations across multiple VRP variants (Liu et al., 2024; Zhou et al., 2024; Berto et al., 2025; Li et al., 2025). This paradigm is attractive from the perspective of decision support systems and practitioners, since a single deployable model can support diverse routing scenarios without retraining a separate solver for every operational configuration. Nevertheless, some limitations still prevent MTL models from achieving better generalization. First, training remains dominated by Reinforcement Learning (RL). Although RL has long been the gold standard training paradigm in neural-based CO, it suffers from some drawbacks: (i) policies become less informative as they improve, since the advantage gap between sampled solutions and their baseline shrinks, which can slow down convergence; (ii) the different reward scales between VRP variants produce uneven gradient magnitudes, which is problematic in the MTL setting since gradients from one task can dominate and suppress updates for others (Hessel et al., 2019). Alternative training paradigms, such as self-labeling from the best sampled tour (Corsini et al., 2024) reduce reliance on scalar rewards, but discard most generated trajectories, suffering from limited sample efficiency. Preference Optimization (PO) (Pan et al., 2025a; Corrêa et al., 2026) offers a more attractive compromise. By learning from relative rankings, the supervision is inherently insensitive to heterogeneous cost scales. Yet, PO is only as informative as the tours being compared. When the policy generates increasingly similar solutions, pairwise preferences carry small cost margins and learning can stagnate for reasons analogous to the advantage collapse in RL. This observation highlights a critical opportunity: improving the quality of candidate solutions used for preference learning. If policy-generated solutions could be efficiently refined in an a posteriori manner (without distorting the underlying policy distribution), the resulting higher-quality pairwise comparisons could provide stronger learning signals. Such an approach has the potential to navigate towards much more promising regions of the solution space by escaping local minima, narrowing the performance gaps between neural methods and traditional optimization algorithms even more.

Second, most existing MTL architectures adopt fully shared representations, wherein a single backbone is trained jointly across all problem variants. This design assumes that a single unified latent space can capture the heterogeneous structures of diverse constraints (Ruder, 2017). While this architectural choice enables parameter efficiency, it introduces some limitations. In particular, fully shared models are more prone to the gradient interference challenge (Yu et al., 2020), which can entangle conflicting task signals in shared parameters and yield suboptimal representations across all tasks. Without mechanisms that separate common routing geometry from constraint-specific computation, dominant patterns learned for one variant can suppress or overwrite those required by another. Recent architectural proposals mitigate this issue through soft parameter sharing and feature-wise linear modulation (Wang et al., 2026; Corrêa et al., 2026). Nevertheless, representation entanglement remains a fundamental challenge in cross-problem VRP learning.

Building on the aforementioned gaps, we develop a unified framework comprising POLAR (Preference Optimization with Local Augmented Refinement) for training-time refinement and a Progressive Layered Extraction (PLE) encoder for effective representation disentanglement. Our main contributions are as follows:

• We propose POLAR, a novel training algorithm for MTL models, combining PO with an LS refinement step on the best decoded tour per instance. By widening pairwise preference margins at a modest CPU cost, POLAR significantly improves convergence and generalization over REINFORCE and PO-only training across multiple MTL backbones.

• We introduce a PLE encoder motivated by gradient interference and representation entanglement across heterogeneous constraints. A hierarchy of shared and task-specific experts, combined with a learned gating mechanism, progressively separates common routing structure from variant-specific signals without having to train separate models for each constraint type.

• Extensive experiments on synthetic and benchmark instances demonstrate that POLAR and PLE elevate the existing state-of-the-art on MTL models. Through comprehensive ablations, we validate the effectiveness and individual impact of our contributions. Moreover, we show that both POLAR and PLE are architecture-agnostic, allowing seamless integration into a wide range of MTL backbones while consistently improving generalization.

The rest of this paper is organized as follows. Section 2 describes the problem setting. Section 3 presents the PLE encoder and the POLAR training algorithm. Section 4 presents the experiments, including ablations. Section 5 concludes. Related work (Appendix A), a detailed architecture overview and further analyses are deferred to the appendix.

References (92)