用大模型当红绿灯大脑,实时优化城市路口交通流。
Large Language Models (LLMs) as Traffic Control Systems at Urban Intersections: A New Paradigm
- 用大模型统一处理交通数据,实现上下文感知的智能决策。
- 微调后的GPT-mini在冲突识别上准确率达83%,F1值0.84。
- 可生成具体指令如让行、减速,适合自动驾驶与智慧交通场景。
本研究提出一种新型交通控制系统,将大型语言模型(LLMs)作为交通控制器。利用其逻辑推理、场景理解与决策能力,实现实时交通状态反馈与通行效率优化。LLMs整合多源交通数据,统一传统分散的控制流程,并可通过无线信号、视觉提示等方式向驾驶员、基础设施及自动驾驶车辆提供定制化输出。为评估其性能,研究构建四阶段方法:数据生成与环境初始化、提示工程、冲突识别与微调。在多车道四岔口仿真场景中,通过Python模拟生成真实标注数据集,用于冲突检测。采用思维链提示引导模型理解上下文、识别冲突、依据交通规则化解并生成情境敏感的管理方案。评估GPT-mini、Gemini和Llama模型表现,结果显示微调后GPT-mini在冲突识别任务中达到83%准确率与0.84的F1分数;其在冲突识别(ROUGE-L 0.95)、决策(0.91)、优先级分配(0.94)及等待时间优化(0.92)方面均表现优异。实验表明,该系统能实时生成精准驾驶建议,如让行、减速或停车,基于车辆动态做出响应。
原文摘要 · Abstract (English)
This study introduces a novel approach for traffic control systems by using Large Language Models (LLMs) as traffic controllers. The study utilizes their logical reasoning, scene understanding, and decision-making capabilities to optimize throughput and provide feedback based on traffic conditions in real-time. LLMs centralize traditionally disconnected traffic control processes and can integrate traffic data from diverse sources to provide context-aware decisions. LLMs can also deliver tailored outputs using various means such as wireless signals and visuals to drivers, infrastructures, and autonomous vehicles. To evaluate LLMs ability as traffic controllers, this study proposed a four-stage methodology. The methodology includes data creation and environment initialization, prompt engineering, conflict identification, and fine-tuning. We simulated multi-lane four-leg intersection scenarios and generates detailed datasets to enable conflict detection using LLMs and Python simulation as a ground truth. We used chain-of-thought prompts to lead LLMs in understanding the context, detecting conflicts, resolving them using traffic rules, and delivering context-sensitive traffic management solutions. We evaluated the prformance GPT-mini, Gemini, and Llama as traffic controllers. Results showed that the fine-tuned GPT-mini achieved 83% accuracy and an F1-score of 0.84. GPT-mini model exhibited a promising performance in generating actionable traffic management insights, with high ROUGE-L scores across conflict identification of 0.95, decision-making of 0.91, priority assignment of 0.94, and waiting time optimization of 0.92. We demonstrated that LLMs can offer precise recommendations to drivers in real-time including yielding, slowing, or stopping based on vehicle dynamics.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。