Abstract
Self-supervised monocular depth estimation (SSMDE) aims at predicting the dense depth maps of monocular images, by learning to minimize a photometric loss using spatially neighboring image pairs during training. While SSMDE offers a significant scalability advantage over supervised approaches, it performs poorly on reflective surfaces as the photometric constancy assumption of the photometric loss is violated. We note that the appearance of reflective surfaces is view-dependent and often there are views of such surfaces in the training data that are not contaminated by strong specular reflections. Thus, reflective surfaces can be accurately reconstructed by aggregating the predicted depth of these views. Motivated by this observation, we propose 3D distillation: a novel training framework that utilizes the projected depth of reconstructed reflective surfaces to generate reasonably accurate depth pseudo-labels. To identify those surfaces automatically, we employ an uncertainty-guided depth fusion method, combining the smoother and more accurate projected depth on reflective surfaces and the detailed predicted depth elsewhere. In our experiments using the ScanNet and 7-Scenes datasets, we show that 3D distillation not only significantly improves the prediction accuracy, especially on the problematic surfaces, but also that it generalizes well over various underlying network architectures and to new datasets.
The Challenge of Reflective Surfaces
Most self-supervised depth models learn by trying to "reconstruct" one image from another using a predicted depth map. This process relies on photometric constancy: the assumption that a point in the world looks the same regardless of the angle from which it is viewed.
Reflective surfaces like shiny floors, monitors, or glass tables break this rule. As illustrated in Figure 1, because reflections move relative to the camera, the model often minimizes photometric loss by placing the depth at the location of the mirror image (point B) rather than the actual surface (point P). Consequently, standard models consistently overestimate the depth of specular highlights, treating them as distant "holes" rather than flat, shiny surfaces.
The 3D Distillation Framework
The authors propose a multi-stage "distillation" pipeline to correct these errors by leveraging the fact that while a reflection might ruin a depth estimate from one angle, there is usually another angle in a video sequence where that spot is clear.
As shown in Figure 3, the framework consists of several key steps:
- Initial Training: A standard SSMDE model is trained using a photometric loss.
- 3D Reconstruction: Depth predictions from multiple video frames are combined with known camera poses to build a global 3D mesh of the scene using TSDF-fusion. This process filters out view-dependent reflection errors because the true surface geometry remains consistent across frames.
- Projected Depth Generation: This 3D mesh is projected back onto individual camera views. This "projected depth" is geometrically consistent and accurate on reflections, though it may lack fine detail.
- Uncertainty-Guided Fusion: To maintain detail, the authors use an ensemble-based uncertainty map. If the model is highly uncertain (typically at a specular highlight), it adopts the projected depth. If it is certain, it retains its original predicted depth.
- Distillation: This fused depth map becomes a "pseudo-label." A final model is trained from scratch to minimize the difference between its predictions and these high-quality pseudo-labels.
Key Results and Generalization
The method demonstrates significant performance gains across various network architectures, including Monodepth2, HR-Depth, and MonoViT. On the ScanNet-Reflection subset, 3D Distillation improved the Squared Relative (Sq Rel) error by massive margins—for example, reducing it from 0.227 to 0.093 for the Monodepth2 architecture.
Beyond accuracy, the method shows strong cross-dataset generalization. When tested on the 7-Scenes dataset (without fine-tuning), distilled models consistently outperformed their self-supervised counterparts. This suggests the model learns better general rules about indoor geometry rather than just memorizing specific scenes.
Conclusion
3D Distillation effectively addresses the failure of self-supervised models on reflective surfaces by using 3D reconstruction as a geometric "teacher." The resulting models are more robust and accurate while maintaining zero additional computational overhead during inference.
Summary updated