Improving Generalization of Neural Vehicle Routing Problem Solvers Through the Lens of Model Architecture

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Xiao, Yubin, Wang, Di, Wu, Xuan, Wu, Yuesong, Li, Boyang, Du, Wei, Wang, Liupu, Zhou, You
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909540122886144
author Xiao, Yubin
Wang, Di
Wu, Xuan
Wu, Yuesong
Li, Boyang
Du, Wei
Wang, Liupu
Zhou, You
author_facet Xiao, Yubin
Wang, Di
Wu, Xuan
Wu, Yuesong
Li, Boyang
Du, Wei
Wang, Liupu
Zhou, You
contents Neural models produce promising results when solving Vehicle Routing Problems (VRPs), but often fall short in generalization. Recent attempts to enhance model generalization often incur unnecessarily large training cost or cannot be directly applied to other models solving different VRP variants. To address these issues, we take a novel perspective on model architecture in this study. Specifically, we propose a plug-and-play Entropy-based Scaling Factor (ESF) and a Distribution-Specific (DS) decoder to enhance the size and distribution generalization, respectively. ESF adjusts the attention weight pattern of the model towards familiar ones discovered during training when solving VRPs of varying sizes. The DS decoder explicitly models VRPs of multiple training distribution patterns through multiple auxiliary light decoders, expanding the model representation space to encompass a broader range of distributional scenarios. We conduct extensive experiments on both synthetic and widely recognized real-world benchmarking datasets and compare the performance with seven baseline models. The results demonstrate the effectiveness of using ESF and DS decoder to obtain a more generalizable model and showcase their applicability to solve different VRP variants, i.e., travelling salesman problem and capacitated VRP. Notably, our proposed generic components require minimal computational resources, and can be effortlessly integrated into conventional generalization strategies to further elevate model generalization.
format Preprint
id arxiv_https___arxiv_org_abs_2406_06652
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Improving Generalization of Neural Vehicle Routing Problem Solvers Through the Lens of Model Architecture
Xiao, Yubin
Wang, Di
Wu, Xuan
Wu, Yuesong
Li, Boyang
Du, Wei
Wang, Liupu
Zhou, You
Machine Learning
Artificial Intelligence
Neural models produce promising results when solving Vehicle Routing Problems (VRPs), but often fall short in generalization. Recent attempts to enhance model generalization often incur unnecessarily large training cost or cannot be directly applied to other models solving different VRP variants. To address these issues, we take a novel perspective on model architecture in this study. Specifically, we propose a plug-and-play Entropy-based Scaling Factor (ESF) and a Distribution-Specific (DS) decoder to enhance the size and distribution generalization, respectively. ESF adjusts the attention weight pattern of the model towards familiar ones discovered during training when solving VRPs of varying sizes. The DS decoder explicitly models VRPs of multiple training distribution patterns through multiple auxiliary light decoders, expanding the model representation space to encompass a broader range of distributional scenarios. We conduct extensive experiments on both synthetic and widely recognized real-world benchmarking datasets and compare the performance with seven baseline models. The results demonstrate the effectiveness of using ESF and DS decoder to obtain a more generalizable model and showcase their applicability to solve different VRP variants, i.e., travelling salesman problem and capacitated VRP. Notably, our proposed generic components require minimal computational resources, and can be effortlessly integrated into conventional generalization strategies to further elevate model generalization.
title Improving Generalization of Neural Vehicle Routing Problem Solvers Through the Lens of Model Architecture
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2406.06652