NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning Autonomous Driving Tasks via Human Feedbacks with Large Language Models

Yunsheng Ma, Xu Cao, Wenqian Ye, Can Cui, Kai Mei, Ziran WangEMNLP 2024

Introduction

Presented at EMNLP 2024, this research introduces a novel framework for autonomous driving (AD) that shifts from "black-box" decision-making to a human-centric, interactive system. By utilizing Large Language Models (LLMs) as high-level "programming planners," the authors demonstrate how vehicles can navigate complex scenarios through natural language instructions and iterative human feedback. This approach bridges the gap between high-level human intent and low-level vehicle execution.

The Programming Planner Framework

Traditional AD systems often rely on Reinforcement Learning (RL), which requires massive datasets and lacks interpretability. Moreover, while LLMs excel at reasoning, they struggle with high-frequency control tasks like precise steering. To address this, the researchers developed the Programming Planner.

Overview of the LLM-based autonomous driving framework with human feedback.

Instead of direct control, the LLM generates Language Model Programs (LMPs)—Python scripts that interface with predefined driving APIs (e.g., turn_left_at_next_intersection()). This "code as an interface" strategy allows the LLM to handle complex logic while leaving physics and low-level control to specialized algorithms.

Key Components

  • Chain-of-Thought (CoT) Reasoning: The system (using GPT-4) analyzes the driving context and human instructions before generating code.
  • Human-in-the-Loop Learning: When performance is suboptimal, a human provides natural language feedback. The LLM then revises the code accordingly.
  • RAG-based Memory: Successful code snippets are stored in a vector database. When similar scenarios arise, the system retrieves these "expert" examples to guide generation, enabling learning without traditional parameter updates.

Experimental Setup

The framework was tested using the CARLA simulator. The researchers modified the standard CARLA Leaderboard 1.0 tasks, replacing GPS waypoints with natural language navigation instructions based on the vehicle's real-time position. This setup creates a more realistic and challenging interaction environment.

Key Results and Insights

The study compared the Programming Planner against established RL experts, Roach and TCP. The results highlight the efficiency of structured reasoning over brute-force learning.

Performance comparison between the Programming Planner and Reinforcement Learning experts.

As shown in the table, the model's performance improved dramatically with human feedback. While zero-shot performance was non-functional (DS of 0.00), the system achieved a Driving Score (DS) of 65.4 with just 50 human-verified snippets. This score is competitive with specialized RL models like Roach (63.4) and TCP (68.1), which require significantly more training data. Furthermore, the model achieved a Route Completion (RC) rate of 95.1%, demonstrating robust long-distance navigation.

Sample Efficiency and Personalization

A major takeaway is the extreme sample efficiency; achieving expert-level performance with only 50 examples suggests that high-level planning is better handled through structured reasoning. Additionally, the feedback loop allows for personalization, as the LLM can adjust driving parameters (like turning speed) based on individual passenger preferences.

Limitations and Future Directions

Despite its success, the framework faces challenges:

  • Latency: LLM inference speeds are currently too slow for emergency maneuvers, necessitating a faster low-level safety layer.
  • Human Reliability: The system's dependence on optimal human feedback could be a vulnerability if the feedback is inconsistent.
  • Real-World Transition: Moving from CARLA to real-world environments will require handling perception noise and unpredictable agent behaviors.

Future work aims to develop LLM-based "code debuggers" to automate the feedback loop, potentially reducing the need for continuous human supervision.

Summary updated

BibTeX
@inproceedings{ma2024learning,
  author = {Yunsheng Ma and Xu Cao and Wenqian Ye and Can Cui and Kai Mei and Ziran Wang},
  title = {{Learning Autonomous Driving Tasks via Human Feedbacks with Large Language Models}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.findings-emnlp.287},
}
Figure