Skip to main content
QUICK REVIEW

[Paper Review] A Language Agent for Autonomous Driving

Jiageng Mao, Junjie Ye|arXiv (Cornell University)|Nov 17, 2023
Multimodal Machine Learning ApplicationsComputer Science14 citations
TL;DR

Agent-Driver uses a large language model as an autonomous driving agent, incorporating a tool library, cognitive memory, and a reasoning engine to outperform state-of-the-art methods on nuScenes with interpretability and few-shot learning.

ABSTRACT

Human-level driving is an ultimate goal of autonomous driving. Conventional approaches formulate autonomous driving as a perception-prediction-planning framework, yet their systems do not capitalize on the inherent reasoning ability and experiential knowledge of humans. In this paper, we propose a fundamental paradigm shift from current pipelines, exploiting Large Language Models (LLMs) as a cognitive agent to integrate human-like intelligence into autonomous driving systems. Our approach, termed Agent-Driver, transforms the traditional autonomous driving pipeline by introducing a versatile tool library accessible via function calls, a cognitive memory of common sense and experiential knowledge for decision-making, and a reasoning engine capable of chain-of-thought reasoning, task planning, motion planning, and self-reflection. Powered by LLMs, our Agent-Driver is endowed with intuitive common sense and robust reasoning capabilities, thus enabling a more nuanced, human-like approach to autonomous driving. We evaluate our approach on the large-scale nuScenes benchmark, and extensive experiments substantiate that our Agent-Driver significantly outperforms the state-of-the-art driving methods by a large margin. Our approach also demonstrates superior interpretability and few-shot learning ability to these methods.

Motivation & Objective

  • Motivate a shift from perception-prediction-planning to an LLM-driven agent paradigm for autonomous driving by leveraging human priors and reasoning capabilities.
  • Introduce a modular architecture that unifies neural modules with language-based interfaces through a tool library, cognitive memory, and a reasoning engine.
  • Demonstrate that LLM-driven reasoning can improve planning quality, safety, and interpretability on large-scale driving benchmarks.
  • Showcase few-shot learning capabilities and robustness to module substitutions and different LLMs.
  • Provide ablation studies to elucidate the contribution of each architectural component.

Proposed method

  • Transform traditional autonomous driving into an LLM-guided agent architecture with a text-based interface.
  • Develop a tool library that converts neural module outputs (detection, prediction, occupancy, map) into text messages and supports dynamic function calls.
  • Incorporate a cognitive memory with commonsense and experience memories to retrieve relevant rules and past scenarios via a two-stage search (embedding-based K-NN then LLM-based ranking).
  • Employ a reasoning engine that performs chain-of-thought reasoning, task planning, motion planning (as text generation), and self-reflection (collision check and trajectory refinement).
  • Fine-tune motion planning LLMs on human driving trajectories and use in-context learning for reasoning and planning modules; transform text trajectories back to physical trajectories for execution.

Experimental results

Research questions

  • RQ1How can an LLM-based cognitive agent integrate human priors and experiential knowledge into autonomous driving decisions?
  • RQ2Does a tool-library and memory-driven reasoning approach improve safety, planning accuracy, and interpretability compared to traditional pipelines?
  • RQ3Can the Agent-Driver achieve strong few-shot learning performance and maintain stability across different neural modules and LLMs?
  • RQ4What is the impact of ablations on the system’s motion planning performance and collision rate?
  • RQ5How does the two-stage memory search (embedding + LLM ranking) contribute to decision quality?

Key findings

  • Agent-Driver significantly improves motion planning performance on nuScenes compared to state-of-the-art methods in both L2 error and collision rates.
  • Under ST-P3 metrics, Agent-Driver achieves the lowest average L2 error and substantially reduces average collisions vs. the second-best method (≈35.7% lower).
  • Under UniAD metrics, Agent-Driver reaches an L2 of 0.74 m and a collision rate of 0.21%, outperforming the second-best methods by substantial margins (≈11.9% L2 improvement and 32.3% collision improvement).
  • The system demonstrates strong few-shot learning, with 0.1% training data yielding competitive performance and 1% data surpassing full-data baselines in collision rate.
  • Ablation studies show all components (tool library, commonsense memory, experience memory, reasoning, task planning, and self-reflection) contribute to performance, with self-reflection notably reducing collision rate.
  • Agent-Driver maintains compatibility with different neural modules and LLMs, and exhibits high output stability even with limited training data.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.