Autonomous driving systems (ADS) are predominantly trained in simulation to mitigate the high costs and safety risks associated with real-world data collection. However, the "Sim2Real gap"—the discrepancy between idealized simulations and the complex, noisy real world—often causes models to fail during deployment. This paper introduces Sim2Real Diffusion, a modular framework that leverages foundation vision-language models to bridge this perceptual gap by transforming real-world camera feeds into the specific "style" of the simulator used during training.
Bridging the Perceptual Gap
The core challenge in Sim2Real transfer is that a model trained on clean, synthetic images cannot easily generalize to the irregular lighting, textures, and artifacts of the physical world. Rather than attempting to make the driving policy itself robust to all possible real-world variations, the authors propose a visual "adapter." This adapter acts as a translator, mapping real-world inputs back into the domain the ADS expects.
Methodology: Conditional Latent Diffusion
The framework utilizes a Conditional Latent Diffusion Model (LDM) to perform Real2Sim mapping. The researchers found that "cleaning up" real-world images into simplified simulation features is significantly more effective than the inverse (Sim2Real), as it avoids the need for the model to hallucinate complex realistic details that might not be relevant to the driving task.
Technical Architecture
The system is built upon pre-trained foundation models such as SDXL and SDXL-Turbo. To ensure the transformation is both accurate and modular, several key techniques are employed:
- DreamBooth Fine-Tuning: The model is fine-tuned on a small set (5–10 images) of simulator data using unique "trigger words" (e.g.,
<sim_scale_odd>). This allows the model to learn a specific simulator's visual identity quickly. - IP-Adapter: An image-prompt adapter allows the model to use a single reference image from the simulator to guide the transformation, ensuring geometric and semantic consistency.
- Latent U-Net: The transformation occurs within a latent space, where a conditioned U-Net iteratively removes noise to generate the simulation-style output.
Experimental Results
The framework was evaluated using the AutoDRIVE Ecosystem, involving digital twins and physical counterparts of various vehicle scales, from small-scale on-road vehicles (Nigel) to large-scale off-road platforms (Hunter).
Performance Metrics
- Success Rate: In real-world deployments, autonomous agents using the diffusion adapter achieved a 90% success rate. In contrast, models without the adapter frequently failed due to visual domain shifts.
- Gap Reduction: The framework reduced the mean style difference between the real and simulated domains by 40.33%.
- Data Efficiency: By training exclusively in simulation and using the adapter for transfer, the researchers reduced the data requirements for behavioral cloning by approximately 64x compared to traditional methods that require extensive real-world data.
Inference and Real-Time Constraints
On high-end hardware (NVIDIA L40S), the system achieved 65 iterations per second (IPS). On edge-computing hardware like the RTX 2060, it reached ~5.8 IPS. While sufficient for low-speed robotics, this "pseudo-real-time" performance highlights a current limitation for high-speed applications.
Conclusion and Future Outlook
Sim2Real Diffusion demonstrates that foundation models can serve as powerful, modular adapters for autonomous systems. By treating the domain gap as a translation problem, the framework enables high-fidelity transfer without the need for real-world training data.
Future work will focus on addressing the "dynamics gap"—the physical differences in vehicle handling—and exploring knowledge distillation to compress these large models for faster execution on edge devices. Additionally, the team aims to incorporate physics-based constraints to ensure that generated images remain strictly grounded in the physical layout of the environment.
Summary updated