[论文解读] DiLu: A Knowledge-Driven Approach to Autonomous Driving with Large Language Models
DiLu 引入了一个知识驱动的自动驾驶框架,该框架使用交互式环境、记忆模块和具备推理与反思能力的驾驶代理,通过利用大型语言模型与存储的经验来提升泛化能力。
Recent advancements in autonomous driving have relied on data-driven approaches, which are widely adopted but face challenges including dataset bias, overfitting, and uninterpretability. Drawing inspiration from the knowledge-driven nature of human driving, we explore the question of how to instill similar capabilities into autonomous driving systems and summarize a paradigm that integrates an interactive environment, a driver agent, as well as a memory component to address this question. Leveraging large language models (LLMs) with emergent abilities, we propose the DiLu framework, which combines a Reasoning and a Reflection module to enable the system to perform decision-making based on common-sense knowledge and evolve continuously. Extensive experiments prove DiLu's capability to accumulate experience and demonstrate a significant advantage in generalization ability over reinforcement learning-based methods. Moreover, DiLu is able to directly acquire experiences from real-world datasets which highlights its potential to be deployed on practical autonomous driving systems. To the best of our knowledge, we are the first to leverage knowledge-driven capability in decision-making for autonomous vehicles. Through the proposed DiLu framework, LLM is strengthened to apply knowledge and to reason causally in the autonomous driving domain. Project page: https://pjlab-adg.github.io/DiLu/
研究动机与目标
- 推动将纯数据驱动的自动驾驶转向受人类驾驶启发的知识驱动范式。
- 提出一个框架(DiLu),将交互式环境、记忆模块以及具备推理与反思能力的驾驶代理整合在一起。
- 实现基于 LLM 的决策,使其查询记忆、运用常识知识进行推理并进行反思以更新经验。
提出的方法
- 实现一个四模块的 DiLu 框架:Environment、Reasoning、Reflection 与 Memory。
- 使用 Memory Module 将场景描述与推理过程存储为经验。
- 使用 Reasoning Module 对场景进行编码、回忆相似经历、生成提示,并通过带链路思维提示(Chain-of-Thought prompting)的 LLM 解码行动。
- 整合 Reflection Module,识别不安全决策,并通过 LLM 重新修正,然后更新 Memory Module。
- 证明 DiLu 能积累经验并在泛化方面优于基于 RL 的方法,包括从真实世界数据的迁移。
实验结果
研究问题
- RQ1具备记忆与 LLM 推理的知识驱动框架是否能在自动驾驶决策上优于数据驱动的 RL 方法?
- RQ2带记忆增强的 LLMs 是否能在不同驾驶环境和真实世界数据集上实现泛化?
- RQ3反思过程如何影响从错误中学习以及更新驾驶记忆?
- RQ4少样本经验对 Reasoning 模块性能的影响是什么?
主要发现
- DiLu 在经验显著更少的情况下达到与 RL 方法相当的性能(例如 40 条记忆对比数十万条 RL 经验),同时展现出更强的泛化能力。
- 记忆大小和少样本提示显著影响驾驶成功率,在测试场景中,40 条记忆和 5-shot 提示实现了高成功率。
- DiLu 能将真实世界数据集 CitySim 的知识迁移到仿真驾驶中,并在更拥堵的环境中表现出鲁棒性。
- Reflection 模块通过修正不安全决策并用更正的经验丰富 Memory Module 来提升安全性。
- DiLu 在跨环境测试中表现出比 GRAD 更好的泛化,显示对训练场景的过拟合更少。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。