TL;DR
Self-supervised monocular depth estimation often struggles with dynamic scenes and blurry object edges caused by standard upsampling methods. This paper introduces Self-Reference Distillation (SRD)—a single-stage online distillation method that uses the model's own history as a teacher—and Disparity Offset Refinement, which aligns multiscale features to dramatically sharpen depth boundaries. The resulting framework achieves state-of-the-art performance on standard benchmarks while cutting the training time of traditional distillation methods in half.
What Problem Does This Paper Address?
Predicting 3D depth from a single 2D image (monocular depth estimation) is a core challenge in computer vision, vital for autonomous driving and robotics. Because gathering ground-truth depth data requires expensive LiDAR sensors, researchers favor self-supervised learning, which trains networks using adjacent video frames and a photometric (reprojection) loss.
However, this approach relies heavily on the assumption that the environment is static and surfaces are perfectly diffuse (Lambertian). When cars move or surfaces reflect light, the photometric loss breaks down. While knowledge distillation (using a smart "teacher" network to guide a "student" network) can mitigate this, standard methods require a cumbersome two-stage process: training a massive teacher model first, freezing it, and then training the student. Furthermore, standard architectural designs use simple bilinear upsampling to generate multiscale depth maps, which inadvertently blurs object boundaries and causes disparity misalignment.
Methods
The authors propose a novel framework that tackles both training inefficiency and edge misalignment through two main components:
1. Self-Reference Distillation (SRD) with Multiview Check
Instead of training a separate teacher network, the authors use the student network's own optimized parameters from the previous training epoch as the teacher for the current epoch. This enables efficient, single-stage online distillation.
To ensure the student doesn't inherit errors from the teacher (such as low-confidence predictions around edges or moving objects), they introduce a Multiview Check Filter (MVC). As shown in the framework overview below, the MVC performs forward projection and backward reprojection between the target and source views. It computes geometric and reprojection errors to generate a binary hard mask, filtering out unreliable pseudo-labels before they reach the student.
2. Disparity Offset Refinement
To fix the blurry edges caused by standard upsampling, the authors design an Offset Calculation (OC) module within the decoder. By leveraging the contextual consistency between low-resolution and high-resolution feature maps, the module predicts a disparity offset field. This offset field acts as a coordinate correction map, warping the upsampled low-resolution disparity map so that it perfectly aligns with high-resolution details.
Datasets
The model was trained and evaluated on two primary datasets:
- KITTI (Eigen split): The standard benchmark for autonomous driving depth estimation, consisting of 39,810 triplets for training, 4,424 for validation, and 697 for testing.
- Make3D: An outdoor dataset used exclusively for generalization testing. The model trained on KITTI was evaluated directly on Make3D's 134 test images without any fine-tuning to test its adaptability to completely unseen environments.
Key Insights and Ideas
- Your Past Self is a Good Teacher: The paper proves that a network doesn't need a larger, more complex teacher to improve. Simply distilling knowledge from its own historical weights (from the prior epoch) provides a powerful regularization signal.
- Hard Masks Beat Soft Masks for Error Filtering: The authors experimented with using a soft mask (scaling down the loss in high-error regions) versus a binary hard mask (completely cutting off high-error regions). The hard mask performed significantly better because it entirely prevents bad gradients from corrupting the student model.
- Context-Aware Warping Fixes Upsampling: Standard bilinear upsampling blindly averages pixel values, destroying sharp edges. Learning a coordinate offset based on adjacent feature scales allows the network to actively "snap" depth boundaries to their correct semantic edges.
Key Results
Quantitative Performance
Tested on the KITTI dataset using an MPViT-S backbone at a resolution of $640 \times 192$, the proposed method achieved state-of-the-art results:
- Absolute Relative Error (Abs Rel): Reduced to 0.099, outperforming popular baselines like Monodepth2 (0.115) and competing architectures like MonoViT (0.099, but with higher squared relative error).
- Squared Relative Error (Sq Rel): Dropped significantly to 0.659 compared to MonoViT's 0.708.
Computational Efficiency
Compared to traditional two-stage distillation methods, the online self-reference approach drastically cuts resource consumption:
- Training Time: Reduced from ~75–92 hours down to 43.4 hours—essentially matching the time of a baseline model without distillation.
- FLOPs: Required only 23.5G, nearly half of what some two-stage teacher-student frameworks demand (46.8G).
Generalization
On the Make3D dataset, the model demonstrated superior zero-shot generalization capabilities, achieving an Abs Rel of 0.252 and Sq Rel of 1.583, substantially outperforming other self-supervised methods.
Limitations and Future Work
While the Multiview Check Filter successfully eliminates outliers, it relies on fixed hyperparameter thresholds ($\alpha$ and $\beta$) to determine what constitutes a "large error." The authors note that different image scenes ideally require different truncation thresholds. A valuable direction for future work would be developing an adaptive thresholding mechanism that dynamically adjusts based on scene complexity or lighting conditions.
Summary updated