DriveCamSim: Generalizable Camera Simulation via Explicit Camera Modeling for Autonomous Driving

Wenchao Sun, Xuewu Lin, Keyu Chen, Zixiang Pei, Yining Shi, Chuang Zhang, Sifa Zheng · DOI

Abstract

DriveCamSim is a novel generative framework designed to overcome the rigidity of existing autonomous driving (AD) simulators. By implementing Explicit Camera Modeling (ECM), the framework establishes geometric correspondences in 3D space, moving beyond traditional 2D pixel-based attention. This approach enables the synthesis of realistic driving videos from arbitrary viewpoints and varying frame rates, even those absent from training data. DriveCamSim demonstrates superior performance in visual realism and downstream task accuracy, offering a robust tool for simulating diverse "what-if" driving scenarios.

Introduction

Simulating realistic sensor data is critical for the development and testing of autonomous driving (AD) algorithms. While recent diffusion-based models have achieved high-quality video generation, they often overfit to specific training configurations. These "implicit" models rely on 2D attention to learn inter-camera relationships, making them brittle when faced with changes in camera count, mounting angles, or frame rates. DriveCamSim addresses this limitation by decoupling the generation process from specific camera rigs through 3D geometric modeling.

Methodology

The core of DriveCamSim lies in three innovative components that shift the paradigm from 2D image space to 3D physical modeling.

Explicit Camera Modeling (ECM)

Unlike implicit models that learn 2D pixel correlations, ECM utilizes the 3D physical world as a foundational bridge. For any pixel in a query view, the model employs depth anchors to project it into 3D space and subsequently back-projects it into target views (other cameras or time steps). This creates explicit, physically grounded correspondences that allow the model to understand the underlying geometry of the scene.

Explicit camera modeling in the 3D physical world establishes geometric correspondences between views.

Information-Preserving Control

To maintain spatial accuracy, DriveCamSim uses a scatter-based injection method. This prevents the loss of geometric information that typically occurs when projecting 3D bounding boxes onto 2D planes, ensuring that the relative scale and position of objects are preserved throughout the encoding process.

Identity-Aware Extension

To ensure temporal consistency and prevent object flickering, the model extracts appearance features from reference frames. These features are "scattered" into the generation process, maintaining the identity of objects—such as a specific vehicle—across the entire video sequence.

Experimental Results

The framework was evaluated using the nuScenes dataset, training on 700 scenes at 2Hz and testing on 150 validation scenes. Evaluation focused on both visual quality and the utility of generated data for downstream AD tasks.

Generalization and Controllability

DriveCamSim excels in scenarios requiring spatial and temporal generalization. It can generate high-frequency (12Hz) video from low-frequency training data and simulate camera rotations or focal length adjustments that were not present in the training set. This capability is crucial for testing AD systems under varied sensor configurations.

DriveCamSim demonstrates robust spatial-level (e.g., rotation, focal length) and temporal-level (e.g., high-frequency, reverse order) generalization.

Quantitative Performance

  • Visual Realism: Achieved a Frechet Inception Distance (FID) of 14.07, significantly outperforming baselines like MagicDrive (16.20) and Panacea (16.69).
  • Downstream Utility: In 3D object detection tests (mAP), the model scored 12.75, surpassing MagicDrive's 12.54. This indicates that the generated objects are more accurately placed and rendered, providing better training and testing data for perception stacks.

Conclusion

DriveCamSim represents a significant step toward flexible, high-fidelity AD simulation. By grounding video generation in 3D geometry, it provides engineers with the ability to simulate complex sensor configurations and temporal dynamics. While challenges remain in handling extreme viewpoint translations, the model's ability to generalize across spatial and temporal dimensions marks a major advancement in the field of autonomous driving world models.

Summary updated

BibTeX
@misc{sun2025drivecamsim,
  author = {Wenchao Sun and Xuewu Lin and Keyu Chen and Zixiang Pei and Yining Shi and Chuang Zhang and Sifa Zheng},
  title = {{DriveCamSim: Generalizable Camera Simulation via Explicit Camera Modeling for Autonomous Driving}},
  year = {2025},
  eprint = {2505.19692},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.19692},
}
Figure