[Paper Review] DiLu: A Knowledge-Driven Approach to Autonomous Driving with Large Language Models
DiLu introduces a knowledge-driven autonomous driving framework that uses an interactive environment, a memory module, and a driver agent with reasoning and reflection to improve generalization by leveraging large language models and stored experiences.
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/
Motivation & Objective
- Motivate shifting from purely data-driven autonomous driving to a knowledge-driven paradigm inspired by human driving.
- Propose a framework (DiLu) that integrates an interactive environment, a memory module, and a driver agent with reasoning and reflection.
- Enable LLM-driven decision-making that queries memory, reasons with common-sense knowledge, and reflects to update experiences.
Proposed method
- Implement a four-module DiLu framework: Environment, Reasoning, Reflection, and Memory.
- Use a Memory Module to store scene descriptions and reasoning processes as experiences.
- Employ a Reasoning Module that encodes scenarios, recalls similar experiences, generates prompts, and decodes actions from an LLM with Chain-of-Thought prompting.
- Incorporate a Reflection Module that identifies unsafe decisions, revises them via the LLM, and updates the Memory Module.
- Demonstrate that DiLu accumulates experience and generalizes better than RL-based methods, including transfers from real-world data.
Experimental results
Research questions
- RQ1Can a knowledge-driven framework with memory and LLM reasoning improve autonomous driving decisions over data-driven RL methods?
- RQ2Do memory-augmented LLMs generalize across different driving environments and real-world datasets?
- RQ3How does the reflection process influence learning from mistakes and updating driving memories?
- RQ4What is the impact of few-shot experiences on the performance of the Reasoning module?
Key findings
- DiLu achieves comparable performance to RL methods with far fewer experiences (e.g., 40 memories vs. hundreds of thousands of RL episodes) while exhibiting stronger generalization.
- Memory size and few-shot prompts significantly affect driving success, with 40 memories and 5-shot prompts yielding high success in tested scenarios.
- DiLu can transfer knowledge from real-world datasets (CitySim) to simulated driving and shows robustness in more congested environments.
- The Reflection module improves safety by revising unsafe decisions and enriching the Memory Module with corrected experiences.
- DiLu demonstrates better generalization than.GRAD under cross-environment tests, indicating less overfitting to training scenarios.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.