TL;DR
Scenario Dreamer is a fully data-driven generative simulator for autonomous driving that synthesizes both complex road layouts and realistic, closed-loop agent behaviors. By shifting from traditional rasterized image generation to a novel vectorized latent diffusion model, it delivers highly realistic, unbounded driving environments while cutting training time by 10x and generation latency by 6x compared to leading baselines.
What Problem Does This Paper Address?
Testing autonomous vehicles (AVs) safely requires billions of miles of diverse driving scenarios, but current simulators are severely bottlenecked. They typically rely on replaying short, prerecorded driving logs (often under 30 seconds), which limits data diversity and scalability.
Recent attempts to generate new scenarios using diffusion models treat the bird's-eye view (BEV) of a traffic scene as a rasterized image. This approach is computationally wasteful because driving scenes are mostly empty space (pixels containing no lanes or cars), leading to massive, slow networks. Furthermore, these existing simulators often use simplistic, rule-based models to control background traffic, failing to capture the complex, reactive behaviors of real-world drivers.
Methods
Scenario Dreamer splits environment generation into two distinct, data-driven components:
- Vectorized Latent Diffusion Model (VLDM) for Scene Generation: Instead of processing pixels, this model operates directly on vectorized elements (lane centerlines and object bounding boxes). A Transformer-based autoencoder compresses these elements into a compact latent space while explicitly learning lane connectivity. A latent diffusion model then samples new scenes from this space. To handle the "permutation ambiguity" inherent to set-structured data (where the network struggles to order unstructured vectors), the authors introduce a recursive spatial token ordering scheme combined with sinusoidal positional encodings. It also supports diffusion-based inpainting to seamlessly stitch new map tiles together, enabling the generation of unbounded maps.
- Autoregressive Transformer for Behavior Simulation: For closed-loop driving, the system extends CtRL-Sim, a return-conditioned autoregressive Transformer. By conditioning agent actions on expected rewards over a short horizon (2 seconds), users can apply "exponential tilting" at test time to dynamically generate either safe or highly adversarial background traffic behaviors.
Datasets
The models were trained and evaluated on two massive, real-world driving datasets:
- Waymo Open Motion Dataset: Used to extract vehicles, pedestrians, cyclists, and lane centerlines across 1,750 km of unique roadways.
- nuPlan Dataset: Used to model vehicles, pedestrians, static objects, lane centerlines, and traffic light states across four cities (Singapore, Las Vegas, Boston, and Pittsburgh).
Key Insights and Ideas
- Vectors Over Pixels: Operating directly on vectorized elements eliminates the heavy computational overhead of processing empty pixels in rasterized BEV images, drastically improving efficiency.
- Explicit Topology Learning: Learning lane connectivity directly through pairwise relationships between road elements avoids the messy, error-prone post-processing heuristics used by previous models.
- Solving Set Ambiguity: Diffusion models typically struggle with unordered sets. The recursive spatial ordering scheme (sorting by minimum $x$, then $y$) provides a stable coordinate-based sequence that enables high-quality generation and clean map inpainting.
- Controllable Adversaries: Return-conditioning allows the simulator to dynamically scale up the difficulty of a scene at test time, creating long-tail, safety-critical scenarios without needing explicit adversarial training data.
Key Results
- Efficiency Boost: The base model (377M parameters) outperforms the strongest rasterized baseline, SLEDGE (769M parameters), while using roughly half the parameters, achieving 6x to 7x lower generation latency (0.09s vs 0.67s per scene), and requiring 10x fewer GPU training hours (96 vs 960 hours).
- Higher Realism: Scenario Dreamer achieved significantly lower Frechet Distance (FD) and Urban Planning metrics on both nuPlan and Waymo datasets, indicating much more realistic road geometries and fewer agent collisions.
- Challenging RL Planners: When a PPO planning agent was evaluated in Scenario Dreamer, its success rate dropped from ~60% on standard 55m routes down to 32.1% on longer (100m) routes with adversarial agent behaviors (negative tilting), proving the simulator's utility for rigorous safety testing.
Limitations and Future Work
- Traffic Light Logic: The authors observed qualitatively that the generated traffic light signaling configurations did not always adhere to valid, real-world traffic logic.
- Map Completeness: Scenario Dreamer currently only generates lane centerlines. It lacks other critical road features like road edges, sidewalks, and crosswalks.
- Future Directions: The team plans to incorporate these missing road elements in future iterations to build a more comprehensive and legally compliant simulation environment.
Summary updated