NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Promptable Closed-loop Traffic Simulation

Shuhan Tan, Boris Ivanovic, Yuxiao Chen, Boyi Li, Xinshuo Weng, Yulong Cao, Philipp Krähenbühl, Marco Pavone · DOI

Introduction

Testing autonomous vehicles (AVs) in the real world is expensive and dangerous, making simulation a cornerstone of AV development. However, current simulators face a "pick-your-poison" trade-off between realism and controllability. Unconditional closed-loop simulators produce realistic, reactive traffic but lack user control for specific edge-case scenarios. Conversely, controllable open-loop generators allow scripted behaviors but fail to react to environment changes, leading to unrealistic "ghost" collisions.

Researchers from UT Austin and NVIDIA have introduced ProSim, a framework that bridges this gap. ProSim generates reactive, closed-loop agents that follow multi-modal instructions—such as text, sketches, and goal points—while naturally interacting with their environment.

Methods: The ProSim Architecture

ProSim utilizes a three-part architecture designed for flexibility, speed, and reactivity.

Overview of the ProSim framework, illustrating the pipeline from scene initialization and multi-modal prompts to closed-loop rollout.
  1. Symmetric Encoder: This module processes the map and the initial state of all agents using a position-aware attention mechanism. This allows the model to understand spatial relationships between vehicles and lanes regardless of global coordinates.
  2. Policy Token Generator: Acting as the system's "brain," this component takes user prompts (Goal, Sketch, Action Tag, or Text) and uses a fine-tuned LLaMA3-8B model to translate them into "policy tokens." An "Agent Token Replacement" strategy allows the LLM to map text identifiers directly to internal vehicle representations.
  3. Lightweight Policy Network: Rather than predicting a static trajectory, ProSim predicts a policy. This small network runs at every timestep, taking the policy token and current environment state to decide the next move. This ensures the simulation remains reactive (closed-loop) and computationally efficient.

The ProSim-Instruct-520k Dataset

To train the model, the authors curated ProSim-Instruct-520k, a massive dataset based on the Waymo Open Motion Dataset (WOMD). It includes 520,000 real-world driving scenarios and over 10 million text prompts. For every agent, the dataset provides multi-modal labels including Goal Points (destinations), Route Sketches (noisy paths), and Action Tags (e.g., "LeftTurn"). Human-in-the-loop quality assurance was employed to ensure text and action labels accurately match vehicle movements.

Key Results and Insights

ProSim demonstrates high realism, remaining competitive on the Waymo Sim Agent Challenge even without prompts. When prompts are provided, controllability improves significantly.

Controllability gains across different prompt modalities, showing that combining all prompt types yields the highest performance.
  • Controllability: Using all prompt types together results in an Average Displacement Error (ADE) of just 0.28 meters over an 8-second simulation—a ~70% improvement over unprompted versions.
  • Prompt Hierarchy: Spatial prompts (Goal Points and Sketches) tend to dominate over semantic prompts (Text and Action Tags) when instructions conflict.
  • Efficiency: By separating the heavy LLM processing from the lightweight policy execution, ProSim can simulate 64 agents in just 50ms on a single GPU.
  • Zero-Shot Following: The model successfully handles complex, multi-agent instructions from a single sentence, such as: "Instruct <A29> to turn left while <A7> decelerates."

Limitations and Future Work

While ProSim represents a major advancement, it currently struggles with highly specific interactive prompts, such as "Car A overtakes Car B." Future work may incorporate visual prompts (e.g., scene images) and aim to increase output diversity in unconditional modes to better explore rare driving behaviors.

Reference: Tan, S., et al. (2024). Promptable Closed-loop Traffic Simulation. arXiv:2409.05863v1. https://ariostgx.github.io/ProSim

Summary updated

BibTeX
@inproceedings{tan2024promptable,
  author = {Shuhan Tan and Boris Ivanovic and Yuxiao Chen and Boyi Li and Xinshuo Weng and Yulong Cao and Philipp Krähenbühl and Marco Pavone},
  title = {{Promptable Closed-loop Traffic Simulation}},
  booktitle = {Conference on Robot Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=5iXG6EgByK},
}
Figure