Abstract
Denoising diffusion models show remarkable performances in generative tasks, and their potential applications in perception tasks are gaining interest. In this paper, we introduce a novel framework named DiffRef3D which adopts the diffusion process on 3D object detection with point clouds for the first time. Specifically, we formulate the proposal refinement stage of two-stage 3D object detectors as a conditional diffusion process. During training, DiffRef3D gradually adds noise to the residuals between proposals and target objects, then applies the noisy residuals to proposals to generate hypotheses. The refinement module utilizes these hypotheses to denoise the noisy residuals and generate accurate box predictions. In the inference phase, DiffRef3D generates initial hypotheses by sampling noise from a Gaussian distribution as residuals and refines the hypotheses through iterative steps. DiffRef3D is a versatile proposal refinement framework that consistently improves the performance of existing 3D object detection models. We demonstrate the significance of DiffRef3D through extensive experiments on the KITTI benchmark.
Introduction
In the domain of 2D computer vision, diffusion models have recently been adapted for object detection with significant success. However, extending these techniques to 3D LiDAR data presents unique challenges. Unlike 2D images, 3D point clouds are inherently sparse, with most of the volume consisting of empty space. This sparsity makes "unconditional" diffusion—scattering random boxes across the scene—highly inefficient, as the model lacks local features to learn from in vast empty regions. Furthermore, 3D objects are often small relative to the overall scene, exacerbating the difficulty of finding a needle in a haystack.
To address these issues, we propose DiffRef3D, the first framework to successfully apply denoising diffusion to 3D object detection in LiDAR point clouds. Instead of diffusing across the entire scene, DiffRef3D shifts the process to the proposal refinement stage of two-stage detectors, using initial proposals as a spatial prior to ground the diffusion process.
Methodology
DiffRef3D reformulates the refinement stage as a conditional diffusion process. The core idea is to diffuse the residuals (the differences in position, size, and orientation) between initial proposals and ground-truth objects rather than absolute coordinates.
Conditional Diffusion and Hypothesis Generation
During training, we add noise to the residuals between proposals and target objects. These noisy residuals are then applied to the proposals to generate "hypotheses." This approach ensures that the model always operates in regions where objects are likely to exist, leveraging the first-stage detector's output as a strong condition.
Hypothesis Attention Module (HAM)
The Hypothesis Attention Module is the central component of our refinement process. As shown in the architecture diagram, it takes a hypothesis (a proposal adjusted by a noisy residual) and extracts point cloud features using RoIPooling. A self-attention mechanism is then employed to weigh these features against the current noise level, allowing the model to focus on relevant spatial information.
Temporal Transformation (TT) Block
Because diffusion is a multi-step process, the model must adapt its behavior based on the current timestep $t$. The Temporal Transformation (TT) block dynamically adjusts the influence of hypothesis features. In early stages (high noise), the model relies less on the noisy hypothesis; as the process converges (low noise), it focuses more on refining fine-grained details to produce the final box residual $\hat{x}_0^{(t)}$ and confidence score $\hat{c}_0^{(t)}$.
Experiments and Results
We evaluated DiffRef3D on the KITTI benchmark by integrating it into three popular two-stage detectors: Voxel R-CNN, PV-RCNN, and CT3D.
Performance Gains
DiffRef3D consistently improved performance across all baselines. The most significant gains were observed in the Pedestrian and Cyclist classes, which are typically harder to detect due to their small size. For the "Moderate" difficulty setting, DiffRef3D boosted Voxel R-CNN's Average Precision (AP) by 5.00% for pedestrians and 1.07% for cyclists.
Key Insights
- Adaptive Normalization: We introduced a normalization scheme that scales residuals based on the proposal's dimensions, which was found to be critical for stable training given the varied distributions of 3D box residuals.
- Signal-to-Noise Ratio (SNR): Experiments indicated that an SNR of 2 is optimal. Excessive noise (SNR=1) causes hypotheses to drift too far from the proposal, while insufficient noise (SNR=4) limits the model's ability to learn robust refinement.
- Inference Efficiency: While iterative, we found that just 3 sampling steps using the DDIM method provide an ideal balance between accuracy and latency (~152ms), making the framework practical for near real-time applications.
Conclusion
DiffRef3D demonstrates that diffusion models can be effectively adapted for 3D perception by focusing on conditional residual refinement. While the iterative nature of the process introduces a latency trade-off compared to single-pass detectors, the consistent accuracy improvements—especially for small objects—mark a significant step forward for LiDAR-based detection. Future work will explore optimizations to reduce latency and testing on larger-scale datasets like Waymo and nuScenes.
Summary updated