Scenario Dreamer: Vectorized Latent Diffusion for Generating Driving Simulation Environments

Luke Rowe, Roger Girgis, Anthony Gosselin, Liam Paull, Christopher Pal, Felix Heide

Abstract

We introduce Scenario Dreamer, a fully data-driven generative simulator for autonomous vehicle planning that generates both the initial traffic scene—comprising a lane graph and agent bounding boxes—and closed-loop agent behaviours. Existing methods for generating driving simulation environments encode the initial traffic scene as a rasterized image and, as such, require parameter-heavy networks that perform unnecessary computation due to many empty pixels in the rasterized scene. Scenario Dreamer instead employs a novel vectorized latent diffusion model for initial scene generation that directly operates on the vectorized scene elements and an autoregressive Transformer for data-driven agent behaviour simulation. Scenario Dreamer additionally supports scene extrapolation via diffusion inpainting, enabling the generation of unbounded simulation environments. Extensive experiments show that Scenario Dreamer outperforms existing generative simulators in realism and efficiency, achieving superior generation quality with around 2x fewer parameters, 6x lower generation latency, and 10x fewer GPU training hours compared to the strongest baseline.

Introduction

Developing autonomous vehicles (AVs) requires billions of miles of diverse driving data to ensure safety. However, current simulators are bottlenecked by data scarcity and representation inefficiency. Most simulators rely on prerecorded driving logs, which are limited in scope. Furthermore, recent generative simulators represent the world as "Bird’s Eye View" (BEV) rasterized images. This is computationally wasteful because most pixels in a driving scene are empty space. Scenario Dreamer addresses these issues by creating a fully data-driven simulator that generates realistic, unbounded driving environments by operating directly on vectorized scene elements.

Methodology

Scenario Dreamer decomposes environment generation into two distinct parts: Initial Scene Generation and Behavior Simulation.

Vectorized Latent Diffusion Model (LDM)

Instead of generating a grid of pixels, Scenario Dreamer generates a set of vectors representing lane centerlines and agent bounding boxes. A Transformer-based VAE embeds vectorized scene elements into a compact latent space. It uses factorized attention blocks (lane-to-lane, lane-to-object, etc.) to model the complex spatial relationships of a road network. A diffusion model then learns to sample from this latent space. Because it is vectorized, the model can handle variable numbers of lanes and agents easily. By framing scene generation as an inpainting task, the model can perform scene extrapolation, effectively "dreaming" an unbounded highway or city grid.

The Scenario Dreamer architecture consists of a vectorized autoencoder for latent space mapping and a diffusion model for scene generation and sampling.

Behavior Simulation

Once the scene is set, agents are controlled by an extension of CtRL-Sim, a return-conditioned autoregressive Transformer. This provides controllability, allowing users to steer agent behavior via reward signals. For example, by "tilting" the model toward low-reward outcomes, the simulator can generate adversarial scenarios where agents intentionally try to cause collisions to stress-test an AV planner.

Experimental Results

The model was trained and evaluated on two industry-standard datasets: the Waymo Open Motion Dataset (WOMD) and nuPlan. Scenario Dreamer outperformed the previous state-of-the-art, SLEDGE, across almost all metrics.

Generated driving environments from the Waymo and nuPlan datasets demonstrate the model's ability to produce diverse and realistic road topologies and traffic patterns.

Key results include:

  • Efficiency: The "Base" model (377M parameters) outperformed SLEDGE’s "XL" model (769M parameters).
  • Speed: It achieved 6x lower generation latency and required 10x fewer GPU training hours.
  • Realism: On the nuPlan dataset, Scenario Dreamer showed significantly better "Urban Planning" metrics, meaning the generated lane graphs were more connected and navigable.
  • Agent Quality: It achieved lower Jensen-Shannon Divergence (JSD) for vehicle speed and positioning, indicating the generated traffic looks more like real-world data.

Conclusion and Future Work

Scenario Dreamer demonstrates that moving from pixels to vectors allows a model to explicitly learn the topology of the road rather than just its appearance. While a significant step forward, future work will focus on improving traffic light logic alignment, adding more granular map details like road edges and crosswalks, and incorporating dynamic environmental factors like weather and lighting.

Summary updated

BibTeX
@inproceedings{rowe2025scenario,
  author = {Luke Rowe and Roger Girgis and Anthony Gosselin and Liam Paull and Christopher Pal and Felix Heide},
  title = {{Scenario Dreamer: Vectorized Latent Diffusion for Generating Driving Simulation Environments}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  url = {https://openreview.net/forum?id=7dAR3q7T5K},
}
Figure