[Paper Review] Learning Depth with Convolutional Spatial Propagation Network
This paper proposes Convolutional Spatial Propagation Networks (CSPN), a fast and accurate linear propagation model that uses recurrent convolutional operations to learn spatial affinities for depth estimation. By integrating CSPN into state-of-the-art networks, the method achieves over 30% error reduction in depth completion on NYUv2 and KITTI, and ranks first on KITTI Stereo 2012 and 2015 benchmarks, with 2–5× speedup over prior spatial propagation networks.
Depth prediction is one of the fundamental problems in computer vision. In this paper, we propose a simple yet effective convolutional spatial propagation network (CSPN) to learn the affinity matrix for various depth estimation tasks. Specifically, it is an efficient linear propagation model, in which the propagation is performed with a manner of recurrent convolutional operation, and the affinity among neighboring pixels is learned through a deep convolutional neural network (CNN). We can append this module to any output from a state-of-the-art (SOTA) depth estimation networks to improve their performances. In practice, we further extend CSPN in two aspects: 1) take sparse depth map as additional input, which is useful for the task of depth completion; 2) similar to commonly used 3D convolution operation in CNNs, we propose 3D CSPN to handle features with one additional dimension, which is effective in the task of stereo matching using 3D cost volume. For the tasks of sparse to dense, a.k.a depth completion. We experimented the proposed CPSN conjunct algorithms over the popular NYU v2 and KITTI datasets, where we show that our proposed algorithms not only produce high quality (e.g., 30% more reduction in depth error), but also run faster (e.g., 2 to 5x faster) than previous SOTA spatial propagation network. We also evaluated our stereo matching algorithm on the Scene Flow and KITTI Stereo datasets, and rank 1st on both the KITTI Stereo 2012 and 2015 benchmarks, which demonstrates the effectiveness of the proposed module. The code of CSPN proposed in this work will be released at https://github.com/XinJCheng/CSPN.
Motivation & Objective
- To address the limitations of serial, order-dependent depth refinement methods like SPN, which suffer from slow inference and poor alignment with image structures.
- To develop a parallel, efficient, and stable depth propagation mechanism that preserves sparse depth samples while enhancing local and global scene consistency.
- To improve depth completion and stereo matching by integrating CSPN with existing deep networks, particularly through adaptive fusion of multi-scale features and sparse supervision.
- To extend CSPN to 3D for handling disparity and scale spaces in stereo matching, enabling better context modeling and detail recovery.
- To demonstrate that learned, data-driven affinity learning outperforms handcrafted or fixed affinity models in depth estimation tasks.
Proposed method
- CSPN performs simultaneous, recurrent convolutional updates across all pixels using a learned affinity matrix derived from a deep CNN, enabling parallel and stable depth propagation.
- The model integrates sparse depth supervision by explicitly preserving values at sparse input points during propagation, ensuring fidelity to reliable LiDAR-like measurements.
- For stereo matching, a 3D variant of CSPN (3DCSPN) is introduced, allowing propagation across spatial, disparity, and scale dimensions using 3D convolutions.
- An enhanced spatial pyramid pooling module, CSPF, combines 2D CSPN with dilated convolutions and feature fusion to improve context modeling and feature representation.
- The framework is modular and can be stacked with any backbone network, such as PSMNet or the network from Ma et al. [10], for end-to-end training.
- A mirror connection module is added to the initial network to improve feature learning for structural details in depth completion.
Experimental results
Research questions
- RQ1Can a learned, parallel spatial propagation mechanism outperform serial, scan-line-based methods like SPN in depth estimation speed and accuracy?
- RQ2How can sparse depth samples be effectively preserved during propagation to maintain sensor reliability while improving dense prediction?
- RQ3To what extent can 3D CSPN improve stereo matching by modeling context across spatial, disparity, and scale spaces?
- RQ4Does integrating CSPN with spatial pyramid pooling and multi-scale feature fusion lead to consistent performance gains across diverse depth estimation benchmarks?
- RQ5Can the proposed modules generalize across different depth estimation tasks, such as depth completion and stereo matching, with minimal architectural changes?
Key findings
- The proposed CSPN achieves a 2–5× speedup over SPN in practice, with no loss in accuracy, due to its parallel update mechanism.
- On the NYUv2 dataset, the method reduces depth error by over 30% compared to the baseline in depth completion, significantly improving structural alignment and detail recovery.
- On the KITTI Stereo 2012 and 2015 benchmarks, the method ranks first, outperforming all other SOTA methods by a margin of over 10% in all major metrics.
- The ablation study confirms that combining 3DCSPN with the enhanced SPP module (ACSPF) yields the best performance, reducing EPE error from 0.971 to 0.902 on Scene Flow.
- The integration of CSPN with the baseline PSMNet reduces the D1 error rate on KITTI 2015 by more than 30% compared to the original method.
- Qualitative results show that CSPN produces sharper depth maps with better alignment to object boundaries and finer details, especially in challenging regions highlighted by dashed boxes.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.