Abstract
End-to-end (E2E) autonomous driving (AV) systems require vast amounts of diverse, safety-critical data for robust training and evaluation. However, real-world data collection is expensive and geographically constrained, while traditional simulators often suffer from a significant sim-to-real gap. We present TeraSim-World, an automated pipeline capable of synthesizing photorealistic, safety-critical driving data for any location globally. By integrating adversarial agent simulation with high-fidelity video diffusion models, TeraSim-World bridges the gap between structured traffic simulation and realistic visual synthesis.
Introduction
The development of E2E AV systems—where a single neural network maps sensor inputs directly to driving commands—is fundamentally data-driven. To ensure safety, these models must be exposed to millions of miles of diverse environments and rare "safety-critical" events, such as near-collisions or unexpected pedestrian crossings.
Current data acquisition methods face two primary challenges:
- Scalability and Safety: Real-world testing is prohibitively expensive and geographically limited. Moreover, intentionally encountering or creating hazardous scenarios in the real world is inherently dangerous.
- The Sim-to-Real Gap: Traditional simulators like CARLA provide structured environments but often lack visual realism, leading to performance degradation when models are deployed on real-world camera feeds.
TeraSim-World addresses these issues by generating "geographically grounded" synthetic data—videos that mirror the visual characteristics of real-world locations—while maintaining full control over the adversarial behaviors of traffic participants.
Methods
The TeraSim-World pipeline is a modular system that transforms global coordinates into high-fidelity multi-view driving videos.
Map and Traffic Retrieval
Starting with a GPS coordinate, the system automatically extracts road geometry from OpenStreetMap (OSM). To ensure realistic traffic patterns, it pulls real-time traffic density data from the TomTom Traffic API.
Agent Simulation and Adversity Generation
The system simulates the movement of various agents (vehicles, pedestrians, cyclists) using the Naturalistic and Adversarial Driving Environment (NADE). Rather than simulating mundane traffic, the "adversity orchestrator" specifically triggers safety-critical behaviors, such as aggressive cut-ins or failure to yield at intersections, providing high-value learning signals for the AV stack.
VLM-based Prompt Generation
To achieve geographic grounding, the pipeline utilizes a Vision-Language Model (VLM), such as GPT-4o, to analyze Google Street View images of the target location. The VLM generates descriptive text prompts covering local architecture, vegetation, and weather conditions, ensuring the synthesized video matches the local "vibe."
Sensor Simulation via Cosmos-Drive
The core of the visual synthesis is Cosmos-Drive, a high-resolution video diffusion model. Unlike standard generative models, Cosmos-Drive is conditioned on HDMap videos (structured 3D trajectories) and text prompts. This conditioning ensures that the generated pixels follow physically plausible trajectories while maintaining temporal and spatial consistency across six camera views (front, rear, and sides).
Datasets and Training
The framework leverages a combination of public and proprietary data:
- Geospatial Data: OpenStreetMap and Google Maps Street View.
- Traffic Context: TomTom Traffic API.
- Model Training: Cosmos-Drive was fine-tuned on NVIDIA’s Cosmos foundation models using the Real Driving Scene (RDS) dataset (20,000 hours) and RDS-HQ (750 hours of high-quality annotated data).
- Compatibility: The simulation components support standard formats like Waymo Open Sim Agents Challenge (WOSAC) and nuScenes.
Key Insights
- Geographic Grounding: By grounding synthesis in real-world coordinates, TeraSim-World can generate training data specific to any region (e.g., narrow Parisian streets vs. wide Arizona highways), improving model generalization.
- Trajectory-Pixel Alignment: Conditioning diffusion on HDMap videos ensures that "hallucinated" agents move according to realistic physical constraints.
- Automated Adversity: The system prioritizes the generation of rare, high-risk scenarios that are difficult to capture in the real world but essential for safety validation.
Results and Discussion
TeraSim-World has demonstrated successful data synthesis across diverse global locations, including Ann Arbor, San Diego, Paris, and rural Germany. The generated videos maintain high visual fidelity and spatial consistency across all six camera views. Furthermore, the pipeline can "upgrade" existing low-fidelity simulation assets (e.g., from CARLA) into photorealistic scenes, effectively extending the utility of legacy simulation data.
Limitations and Future Work
Currently, the pipeline operates in an open-loop fashion for dataset generation. Future development will focus on closed-loop testing, enabling real-time interaction between the AV's decisions and the generated environment. Additionally, incorporating LiDAR and Radar simulation will be crucial for supporting full sensor-fusion AV stacks. While computationally intensive, the scalability of this approach offers a promising path toward solving the data scarcity problem in autonomous driving.
Summary updated