Abstract
Simulation forms the backbone of modern self-driving development. Simulators help develop, test, and improve driving systems without putting humans, vehicles, or their environment at risk. However, simulators face a major challenge: they rely on realistic, scalable, yet interesting content. While recent advances in rendering and scene reconstruction make great strides in creating static scene assets, modeling their layout, dynamics, and behaviors remains challenging. In this work, we turn to language as a source of supervision for dynamic traffic scene generation. Our model, LCTGen, combines a large language model with a transformer-based decoder architecture that selects likely map locations from a dataset of maps, and produces an initial traffic distribution, as well as the dynamics of each vehicle. LCTGen outperforms prior work in both unconditional and conditional traffic scene generation in terms of realism and fidelity.
Introduction
Simulation is the lifeblood of self-driving vehicle (SDV) development, allowing engineers to test edge cases without risking lives. However, creating these simulations remains a significant bottleneck. Current methods generally fall into two camps: rule-based systems, which are scalable but often unrealistic, and data-driven models, which are realistic but difficult to control.
The fundamental challenge is the data gap: there are no large-scale datasets that pair natural language descriptions with the precise trajectories of vehicles. Without this "Rosetta Stone," training a model to understand complex instructions like "turn left at a busy intersection" in the context of a specific map is incredibly difficult.
Methodology: The LCTGen Framework
LCTGen addresses the data gap by decomposing the generation process into three distinct modules, bridging the gap between natural language and physical motion through a structured intermediate representation.
1. The Interpreter (LLM-powered)
Instead of training a new model to understand language, LCTGen leverages the zero-shot capabilities of GPT-4. Using "Chain-of-Thought" prompting, the Interpreter converts a raw text query into a compact, structured intermediate representation (a YAML-like format describing agent positions, speeds, and actions).
2. The Retrieval Module
This module takes the map requirements generated by the Interpreter and searches a library of real-world maps (sourced from the Waymo Open Dataset) to find a layout that matches the described scenario.
3. The Generator (Query-based Transformer)
The Generator is the core engine of the system. It takes the structured representation and the retrieved map to produce the actual initial states and future motions of all vehicles. To train this module without paired text data, the authors developed an Encoder that converts raw traffic data into the same structured format used by the LLM. This allows the Generator to learn how to turn structured "blueprints" into realistic motion by training on massive amounts of unlabeled driving data.
Experimental Results
The performance of LCTGen was evaluated using the Waymo Open Dataset, the NHTSA Crash Report Dataset, and a custom Attribute Description Dataset.
- Superior Realism: LCTGen significantly outperformed baselines like TrafficGen and MotionCLIP. It achieved a 7-8x reduction in motion prediction error (mADE/mFDE) compared to prior work.
- Human Preference: In blind A/B testing, human evaluators preferred LCTGen’s scenarios over 90% of the time, noting that they followed text descriptions much more faithfully.
- Safety Validation: The authors tested standard driving policies (PPO and IDM) on scenarios generated from real crash reports. These policies failed significantly more often on LCTGen-generated "edge cases" than on standard data, demonstrating the model's utility for safety validation and stress testing.
Conclusion and Future Work
LCTGen demonstrates that pre-trained LLMs can serve as effective zero-shot translators for specialized domains like traffic simulation. By decoupling scene understanding from motion physics through a structured representation, the framework enables high-fidelity, controllable scenario generation.
A current limitation is the Interpreter’s lack of direct map awareness, which can occasionally lead to awkward vehicle placement. Future work involves equipping the Interpreter with specialized Map and Math APIs to allow for precise coordinate and lane-level reasoning before generating the structured representation.
Summary updated