Abstract
We propose a semi-supervised learning framework for monocular depth estimation. Compared to existing semi-supervised learning methods, which inherit limitations of both sparse supervised and unsupervised loss functions, we achieve the complementary advantages of both loss functions, by building two separate network branches for each loss and distilling each other through the mutual distillation loss function. We also present to apply different data augmentation to each branch, which improves the robustness. We conduct experiments to demonstrate the effectiveness of our framework over the latest methods and provide extensive ablation studies.
Introduction
Monocular depth estimation—predicting the 3D depth of a scene from a single 2D image—is a critical task for autonomous driving, robotics, and augmented reality. Historically, this is solved via supervised learning using sparse ground-truth (e.g., LiDAR) or unsupervised learning using geometric constraints from stereo pairs.
To leverage both, researchers use semi-supervised learning. However, standard methods typically sum the supervised and unsupervised loss functions together. This naive approach causes the network to accumulate errors inherent to both: the sparsity of supervised data and the occlusion/blurring issues of unsupervised methods. Other approaches rely on heavy pre-trained stereo-matching networks for pseudo-labeling, introducing significant computational overhead.
Proposed Method
We introduce a Mutual Distillation framework that separates the two learning paradigms into distinct branches before combining their knowledge.
Two-Branch Architecture
Instead of a single network, we employ two identical U-Net branches. One branch is trained exclusively with a sparse supervised loss, while the other uses an unsupervised photometric reprojection loss. This separation prevents the weaknesses of one loss function (e.g., blurry boundaries from unsupervised loss) from immediately corrupting the other.
Uncertainty-Weighted Mutual Distillation
Both branches are trained in a probabilistic framework to output a depth map and an uncertainty map (modeled as a Laplacian likelihood). During training, the networks act as teachers for one another. They transfer depth knowledge using their predicted uncertainty as a continuous weight for the distillation loss. If a branch is highly uncertain about a specific pixel, its influence on the other branch is minimized.
Unprojected Point Filtering
Since LiDAR sensors do not capture the sky or transparent objects, supervised models often struggle in these regions. We introduce a novel loss term that identifies and filters out these unmeasured regions, allowing the supervised branch to safely learn the depth of the sky from the unsupervised branch instead of making erroneous guesses where ground truth is missing.
Experiments and Results
We evaluated our framework on the KITTI dataset and tested its generalization on Cityscapes.
Performance on KITTI
On the KITTI (Eigen Split) dataset, our semi-supervised method achieved state-of-the-art results, outperforming strong baselines like Monodepth2 and DepthHint. Key metrics include an Absolute Relative Error (Abs Rel) of 0.101 and an RMSE of 4.262.
Generalization and Ablation
When tested on Cityscapes without fine-tuning, the model demonstrated superior zero-shot generalization (Abs Rel: 0.220) compared to Monodepth2 (0.242). Ablation studies confirmed that every component—mutual distillation, unprojected point filtering, and asymmetric noise—contributes significantly to the final performance, reducing the baseline RMSE from 4.750 to 4.262.
Conclusion
By decoupling supervised and unsupervised learning and employing uncertainty-weighted mutual distillation, our framework achieves the sharp object boundaries of supervised learning alongside the dense coverage of unsupervised methods. While the dual-branch architecture increases training VRAM requirements, inference remains efficient as only one branch is used at test time. Future work will explore integrating more advanced unsupervised loss formulations to further enhance performance.
Summary updated