TL;DR
This paper introduces "Agent-Driver," a novel autonomous driving system that leverages Large Language Models (LLMs) as a cognitive agent. By integrating a tool library, a cognitive memory, and a chain-of-thought reasoning engine, Agent-Driver aims to imbue autonomous vehicles with human-like common sense and reasoning capabilities, significantly outperforming existing methods in safety and performance.
What Problem Does This Paper Address?
Traditional autonomous driving systems rely on a perception-prediction-planning pipeline. While effective, these systems often struggle to incorporate the nuanced reasoning and experiential knowledge that human drivers possess. For instance, humans can anticipate potential dangers based on subtle cues (like a ball bouncing into the road suggesting a child might follow), a capability often lacking in current AVs. This gap arises from the fundamental mismatch between the language-based nature of human knowledge and the numerical data processing of neural networks. Agent-Driver seeks to bridge this chasm by using LLMs to unify these disparate domains.
Methods
Agent-Driver represents a paradigm shift by treating an LLM as the central "cognitive agent." The system comprises three key components:
- Tool Library: This acts as an interface between the LLM and underlying neural modules (for perception, prediction, etc.). It allows the LLM to dynamically call specific functions to extract relevant environmental information in a text-based format, reducing redundancy.
- Cognitive Memory: This component stores both common sense knowledge (e.g., traffic rules) and past driving experiences. It's queried using the extracted environmental information to inform decision-making.
- Reasoning Engine: This is the core of the LLM's decision-making process. It employs:
- Chain-of-Thought Reasoning: To identify critical objects and their potential effects.
- Task Planning: To derive high-level driving plans (e.g., "change lane with deceleration").
- Motion Planning: To generate a safe and comfortable trajectory.
- Self-Reflection: To re-assess and refine the planned trajectory, particularly for collision avoidance.
This architecture allows the LLM to orchestrate the entire driving process, from interpreting sensory data to generating a final driving action.
Datasets
- nuScenes: Used for open-loop evaluation of planning performance.
- CARLA simulator (Town05-Short benchmark): Used for closed-loop evaluation.
- BDD-X dataset: Used to demonstrate language justification capabilities.
Key Insights and Ideas
- LLMs as Cognitive Agents: The core idea is to leverage LLMs not just for specific tasks but as an overarching agent that orchestrates the entire autonomous driving pipeline. This allows for a more holistic and human-like decision-making process.
- Text as a Unified Interface: Using natural language to represent and process information from neural modules and cognitive memory is crucial for bridging the gap between symbolic knowledge and sub-symbolic perception.
- Dynamic Information Gathering: The tool library enables the LLM to intelligently select and query only the necessary information from perception modules, improving efficiency and reducing redundancy compared to traditional methods that process all available data.
- Human-like Reasoning: The integration of common sense and past experiences, combined with chain-of-thought reasoning, allows the system to handle complex scenarios that require anticipation and nuanced judgment, moving beyond simple reactive planning.
Key Results
- Performance Improvement: Agent-Driver significantly outperforms state-of-the-art driving methods on the nuScenes dataset, achieving over 30% performance gains in collision rates.
- Safety: The system demonstrates a substantial reduction in collision rates, highlighting the effectiveness of its reasoning and self-reflection capabilities.
- Few-Shot Learning: Agent-Driver shows strong few-shot learning abilities, achieving competitive performance with significantly less training data.
- Interpretability: The LLM-driven nature of the system makes its decision-making process transparent and traceable, with all intermediate steps (tool use, memory retrieval, reasoning) being documented.
- Compatibility: The system is compatible with different LLMs and can seamlessly integrate with various neural modules, showcasing its flexibility.
Limitations and Future Work
- Inference Time: The authors acknowledge that due to the limitations of current LLM APIs, they cannot provide accurate inference times, making it uncertain if the system meets real-time demands. However, they are optimistic that advancements in LLM acceleration and hardware will resolve this.
- Future Work: The authors plan to optimize LLMs for real-time inference.
Summary updated