重新思考神经车辆路径问题中的位置编码
Rethinking Positional Encoding for Neural Vehicle Routing
AI总结:
本文针对车辆路径问题中位置编码的不足,提出一种层次化各向异性位置编码,结合几何基础原理,通过分析多种PE方法,证明几何引导的PE在不同问题变体和模型架构中均表现更优。
摘要:
基于Transformer的模型已成为神经组合优化(NCO)中车辆路径问题(VRPs)的主流范式,但这些架构中位置编码(PE)的作用仍鲜有探索。与自然语言不同,路径解决方案具有若干特性,使得标准NLP位置编码不适用。本文正式定义了三种结构特性,即非等距节点距离、循环和方向感知拓扑,以及层次化以集散地为中心的全局多路径结构,并结合统一的设计原则几何基础。基于这些标准,我们分析并比较了涵盖NLP、图变换器和特定路径方法的PE方法,并提出了一种层次化各向异性PE,结合距离索引的循环一致路径编码和以集散地为中心的角交叉路径编码。在多种VRP变体上的广泛实验表明,几何引导的PE在不同问题变体、模型架构和分布偏移中均表现更优。
英文摘要:
Transformer-based models have become the dominant paradigm for neural combinatorial optimization (NCO) of vehicle routing problems (VRPs), yet the role of positional encoding (PE) in these architectures remains largely unexplored. Unlike natural language, where tokens are uniformly spaced on a line, routing solutions exhibit several properties that render standard NLP positional encodings inadequate. In this work, we formalize three such structural properties that a routing-aware PE should respect, namely anisometric node distances, cyclic and direction-aware topology, and hierarchical depot-anchored global multi-route structure, combining them with a unifying design principle of geometric grounding. Guided by these criteria, we analyze and compare PE methods spanning NLP, graph-transformer, and routing-specific families, and propose a hierarchical anisometric PE that combines a distance-indexed, circularly consistent in-route encoding with a depot-anchored angular cross-route encoding. Extensive experiments across diverse VRP variants demonstrate that geometry-grounded PE consistently outperforms index-based alternatives, with gains that transfer across problem variants, model architectures, and distribution shifts.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。