arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.06178cs.LG
收藏

面向带时间窗容量约束车辆路径问题的大语言模型增强Q学习

A Large Language Model-Enhanced Q-learning for Capacitated Vehicle Routing Problem with Time Windows

Tongji University(同济大学);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳))

Linjiang Cao, Maonan Wang, Xi Xiong

AI总结:

本文提出一种大语言模型增强的Q学习框架,通过自适应两阶段训练、三层自校正机制和经验优先回放求解带时间窗容量约束车辆路径问题,相比传统Q学习平均成本降低7.3%且收敛更快。

摘要:

带时间窗容量约束车辆路径问题(CVRPTW)是一个经典的NP难组合优化问题,广泛应用于物流配送和运输管理。其复杂性源于车辆容量和时间窗约束,这对传统方法构成了重大挑战。大语言模型(LLMs)的进展为寻找CVRPTW的近似解提供了新的可能性。本文提出了一种新颖的LLM增强Q学习框架,以解决具有实时紧急约束的CVRPTW问题。我们的方案引入了一种自适应两阶段训练机制,从LLM引导的探索阶段过渡到Q网络的自主优化阶段。为确保可靠性,我们基于大语言模型的思维链(CoT)设计了一种三层自校正机制:语法验证、语义验证和物理约束强制执行。此外,我们还优先回放由LLM生成的经验,以增强LLM在架构中的调节作用。实验结果表明,与传统Q学习相比,我们的框架实现了7.3%的平均成本降低,并且收敛所需的训练步数更少。

英文摘要:

The Capacitated Vehicle Routing Problem with Time Windows (CVRPTW) is a classic NP-hard combinatorial optimization problem widely applied in logistics distribution and transportation management. Its complexity stems from the constraints of vehicle capacity and time windows, which pose significant challenges to traditional approaches. Advances in Large Language Models (LLMs) provide new possibilities for finding approximate solutions to CVRPTW. This paper proposes a novel LLM-enhanced Q-learning framework to address the CVRPTW with real-time emergency constraints. Our solution introduces an adaptive two-phase training mechanism that transitions from the LLM-guided exploration phase to the autonomous optimization phase of Q-network. To ensure reliability, we design a three-tier self-correction mechanism based on the Chain-of-Thought (CoT) for LLMs: syntactic validation, semantic verification, and physical constraint enforcement. In addition, we also prioritized replay of the experience generated by LLMs to amplify the regulatory role of LLMs in the architecture. Experimental results demonstrate that our framework achieves a 7.3\% average reduction in cost compared to traditional Q-learning, with fewer training steps required for convergence.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑