SimGen: Simulator-conditioned Driving Scene Generation

Yunsong Zhou, Michael Simon, Zhenghao Peng, Sicheng Mo, Hongzi Zhu, Minyi Guo, Bolei Zhou

Training autonomous vehicles (AVs) is a data-hungry endeavor. While real-world data is precious, it is expensive to annotate and rarely captures the "long tail" of dangerous, safety-critical events. Simulators offer a compelling solution by providing infinite, perfectly labeled scenarios. However, they often suffer from an "uncanny valley" effect—they look too clean and lack the messy complexity of the real world, limiting the usefulness of their data for training robust perception models.

TL;DR

SimGen is a novel generative framework that combines the precise control of driving simulators with the photorealism of diffusion models. By utilizing a unique "cascade diffusion" pipeline and a massive new dataset called DIVA, SimGen generates diverse, controllable driving scenes that range from rainy London streets to high-stakes highway collisions.

SimGen Framework Overview

The Sim-to-Real Challenge

The "Sim-to-Real" gap is a major hurdle in AV development. Current generative models for driving scenes usually fall into two traps:

  1. Lack of Diversity: Models trained on small datasets like nuScenes often overfit. They learn to generate scenes that only look like the specific cities (e.g., Boston or Singapore) where the original data was collected.
  2. The Simulator Mismatch: Simulators provide perfect "layouts" (the exact coordinates of cars, lanes, and pedestrians), but they lack background richness—such as specific architectural styles, weather effects, or roadside debris. If you try to force a standard generative model to follow a "clean" simulator map, the resulting image often looks artificial or distorted.

The authors of SimGen set out to create a system that follows a simulator's "orders" (e.g., "put a truck here") while painting the scene with the rich, varied textures of the real world.

How SimGen Works: Cascade Diffusion

SimGen uses a cascade diffusion pipeline to decouple the layout of a scene from its appearance. The process happens in two main stages:

  1. CondDiff (Sim-to-Real Condition Transformation): Instead of going straight from a simulator to an image, SimGen first converts "clean" simulator conditions (SimCond)—like depth maps and semantic segments—into "realistic" conditions (RealCond). This stage essentially "noises" the simulator's perfect geometry to make it look like the noisy, detailed sensor data found in real-world datasets.
  2. ImgDiff (Controllable Image Generation): This module takes the transformed RealCond, a text prompt (e.g., "A snowy road in Tokyo"), and "ExtraCond" (like top-down views or instance maps) to generate the final image.

To manage these multiple, sometimes conflicting inputs, the authors developed a Unified Adapter. This component uses a masking system to ensure that if a certain piece of information is missing (like a top-down view from a YouTube clip), the model does not get confused or produce artifacts.

The DIVA Dataset

A key contribution of this work is the DIVA (Diverse In-the-wild and Virtual driving datA) dataset. It consists of 147.5 hours of video, split into two parts:

  • DIVA-Real: 120 hours of "in-the-wild" driving footage curated from YouTube, covering 71 cities across 19 countries. This provides the "appearance" backbone.
  • DIVA-Sim: 27.5 hours of simulated data from the MetaDrive simulator. This includes "digital twins" of real-world scenarios and procedurally generated safety-critical events (like near-collisions) that are rare in real life.

Key Insights and Capabilities

  • The "Aha" of the Cascade: The researchers found that directly conditioning on simulator outputs leads to poor image quality because simulators lack background entities (buildings, trees). By transforming simulator maps into "real-looking" maps first, the diffusion model learns to "fill in the blanks" with realistic environmental details.
  • Zero-Shot Generalization: Because SimGen is trained on the globally diverse DIVA-Real dataset, it can generate scenes for cities it has never seen in a simulator. You can take a layout from the CARLA simulator and tell SimGen to make it look like "Manila at midnight," and it works seamlessly.
  • Safety-Critical Synthesis: SimGen can recreate risky behaviors—sudden braking, aggressive merging, or collisions—with high fidelity. This is a "holy grail" for AV testing, as it allows researchers to generate thousands of variations of a crash to see how an AI driver reacts.

Performance and Results

SimGen outperforms existing state-of-the-art models (like MagicDrive and BEVGen) across several key metrics:

  • Image Quality: It achieved a Fréchet Inception Distance (FID) of 15.6, matching or beating "expert" models trained specifically on single datasets.
  • Diversity: Its pixel diversity score ($D_{pix}$) was 26.6, significantly higher than the 20.1 achieved by previous models, proving it can generate a wider array of environments.
  • Downstream Utility: When SimGen-generated images were used to augment the training of a Bird’s Eye View (BEV) perception model, the model’s performance (mIoU) jumped by +4.4, proving that the synthetic data is "realistic enough" to help real AI systems learn.

Limitations and Future Work

While impressive, SimGen has a few acknowledged hurdles:

  • Single-View Focus: Currently, the model focuses on front-facing camera footage. Real AVs use 360-degree panoramic views, which SimGen does not yet support.
  • Computational Cost: Like most diffusion models, sampling is slow, which might limit its use in real-time "closed-loop" simulation where an AI driver needs immediate feedback.
  • Temporal Consistency: While the authors made a "preliminary attempt" at video generation, maintaining perfect consistency across long video sequences remains a challenge for future work.

Paper Citation: Zhou, Y., Simon, M., Peng, Z., Mo, S., Zhu, H., Guo, M., & Zhou, B. (2024). SimGen: Simulator-conditioned Driving Scene Generation. 38th Conference on Neural Information Processing Systems (NeurIPS 2024).

Summary updated

BibTeX
@inproceedings{zhou2024simgen,
  author = {Yunsong Zhou and Michael Simon and Zhenghao Peng and Sicheng Mo and Hongzi Zhu and Minyi Guo and Bolei Zhou},
  title = {{SimGen: Simulator-conditioned Driving Scene Generation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=JCyBN5syv3},
}
Figure