CoDiff: Conditional Diffusion Model for Collaborative 3D Object Detection

Zhe Huang, Shuo Wang, Yongcai Wang, Lei WangarXiv 2025 · DOI

TL;DR

CoDiff is a novel framework that makes collaborative 3D object detection for autonomous vehicles significantly more resilient to real-world "noise." By combining unsupervised graph-based pose calibration with a conditional latent diffusion model, it successfully realigns misaligned features caused by communication delays and localization errors, outperforming current state-of-the-art methods in high-noise environments.

The Challenge of Real-World V2X

In the world of autonomous driving, "collaborative perception" (V2X) allows multiple vehicles and roadside sensors to share data, effectively "seeing" around corners or through obstacles. However, this relies on a perfect world. In reality, two major issues break these systems:

  1. Pose Inconsistency: If Vehicle A’s GPS is off by just a few centimeters compared to Vehicle B, their shared sensor data won't overlap correctly.
  2. Time Delays: Communication lag means that by the time Vehicle B receives Vehicle A's data, the world has moved.
Key noise factors: (a) time delays and (b) pose inconsistencies.

Existing solutions often handle one of these issues but struggle when both occur simultaneously or when the environment is crowded. When noise levels rise, the fused "feature maps" become blurry and misaligned, leading to missed detections or "ghost" objects.

The CoDiff Framework

The authors propose CoDiff, which tackles these issues through a two-stage pipeline:

1. Pose Calibration Module (PCM)

Instead of relying on perfect GPS, PCM treats the objects detected by different agents as nodes in a graph. It uses Bipartite Graph Matching to find correspondences between objects seen by different vehicles. Once it knows which "car" in Vehicle A's view is the same "car" in Vehicle B's view, it runs an optimization algorithm (Levenberg-Marquardt) to calculate the exact spatial offset between the two vehicles and realign them. Crucially, this is unsupervised—it doesn't need ground-truth location labels to work.

2. Time Calibration Module (TCM)

To handle time delays, the authors turn to Generative AI. They treat time-delay-induced errors as a form of data noise.

  • Latent Diffusion: Because processing high-resolution 3D feature maps is computationally expensive, they first compress the features into a "latent space."
  • Conditional Denoising: They use a Diffusion Model to "denoise" the fused feature map. The model is "conditioned" on the individual agents' features, guiding the generative process to reconstruct a clear, synchronized, and comprehensive feature representation of the environment.

Key Results

CoDiff consistently achieved the highest Average Precision (AP) across major benchmarks like DAIR-V2X, V2XSet, and OPV2V, especially under stress:

Overview of noise factors and comparison of detection results between noisy baselines and CoDiff.
  • Superior Accuracy: On the V2XSet dataset at an IoU threshold of 0.7, CoDiff achieved 82.3% AP, outperforming the previous best (RoCo) at 80.5%.
  • Latency Resilience: In tests with a massive 200ms time delay, CoDiff improved detection by 2.6% over the next best method. While many models degrade quickly, CoDiff maintains a much flatter performance curve as delays stretch toward 400ms.
  • Qualitative Clarity: Visualization of the "attention maps" shows that CoDiff produces much sharper feature intensities for distant objects compared to standard fusion methods, which often produce "smudged" features.
  • Efficiency: Despite using a diffusion process, the model achieves an inference time of roughly 125-127ms on a single NVIDIA 2080Ti, which is approaching the requirements for real-time deployment.

Limitations and Future Work

While 125ms is fast for a research prototype, it may still be too slow for high-speed autonomous driving where sub-50ms latency is often desired. Performance depends on the number of denoising steps in the diffusion process; fewer steps are faster but less accurate. The authors suggest expanding this framework beyond 3D object detection to other tasks like collaborative semantic segmentation or motion prediction.

Summary updated

BibTeX
@misc{huang2025codiff,
  author = {Zhe Huang and Shuo Wang and Yongcai Wang and Lei Wang},
  title = {{CoDiff: Conditional Diffusion Model for Collaborative 3D Object Detection}},
  year = {2025},
  eprint = {2502.14891},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.14891},
}
Figure