Empowering Autonomous Driving with Large Language Models: A Safety Perspective

Yixuan Wang,Ruochen Jiao,Sinong Simon Zhan,Chengtian Lang,Chao Huang,Zhaoran Wang,Zhuoran Yang,Qi Zhu
2024-03-23
Abstract:Autonomous Driving (AD) encounters significant safety hurdles in long-tail unforeseen driving scenarios, largely stemming from the non-interpretability and poor generalization of the deep neural networks within the AD system, particularly in out-of-distribution and uncertain data. To this end, this paper explores the integration of Large Language Models (LLMs) into AD systems, leveraging their robust common-sense knowledge and reasoning abilities. The proposed methodologies employ LLMs as intelligent decision-makers in behavioral planning, augmented with a safety verifier shield for contextual safety learning, for enhancing driving performance and safety. We present two key studies in a simulated environment: an adaptive LLM-conditioned Model Predictive Control (MPC) and an LLM-enabled interactive behavior planning scheme with a state machine. Demonstrating superior performance and safety metrics compared to state-of-the-art approaches, our approach shows the promising potential for using LLMs for autonomous vehicles.
Artificial Intelligence,Machine Learning,Systems and Control
What problem does this paper attempt to address?
The problem that this paper attempts to solve is the significant safety obstacles of autonomous driving (AD) systems in long - tailed unforeseen driving scenarios. These problems mainly stem from the inexplicability and poor generalization ability of deep neural networks (DNNs), especially when dealing with out - of - distribution data and uncertain data. To solve these problems, the paper explores integrating large language models (LLMs) into AD systems, making use of their strong common - sense knowledge and reasoning abilities. Specifically, the paper proposes the following points: 1. **Intelligent decision - making in behavior planning**: By using LLMs as intelligent decision - makers in behavior planning, enhance driving performance and safety. 2. **Safety verifier for situational safety learning**: Introduce a safety verifier to ensure that the decisions of LLMs meet safety requirements and conduct real - time learning and adjustment. The paper presents two key research cases: - **Model predictive control (MPC) under adaptive LLM conditions**: Combine the decisions of LLMs with low - level MPC to optimize trajectory planning and ensure safety. - **Interactive behavior planning scheme**: Through the state machine framework, realize the interactive multi - step decision - making between LLMs and surrounding vehicles, and improve the performance and safety of driving tasks. These methods aim to improve the safety and performance of autonomous driving systems, especially in complex and unforeseen driving environments. ### Formula Examples Some of the formulas involved in the paper include: - Vehicle dynamics model: \[ s_{t + 1}=f(s_t, u_t) \] where \( s=(x, y, v_x, v_y)\in S\subset\mathbb{R}^4 \), representing longitudinal position, lateral position, longitudinal velocity and lateral velocity respectively; \( u_t\in U\subset\mathbb{R}^2 \) represents continuous control inputs (such as acceleration and steering signals). - Safety constraint conditions: \[ |x_i-\hat{x}_j^i|-L\geq0,\quad|x_i - \bar{\hat{x}}_j^i|-L\geq0,\quad\text{where Lane}([y_j^i,\bar{y}_j^i]) == \text{Lane}(y_i) \] These formulas are used to describe the state update and safety constraint conditions of vehicles, ensuring that the autonomous driving system can make safe and reliable decisions in complex traffic environments.