TL;DR
Agent-Driver transforms autonomous driving by using a Large Language Model (LLM) as a central cognitive agent rather than relying on rigid, purely numerical pipelines. By combining a versatile tool library, a two-stage cognitive memory, and an explicit reasoning engine, it introduces human-like common sense to navigation, outperforming state-of-the-art methods on the nuScenes benchmark by over 30% in collision reduction.
What Problem Does This Paper Address?
Traditional autonomous driving systems rely on a strict "perception-prediction-planning" pipeline. While deep neural networks excel at processing numerical inputs like bounding boxes and occupancy grids, they lack the human-like ability to reason or utilize experiential knowledge.
Consider a common scenario: a ball bounces into a suburban street. A human driver instantly slows down, anticipating that a child might run out after it. In contrast, a conventional autonomous vehicle will continue driving at full speed until its sensors explicitly detect the child, drastically narrowing the safety margin. The core obstacle has been a representation gap: human knowledge is symbolic and language-based, whereas conventional driving pipelines operate entirely on numerical data.
Methods
The authors introduce Agent-Driver, a framework that establishes natural language as a unified interface to bridge the gap between numerical neural networks and symbolic human reasoning.
The architecture consists of three core components built on top of an LLM:
- Tool Library: Instead of forcing the LLM to process raw sensor data, Agent-Driver uses a library of over 20 functions to interact with standard neural modules (detection, prediction, occupancy, mapping). The LLM acts as an interactive scheduler, dynamically calling specific functions (e.g.,
get_leading_object_detection()) to pull text-based environmental summaries. This mimics human attention by filtering out redundant data. - Cognitive Memory: This module splits into Commonsense Memory (traffic rules and safety guidelines) and Experience Memory (a repository of past driving scenarios). To find relevant experiences, the system uses a two-stage search: a fast K-Nearest Neighbors (K-NN) vector search followed by an LLM-based fuzzy search to rank the top candidates by contextual relevance.
- Reasoning Engine: Rather than generating a trajectory in a single pass, the engine breaks decision-making into four traceable steps:
- Chain-of-Thought (CoT) Reasoning: Identifies critical objects and predicts their potential effects.
- Task Planning: Devises high-level discrete behaviors and velocity choices (e.g., "turn left with deceleration").
- Motion Planning: Generates precise coordinates as language tokens via a fine-tuned LLM.
- Self-Reflection: Runs a collision check on the planned path and optimizes it using a specialized cost function if a risk is detected.
Datasets
The framework was trained and evaluated across three distinct environments:
- nuScenes: A massive, real-world dataset containing 1,000 driving scenarios (~34,000 keyframes) used to evaluate open-loop planning performance.
- Town05-Short (CARLA Simulator): A closed-loop simulation benchmark consisting of 10 challenging routes with high-density traffic and complex intersections.
- BDD-X (Berkeley DeepDrive eXplanation): Used to benchmark the agent's language justification capabilities, measuring how well it explains its actions in plain text.
Key Insights and Ideas
- Language as a Unified Interface: Converting numerical outputs into text allows an LLM to seamlessly combine real-time perception data with abstract human common sense without requiring complex cross-modal feature alignment.
- Selective Perception via Tool Use: Humans do not track every object in their field of view simultaneously. By allowing the LLM to selectively invoke tools, Agent-Driver reduces input token redundancy by roughly 2x, significantly boosting efficiency.
- The Power of Decoupling: Splitting the pipeline into explicit reasoning, task planning, and motion planning steps drastically reduces LLM hallucinations compared to end-to-end language planners.
- Exceptional Few-Shot Generalization: Because the underlying LLM already possesses vast common sense, fine-tuning the motion planner on just 1% of the training data (approx. 230 samples) allows it to outperform state-of-the-art models trained on 100% of the data.
Key Results
Open-Loop Evaluation (nuScenes)
Agent-Driver significantly outperformed state-of-the-art methods like UniAD and VAD. Under ST-P3 metrics, it reduced the average collision rate by 35.7% compared to the second-best method, while maintaining the lowest average L2 trajectory error (0.37m).
Closed-Loop Evaluation (CARLA)
Tested on the Town05-Short benchmark, Agent-Driver achieved the highest Route Completion score of 91.37%, outperforming VAD by 4.1%. Its overall Driving Score was highly competitive at 57.33%.
Interpretability and Stability
The system provides fully traceable, text-based logs of its decisions (e.g., "Action justification: because the car in front of it has stopped"). Furthermore, it demonstrated remarkable stability; when exposed to at least 1% of training data, it produced zero invalid or malformed outputs across more than 6,000 test scenarios.
Limitations and Future Work
- Real-Time Latency: Due to the computational overhead of commercial OpenAI APIs, the current implementation cannot meet the real-time inference demands required for physical vehicle deployment. The authors note that future work will focus on optimizing smaller, open-source LLMs for on-board deployment.
- Upstream Dependencies: The reasoning engine remains sensitive to errors in the underlying neural modules. For instance, inaccurate heading estimations for large objects (like buses) can propagate through the tool library, leading to overly conservative or incorrect trajectories.
Summary updated