Introduction
Developing and validating autonomous vehicles (AVs) requires highly realistic simulation environments. A critical component of this realism is the behavior of "background actors"—pedestrians and other vehicles—and their complex interactions within a traffic scene. Traditional methods for generating these dynamics are often fragmented: high-level planning models can follow text prompts but lack physical precision, while low-level controllers produce realistic movement but struggle with complex, multi-step language instructions.
ChatDyn bridges this gap. It is a novel system capable of generating realistic, interactive street scene simulations directly from natural language instructions. By decoupling semantic planning from physical execution, ChatDyn achieves both high-level coordination and fine-grained physical realism.
The Challenge: Semantics vs. Physics
Currently, generating scene dynamics is a divided process. High-level planning methods (e.g., "a car overtakes another") often generate rough trajectories that lack fine-grained physical control and struggle with multi-actor coordination. Conversely, low-level generation methods can simulate realistic walking or driving but cannot easily interpret complex linguistic commands. ChatDyn addresses this by providing an end-to-end system that handles both semantic planning and physical execution for diverse traffic participants.
Methodology: A Two-Stage Architecture
ChatDyn employs a hierarchical approach consisting of High-Level Planning via Large Language Model (LLM) agents and Low-Level Generation via physics-based executors.
1. High-Level Planning (Multi-LLM-Agent Role-Playing)
ChatDyn treats the simulation as a role-playing game involving multiple specialized agents:
- Oracle Agent: Acting as the director, this agent parses the user's prompt, identifies necessary actors, initializes their states, and defines interaction groups (e.g., "Car A and Pedestrian B").
- Actor Agents: Each vehicle or pedestrian is assigned an individual LLM agent. These agents communicate to negotiate keypoints and plan specific trajectories based on the Oracle's instructions and the map layout.
2. Low-Level Generation (Executors)
Planned trajectories are handed off to specialized control policies trained via Reinforcement Learning (RL):
- PedExecutor: A unified policy for pedestrians handling trajectory following and multi-agent interactions. It utilizes a hierarchical control space and Adversarial Motion Priors (AMP) to ensure natural movement.
- VehExecutor: A control policy for vehicles based on a kinematic bicycle model. It uses history-aware states to output steering and acceleration commands, preventing physically impossible behaviors like abrupt tail swings.
Technical Innovation: Body-Masked AMP
A key technical contribution is the body-masked AMP. Standard AMP forces an agent to mimic a reference dataset of human motion. However, if a pedestrian must perform a novel interaction not present in the dataset (e.g., pushing a car), standard AMP often fails. ChatDyn introduces a mask that disables motion-matching for specific body parts (like the arms) during interactions. This allows the agent's legs to walk naturally while the arms are free to complete the specific task-driven interaction.
Evaluation and Results
The system was trained and evaluated using the Waymo Open Dataset for map topologies, the AMASS Dataset for human motion capture, and the Bedlam Dataset for realistic 3D rendering.
- Superior Planning: ChatDyn significantly outperformed baselines like LCTGen and ChatSim. For compound instructions, ChatDyn achieved an 89.6% command following rate, compared to LCTGen's 68.2%.
- Flawless Interactions: The PedExecutor achieved near-perfect success rates on complex tasks, such as 98.2% for "pushing" and 97.1% for "walking with an arm around a shoulder," while maintaining high visual realism.
- Smoother Driving: The VehExecutor generated dynamics with consistently lower position and velocity errors across various speeds compared to standard Pure Pursuit methods.
Conclusion
ChatDyn demonstrates that decoupling semantics from physics is a powerful strategy for scene simulation. By using LLMs for logic and RL for physical execution, the system produces simulations that are both controllable and realistic. Future work will expand the system to include a wider variety of participants, such as cyclists and animals, and explore even more complex interaction behaviors in diverse environments.
Summary updated