Skip to main content
QUICK REVIEW

[Paper Review] LanguageMPC: Large Language Models as Decision Makers for Autonomous Driving

Hao Sha, Yao Mu|arXiv (Cornell University)|Oct 4, 2023
Topic ModelingComputer Science50 citations
TL;DR

LanguageMPC uses a Large Language Model as a high-level decision maker to guide Model Predictive Control for autonomous driving, achieving improved safety, efficiency, and adaptability in complex scenarios by translating LLM decisions into MPC parameters and actions.

ABSTRACT

Existing learning-based autonomous driving (AD) systems face challenges in comprehending high-level information, generalizing to rare events, and providing interpretability. To address these problems, this work employs Large Language Models (LLMs) as a decision-making component for complex AD scenarios that require human commonsense understanding. We devise cognitive pathways to enable comprehensive reasoning with LLMs, and develop algorithms for translating LLM decisions into actionable driving commands. Through this approach, LLM decisions are seamlessly integrated with low-level controllers by guided parameter matrix adaptation. Extensive experiments demonstrate that our proposed method not only consistently surpasses baseline approaches in single-vehicle tasks, but also helps handle complex driving behaviors even multi-vehicle coordination, thanks to the commonsense reasoning capabilities of LLMs. This paper presents an initial step toward leveraging LLMs as effective decision-makers for intricate AD scenarios in terms of safety, efficiency, generalizability, and interoperability. We aspire for it to serve as inspiration for future research in this field. Project page: https://sites.google.com/view/llm-mpc

Motivation & Objective

  • Address limitations of traditional learning-based AD systems in understanding high-level information, generalizing to rare events, and providing interpretability.
  • Leverage an LLM to perform high-level reasoning and commonsense-based decision making for driving scenarios.
  • Translate high-level LLM decisions into low-level MPC inputs via dynamic observation, action bias, and weight adjustments.
  • Integrate LLM reasoning with MPC through a dual-frequency control framework for real-time robustness.
  • Demonstrate improved performance over baselines in single-vehicle tasks and capability in multi-vehicle coordination and text-guided driving.

Proposed method

  • Introduce LanguageMPC, where an LLM serves as the brain for high-level decision making guiding an MPC-based controller.
  • Process real-time scene data through a prompt generator to create text describing scenario elements, rules, and prompts.
  • Three-stage LLM processing: 1) scenario encoding, 2) action guidance, 3) weight adjustment, converting decisions into an observation matrix Ot, action bias Â, and weight matrix W for MPC.
  • Represent MPC cost as C(s,u)=Ctrk(s,u)+Cact(s,u)+Csaf(s,u) with diagonal weight matrices; use action bias and scenario-derived tracking targets to shape decisions.
  • Generate multiple potential reference trajectories (Bessel curves) for ego and other agents, and use LLM to select the most appropriate trajectory and attention mask Mt to form the dynamic observation Ody.
  • Discretize actions for LLM compatibility; employ a weight pool from which the LLM selects Wx, Wv, Wθ, Ws, Wg, Wl, wsaf to balance tracking, action penalty, smoothness, and safety.
  • Adopt a dual-frequency system where the LLM provides slow, high-level decisions and the MPC performs fast trajectory planning and control, ensuring real-time performance.

Experimental results

Research questions

  • RQ1Can LanguageMPC outperform traditional MPC and RL-based planning in single-vehicle decision-making across standard driving scenarios?
  • RQ2Does LLM-guided scenario encoding and attention allocation improve safety, efficiency, and generalization in complex driving tasks, including rare events and multi-vehicle coordination?
  • RQ3How effectively can high-level textual guidance and driving style descriptions be translated into MPC actions and costs without sacrificing robustness?
  • RQ4What is the impact of a dual-frequency LLM+MPC framework on real-time control performance under varying computational delays?

Key findings

  • LanguageMPC significantly reduces overall cost compared with baselines in single-vehicle tasks, including Emergency Obstacle Avoidance.
  • Ablation studies show the full configuration (scenario encoding plus action guidance and weight adjustment) yields the best performance, demonstrating a synergistic effect.
  • LanguageMPC enables complex behaviors such as multi-vehicle coordination and driving style modulation guided by text.
  • The system achieves lower safety penalties and improved efficiency while maintaining zero collisions and minimal failures in evaluated scenarios.
  • Inference delay of the LLM is around 2.5 seconds per decision, with emergency handling reducing to under 1.5 seconds via rule-based pre-evaluation.

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.