用检索增强的LLM代理提升交通信号控制,应急响应更可靠且跨路口通用。
Retrieval Augmented Generation-Enhanced Distributed LLM Agents for Generalizable Traffic Signal Control with Emergency Vehicles
- 基于历史案例动态调参的应急推理框架,提升决策可靠性。
- 在真实路网中使应急车等待时间减少83.16%,整体通行时间降低42%。
- 适合需要高鲁棒性与跨场景泛化的智能交通系统开发者。
随着城市交通日益复杂,交通信号控制(TSC)对优化交通流和提升道路安全至关重要。大语言模型(LLMs)为TSC提供了新思路,但在紧急情况下易产生幻觉,导致不可靠决策,可能显著延误应急车辆。此外,不同类型的交叉口给交通状态编码和跨交叉口训练带来挑战,限制了在异构路口间的泛化能力。为此,本文提出检索增强生成(RAG)增强的分布式LLM代理,用于可泛化的交通信号控制(REG-TSC)。首先,设计了一种应急感知推理框架,根据紧急情况动态调整推理深度,并引入新型评审员式应急检索增强生成(RERAG),从历史案例中提炼特定知识与指导,提升代理在应急情形下的决策可靠性与合理性。其次,设计了类型无关的交通表示方法,提出基于奖励的强化精炼(R3),通过环境反馈优先级自适应采样多样交叉口的训练经验,并使用设计的奖励加权似然损失微调LLM代理,引导REG-TSC在异构交叉口上学习高回报策略。在包含17至177个异构交叉口的三个真实道路网络上,大量实验表明,REG-TSC将旅行时间减少42.00%,队列长度降低62.31%,应急车辆等待时间缩短83.16%,优于其他最先进方法。
原文摘要 · Abstract (English)
With increasing urban traffic complexity, Traffic Signal Control (TSC) is essential for optimizing traffic flow and improving road safety. Large Language Models (LLMs) emerge as promising approaches for TSC. However, they are prone to hallucinations in emergencies, leading to unreliable decisions that may cause substantial delays for emergency vehicles. Moreover, diverse intersection types present substantial challenges for traffic state encoding and cross-intersection training, limiting generalization across heterogeneous intersections. Therefore, this paper proposes Retrieval Augmented Generation (RAG)-enhanced distributed LLM agents with Emergency response for Generalizable TSC (REG-TSC). Firstly, this paper presents an emergency-aware reasoning framework, which dynamically adjusts reasoning depth based on the emergency scenario and is equipped with a novel Reviewer-based Emergency RAG (RERAG) to distill specific knowledge and guidance from historical cases, enhancing the reliability and rationality of agents' emergency decisions. Secondly, this paper designs a type-agnostic traffic representation and proposes a Reward-guided Reinforced Refinement (R3) for heterogeneous intersections. R3 adaptively samples training experience from diverse intersections with environment feedback-based priority and fine-tunes LLM agents with a designed reward-weighted likelihood loss, guiding REG-TSC toward high-reward policies across heterogeneous intersections. On three real-world road networks with 17 to 177 heterogeneous intersections, extensive experiments show that REG-TSC reduces travel time by 42.00%, queue length by 62.31%, and emergency vehicle waiting time by 83.16%, outperforming other state-of-the-art methods.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。