Generating Traffic Scenarios via In-Context Learning to Learn Better Motion Planner

📅 2024-12-24
🏛️ AAAI Conference on Artificial Intelligence
📈 Citations: 0
✨ Influential: 0
📄 PDF
🤖 AI Summary
To address the scarcity of rare safety-critical scenarios in autonomous driving motion planning, the high cost and limited coverage of manual annotation for long-tail risks, this paper proposes a traffic scenario generation method leveraging in-context learning (ICL) with large language models (LLMs). The approach requires no model fine-tuning or handcrafted programming; instead, it synthesizes executable CARLA simulation scripts directly from natural-language scenario descriptions, enabling low-cost, highly diverse, and customizable critical scenario construction. To our knowledge, this is the first work to apply ICL to script-based traffic scenario modeling, substantially improving the realism and generalizability of synthetic data. Experimental results demonstrate that motion planners trained on the synthesized data achieve a 23.6% improvement in success rate on real-world critical-risk scenario evaluation, with marked gains in safety and robustness.

Technology Category

Planning, Routing, and Scheduling: Planning with Language ModelsNatural Language Processing: Code Generation / Program Synthesis from Natural LanguageMachine Learning: Imitation Learning & Inverse Reinforcement Learning

Application Category

Semantics and Knowledge: Data modeling to support human-machine intelligence, including LLMs agents, intelligent system behavior, explanations, and user-friendly interactionsUser Modeling, Personalization and Recommendation: Large Language Models (LLM) for user modeling and recommendationSearch and Retrieval-Augmented AI: Search Tool Learning with LLM: Teaching LLMs to invoke search and make use of retrieved information
📝 Abstract
Motion planning is a crucial component in autonomous driving. State-of-the-art motion planners are trained on meticulously curated datasets, which are not only expensive to annotate but also insufficient in capturing rarely seen critical scenarios. Failing to account for such scenarios poses a significant risk to motion planners and may lead to incidents during testing. An intuitive solution is to manually compose such scenarios by programming and executing a simulator (e.g., CARLA). However, this approach incurs substantial human costs. Motivated by this, we propose an inexpensive method for generating diverse critical traffic scenarios to train more robust motion planners. First, we represent traffic scenarios as scripts, which are then used by the simulator to generate traffic scenarios. Next, we develop a method that accepts user-specified text descriptions, which a Large Language Model translates into scripts using in-context learning. The output scripts are sent to the simulator that produces the corresponding traffic scenarios. As our method can generate abundant safety-critical traffic scenarios, we use them as synthetic training data for motion planners. To demonstrate the value of generated scenarios, we train existing motion planners on our synthetic data, real-world datasets, and a combination of both. Our experiments show that motion planners trained with our data significantly outperform those trained solely on real-world data, showing the usefulness of our synthetic data and the effectiveness of our data generation method.
Problem

Research questions and friction points this paper is trying to address.

Generating diverse critical traffic scenarios for robust motion planners
Reducing human costs in manual scenario composition for autonomous driving
Improving motion planner performance with synthetic and real-world data
Innovation

Methods, ideas, or system contributions that make the work stand out.

Generates traffic scenarios via in-context learning
Uses LLM to translate text descriptions into scripts
Enhances motion planners with synthetic training data
🔎 Similar Papers
No similar papers found.
💼 Related Jobs
No related jobs found.
University of Macau
A
Aizierjiang Aiersilan
University of Macau