AILGMay 22, 2024

ChatScene: Knowledge-Enabled Safety-Critical Scenario Generation for Autonomous Vehicles

arXiv:2405.14062v1134 citationsh-index: 15CVPR
Originality Incremental advance
AI Analysis

This addresses the need for efficient safety testing in autonomous vehicles, though it is an incremental improvement over existing simulation methods.

The paper tackles the problem of generating safety-critical scenarios for autonomous vehicle testing by developing ChatScene, an LLM-based agent that converts unstructured language instructions into executable CARLA simulation code. The results show that scenarios generated by ChatScene increase collision rates by 15% compared to baselines and can reduce collision rates by 9% when used to fine-tune RL-based driving models.

We present ChatScene, a Large Language Model (LLM)-based agent that leverages the capabilities of LLMs to generate safety-critical scenarios for autonomous vehicles. Given unstructured language instructions, the agent first generates textually described traffic scenarios using LLMs. These scenario descriptions are subsequently broken down into several sub-descriptions for specified details such as behaviors and locations of vehicles. The agent then distinctively transforms the textually described sub-scenarios into domain-specific languages, which then generate actual code for prediction and control in simulators, facilitating the creation of diverse and complex scenarios within the CARLA simulation environment. A key part of our agent is a comprehensive knowledge retrieval component, which efficiently translates specific textual descriptions into corresponding domain-specific code snippets by training a knowledge database containing the scenario description and code pairs. Extensive experimental results underscore the efficacy of ChatScene in improving the safety of autonomous vehicles. For instance, the scenarios generated by ChatScene show a 15% increase in collision rates compared to state-of-the-art baselines when tested against different reinforcement learning-based ego vehicles. Furthermore, we show that by using our generated safety-critical scenarios to fine-tune different RL-based autonomous driving models, they can achieve a 9% reduction in collision rates, surpassing current SOTA methods. ChatScene effectively bridges the gap between textual descriptions of traffic scenarios and practical CARLA simulations, providing a unified way to conveniently generate safety-critical scenarios for safety testing and improvement for AVs.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes