RoCo-Sim: Enhancing Roadside Collaborative Perception through Foreground Simulation

Yuwen Du, Anning Hu, Zichen Chao, Yifan Lu, Junhao Ge, Genjia Liu, Weitao Wu, Lanjun Wang, Siheng Chen

TL;DR

This paper introduces RoCo-Sim, the first simulation framework specifically designed for roadside collaborative perception. By generating diverse, multi-view consistent simulated data, RoCo-Sim significantly boosts the performance of 3D object detection models, addressing critical data limitations in real-world roadside perception systems.

What Problem Does This Paper Address?

Autonomous driving systems rely heavily on accurate perception of their surroundings. While vehicle-mounted sensors are crucial, roadside infrastructure (like traffic lights and cameras) can provide a complementary, more comprehensive view, especially in complex urban environments. This is the domain of "roadside collaborative perception," where multiple roadside units pool their data to enhance situational awareness.

However, current roadside perception systems face significant challenges:

  • Calibration Errors: Roadside cameras are prone to calibration drift due to environmental factors, making accurate 3D-to-2D projection difficult.
  • Sparse Data: Real-world data collection often results in long periods with few vehicles, leading to sparse training data.
  • Annotation Inconsistency: Creating accurate, multi-view consistent 3D annotations for roadside scenes is incredibly labor-intensive and costly.
  • Lack of 3D Layouts: Many existing simulation methods require 3D scene layouts, which are not readily available in roadside datasets.
  • Simulation Limitations: Existing simulators are often designed for vehicle-centric views, are time-consuming, or lack realism and multi-view consistency, making them unsuitable for roadside scenarios.

These data issues severely limit the performance of even state-of-the-art perception models.

Methods

RoCo-Sim tackles these problems with a novel simulation framework built around four key components:

  1. Camera Extrinsic Optimizer: This component refines the extrinsic parameters (rotation and translation) of roadside cameras. By mathematically modeling the 3D-to-2D projection and using an optimization algorithm (BFGS), it minimizes projection errors, ensuring accurate alignment of simulated objects with real backgrounds. An interactive UI tool is also developed to aid manual adjustment.
  2. Multi-View Occlusion-Aware Sampler (MOAS): To address data sparsity and the lack of 3D layouts, MOAS intelligently determines where to place diverse 3D digital assets within the scene. It samples potential placement points from real object locations and uses a scorer to ensure wide dispersion and visibility from multiple viewpoints, while a rule-based checker prevents physical collisions and ensures visibility.
  3. DepthSAM (Depth Estimation for Scene Awareness and Modeling): This novel module models foreground-background relationships to ensure multi-view consistency. It extracts pixel-level depth for foreground objects, calibrates it with point cloud data to achieve accurate absolute depth, and ensures correct occlusion relationships during rendering. This prevents issues like objects appearing in front of others when they should be behind.
  4. Scalable Post-Processing Toolkit: This modular toolkit allows for seamless integration of various image processing techniques, such as style transfer. This enables the generation of diverse scenarios (e.g., rainy or night scenes) and enhances the realism and richness of the simulated data, facilitating future expansion and adaptation.

The core idea is to leverage a rich library of 3D assets to construct a 3D-to-2D mapping and render foreground objects onto real 2D backgrounds, ensuring multi-view consistency through dynamic foreground editing and full-scene style transfer.

Datasets

The authors evaluate RoCo-Sim on two real-world roadside datasets:

  • Rcooper-Intersection [8]: Used for intersection scenarios, focusing on traffic data from sequences 117 and 136.
  • TUMTraf-V2X [47]: Used to assess generalization improvements, with a temporal partitioning strategy for training and validation to avoid data leakage.

Key Insights and Ideas

  • Simulation is King: The paper strongly argues that improving simulation data quality and quantity is more impactful for roadside perception than solely focusing on algorithmic enhancements.
  • Addressing Data Bottlenecks: RoCo-Sim directly tackles the critical issues of calibration errors, data sparsity, and annotation costs that plague real-world roadside perception.
  • Multi-View Consistency is Achievable: The framework demonstrates that generating consistent 3D scene representations from multiple fixed roadside camera views is feasible.
  • Dynamic Foreground Editing: The ability to dynamically insert and position 3D objects while respecting physical constraints and visibility is key to creating rich, diverse training data.
  • DepthSAM's Crucial Role: The DepthSAM module is vital for ensuring correct occlusion and depth ordering, preventing artifacts that degrade model performance.

Key Results

RoCo-Sim significantly enhances the performance of camera-only 3D object detection models:

  • Significant Performance Boost: RoCo-Sim improves performance by 83.74% on Rcooper-Intersection and 83.12% on TUMTraf-V2X for AP70.
  • Outperforming SOTA: Models trained with RoCo-Sim data outperform state-of-the-art methods. Notably, BEVHeight trained on simulated data surpasses BEVSpread trained on original data.
  • Calibration Benefits: Camera extrinsic optimization alone leads to substantial improvements, such as a 62.55% increase in AP70 for the 117 dataset.
  • Scalability: Performance improves with more simulation data and more simulated vehicles per image. Even a small amount of simulated data can significantly boost performance on limited real datasets.
  • Qualitative Improvements: Visualizations show more realistic and accurately aligned simulated objects, correct occlusion handling, and improved multi-view consistency.

Limitations and Future Work

  • Limited 3D Asset Variety: The current library of 3D assets is limited, and manually creating them is costly. Future work could explore new methods for generating diverse 3D assets.
  • Trajectory Generation: While RoCo-Sim handles object placement, a more sophisticated trajectory generator that considers real-world traffic flow and regulations could further enhance realism.
  • Generalization to New Environments: The paper notes that existing models experience a performance drop when applied to new intersection scenarios. Future work aims to train detection models with stronger generalization capabilities using the simulation framework.

Summary updated

BibTeX
@inproceedings{du2025roco,
  author = {Yuwen Du and Anning Hu and Zichen Chao and Yifan Lu and Junhao Ge and Genjia Liu and Weitao Wu and Lanjun Wang and Siheng Chen},
  title = {{RoCo-Sim: Enhancing Roadside Collaborative Perception through Foreground Simulation}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
}
Figure