Abstract
Self-supervised monocular depth estimation has become an appealing solution to the lack of ground truth labels, but its reconstruction loss often produces over-smoothed results across object boundaries and is incapable of handling occlusion explicitly. In this paper, we propose a new approach to leverage pseudo ground truth depth maps of stereo images generated from self-supervised stereo matching methods. The confidence map of the pseudo ground truth depth map is estimated to mitigate performance degeneration by inaccurate pseudo depth maps. To cope with the prediction error of the confidence map itself, we also leverage the threshold network that learns the threshold dynamically conditioned on the pseudo depth maps. The pseudo depth labels filtered out by the thresholded confidence map are used to supervise the monocular depth network. Furthermore, we propose the probabilistic framework that refines the monocular depth map with the help of its uncertainty map through the pixel-adaptive convolution (PAC) layer. Experimental results demonstrate superior performance to state-of-the-art monocular depth estimation methods. Lastly, we exhibit that the proposed threshold learning can also be used to improve the performance of existing confidence estimation approaches.
Introduction
Monocular depth estimation (MDE)—predicting 3D distance from a single 2D image—is a cornerstone of autonomous driving and scene understanding. However, training these models is challenging. Supervised methods require massive amounts of expensive LiDAR ground truth, while self-supervised methods (which rely on "reconstructing" one view from another) often produce blurry object boundaries and struggle with occlusions.
A popular middle ground is using pseudo-labels: taking a pre-trained stereo matching network to generate depth maps for training. However, stereo matching is imperfect, producing errors in textureless regions or near edges. Previous approaches filtered these errors using a confidence map and a fixed threshold. Yet, a static threshold is brittle; what works for a sunny highway often fails in a cluttered urban street. This paper introduces ThresNet, a framework that adaptively filters noisy pseudo-labels by replacing rigid thresholds with a learned, differentiable soft-thresholding operator.
Proposed Framework
The proposed architecture consists of three main components: ThresNet, DepthNet, and RefineNet.
ThresNet: Adaptive Confidence Thresholding
Instead of a fixed value, ThresNet predicts a confidence map and a per-image threshold ($\tau$) dynamically. To make this trainable, a differentiable soft-thresholding operator is employed. This function acts as a smooth gate: it suppresses low-confidence pixels and amplifies high-confidence ones, allowing the network to learn which pseudo-labels to trust for a specific scene.
DepthNet and RefineNet
DepthNet is the primary network that learns to predict depth from a single image, supervised by the filtered pseudo-labels. To sharpen the results, RefineNet utilizes a probabilistic framework. The model estimates an uncertainty map ($\sigma$) alongside the depth. This uncertainty is fed into a Pixel-Adaptive Convolution (PAC) layer, which uses the original image's features to guide depth refinement, ensuring that depth boundaries align with visual object boundaries.
Experimental Results
The model was evaluated on the KITTI and Cityscapes datasets. On the KITTI Eigen Split, the proposed method outperformed existing self-supervised and pseudo-label-based methods across all standard metrics, including Absolute Relative (Abs Rel) error and Root Mean Square Error (RMSE).
Key Insights
- Learned Thresholding: The optimal threshold for data cleaning is a function of the image content. In "easy" images (clear lighting, high texture), the threshold can be lower; in "hard" images, the network becomes more selective.
- Generalization: A ThresNet trained on KITTI produced appropriate thresholds for Cityscapes images immediately, demonstrating robustness to scene changes.
- Qualitative Sharpness: Visual results show significantly cleaner edges around thin objects like poles and pedestrians compared to previous methods.
- Efficiency: Despite the additional modules, inference time remains competitive at approximately 8.2ms, making it viable for real-time applications.
Conclusion
This work demonstrates that adaptive thresholding significantly improves the utility of pseudo-labels in monocular depth estimation. By learning to "know what it doesn't know" through uncertainty-aware refinement and dynamic thresholding, the model achieves state-of-the-art performance with superior boundary sharpness. Future work may explore pixel-varying threshold maps and further streamlining the training pipeline into a single-stage process.
Summary updated