Introduction
Depth completion is a fundamental task in computer vision, particularly for autonomous driving and robotics. It involves transforming sparse depth measurements, typically from LiDAR sensors, into dense, high-resolution depth maps using a corresponding RGB image as a guide. While Spatial Propagation Networks (SPNs) have become the standard for this task, they suffer from two primary limitations: fixed affinity weights across iterations and a tendency to over-smooth structural details like object boundaries.
The Dynamic Spatial Propagation Network (DySPN) addresses these issues by introducing a non-linear propagation model. Unlike traditional linear SPNs that use static pixel relationships, DySPN learns adaptive affinity weights for every iteration, allowing the model to refine depth values more effectively while preserving sharp edges.
The DySPN Framework
The DySPN architecture integrates a standard encoder-decoder backbone with a series of iterative refinement modules. The backbone generates an initial coarse depth map and the necessary attention weights used by the propagation modules.
Key Innovations
DySPN introduces several structural improvements to the propagation process:
- Non-linear Propagation Model (NLPM): By estimating independent affinity matrices for each iteration, the model can adapt its focus. Early steps can prioritize filling large gaps (using distant neighbors), while later steps focus on sharpening local details.
- Neighborhood Decoupling: To maintain computational efficiency, the $7\times7$ neighborhood is decoupled into concentric rings. Spatial-sequential attention is then applied to these groups, significantly reducing the complexity compared to global attention mechanisms.
- Diffusion Suppression (DS): This mechanism acts as an adaptive "brake," estimating the confidence of refined depth at each step. It prevents over-smoothing by terminating propagation for pixels that have already converged.
Experimental Results
DySPN was evaluated on the KITTI Depth Completion and NYU Depth v2 benchmarks, achieving state-of-the-art performance on both.
- KITTI Benchmark: DySPN ranked 1st at the time of submission, achieving an RMSE of 709.12mm, outperforming previous leaders like PENet (730.08mm).
- NYU Depth v2: The model achieved an RMSE of 0.090m, surpassing other popular models such as NLSPN and GuideNet.
- Efficiency: DySPN demonstrates superior convergence, reaching high-quality results in just 6 iterations, whereas standard CSPN often requires 12 or more. The "Deformable DySPN" variant further improves speed, operating roughly 7x faster than a standard $7\times7$ CSPN module while picking neighbor samples intelligently.
Conclusion
DySPN advances the state-of-the-art in depth completion by moving beyond the limitations of linear spatial propagation. By decoupling neighborhoods and introducing dynamic, non-linear affinity learning, the model achieves higher accuracy with fewer iterations. This approach not only improves depth map quality for autonomous systems but also offers a flexible framework that could be adapted to other image-to-image refinement tasks.
Summary updated