Skip to main content
QUICK REVIEW

[Paper Review] Evaluation of Large Language Models for Decision Making in Autonomous Driving

Kôtarô Tanahashi, Yuichi Inoue|arXiv (Cornell University)|Dec 11, 2023
Topic ModelingComputer Science6 citations
TL;DR

This paper evaluates the effectiveness of large language models (LLMs) in autonomous driving decision-making, focusing on spatial-aware decision making and traffic rule adherence. Using simulated highway scenarios and real-vehicle deployment, it finds that GPT-4 significantly outperforms smaller models like LLaMA-2 and GPT-3.5 in accuracy and reasoning, especially under complex conditions involving conflicting instructions and traffic rules.

ABSTRACT

Various methods have been proposed for utilizing Large Language Models (LLMs) in autonomous driving. One strategy of using LLMs for autonomous driving involves inputting surrounding objects as text prompts to the LLMs, along with their coordinate and velocity information, and then outputting the subsequent movements of the vehicle. When using LLMs for such purposes, capabilities such as spatial recognition and planning are essential. In particular, two foundational capabilities are required: (1) spatial-aware decision making, which is the ability to recognize space from coordinate information and make decisions to avoid collisions, and (2) the ability to adhere to traffic rules. However, quantitative research has not been conducted on how accurately different types of LLMs can handle these problems. In this study, we quantitatively evaluated these two abilities of LLMs in the context of autonomous driving. Furthermore, to conduct a Proof of Concept (POC) for the feasibility of implementing these abilities in actual vehicles, we developed a system that uses LLMs to drive a vehicle.

Motivation & Objective

  • To quantitatively assess how well different LLMs perform in spatial-aware decision making and traffic rule adherence for autonomous driving.
  • To investigate whether prompting for reasoning improves decision accuracy in LLMs, especially for high-capacity models.
  • To demonstrate the feasibility of using LLMs to control a real vehicle through natural language instructions and environmental inputs.
  • To evaluate the trade-off between model capability, inference speed, and real-time applicability in autonomous driving systems.
  • To explore the potential of LLMs for ethical decision-making in driving scenarios, such as responding to traffic officers or conflicting instructions.

Proposed method

  • Constructed a simulation environment mimicking a two-lane highway with ego vehicle, surrounding vehicles, and traffic rules.
  • Generated datasets with 34 samples for spatial-aware decision making (SADM), 24 for traffic rule adherence (FTR), and 50 for combined tasks (SADM&FTR).
  • Provided LLMs with structured input: ego vehicle state, surrounding objects (category, x/y position, speed), traffic rules in natural language, and user instructions.
  • Instructed LLMs to select from five actions: accelerate, maintain, decelerate, change lane left, or change lane right, and justify their choice in JSON format.
  • Deployed GPT-4 via API to control a real vehicle using object detection data and human instructions, with dynamic rule injection (e.g., stop on officer signal).
  • Evaluated performance using accuracy of action selection and quality of reasoning, comparing LLaMA-2, GPT-3.5, and GPT-4 across both simulation and real-world settings.

Experimental results

Research questions

  • RQ1How accurately can different LLMs perform spatial-aware decision making based solely on coordinate and velocity data of surrounding vehicles?
  • RQ2To what extent can LLMs correctly follow traffic rules—such as speed limits and lane change regulations—when prompted in natural language?
  • RQ3Does requesting reasoning explanations improve the decision accuracy of LLMs in autonomous driving scenarios?
  • RQ4Can LLMs like GPT-4 handle conflicting inputs (e.g., human instruction vs. traffic officer signal) by prioritizing safety rules over user commands?
  • RQ5What is the real-world feasibility of deploying LLMs for end-to-end decision-making in autonomous vehicles, considering latency and computational constraints?

Key findings

  • GPT-4 achieved the highest accuracy across all tasks: 96% on SADM, 92% on FTR, and 94% on SADM&FTR in simulation, significantly outperforming GPT-3.5 and LLaMA-2.
  • Including reasoning in the prompt improved decision accuracy for GPT-3.5 and GPT-4, but not for LLaMA-2, indicating that reasoning prompting benefits only high-capacity models.
  • GPT-4 correctly identified and applied a 70 km/h speed limit rule even when misled by conflicting user instructions, demonstrating robust rule prioritization.
  • In real-vehicle deployment, GPT-4 maintained high accuracy (95% on a 20-sample test set), successfully navigating to target cones and stopping when a traffic officer signaled.
  • LLaMA-2, despite being locally deployable, showed low accuracy (under 50% on most tasks), highlighting the trade-off between model size and performance.
  • The study confirms that high-capacity LLMs like GPT-4 are essential for reliable autonomous driving decision-making, but real-time deployment via cloud APIs remains a challenge due to latency.

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.