NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Self-supervised Monocular Depth Estimation Robust to Reflective Surface Leveraged by Triplet Mining

Wonhyeok Choi, Kyumin Hwang, Wei Peng, Minwoo Choi, Sunghoon Im

Abstract

Self-supervised monocular depth estimation (SSMDE) has emerged as a powerful alternative to supervised methods, yet it remains fundamentally limited by the assumption of photometric constancy. Reflective surfaces, such as mirrors and polished floors, violate this assumption, leading to significant depth inaccuracies known as the "black-hole effect." This paper presents a novel reflection-aware triplet mining strategy designed to identify and neutralize misleading visual data in reflective regions. By leveraging camera geometry and a specialized distillation framework, the proposed method achieves state-of-the-art performance on reflective surfaces without the need for expensive 3D labels or computationally intensive mesh reconstructions.

Introduction

Most contemporary self-supervised depth models rely on the principle of photometric constancy: the assumption that a specific point in a scene maintains consistent color and brightness across different camera viewpoints. While this holds true for Lambertian (matte) surfaces, it fails catastrophically on reflective surfaces. In these instances, the reflection of external objects creates a secondary visual layer that appears to exist at a different depth than the physical surface itself. Consequently, models often predict erroneous "pits" or "black holes" where a solid, shiny surface actually exists.

Existing attempts to mitigate this issue typically involve manual annotation of reflective masks or the use of complex 3D mesh reconstructions. These approaches are often impractical due to high human labor costs or extreme computational overhead. This paper introduces an end-to-end training strategy that addresses reflections through geometry-based localization and triplet mining, offering a more efficient and scalable solution.

Methodology

The proposed framework consists of three primary components designed to localize reflections and adapt the learning process accordingly.

1. Reflective Region Localization

To handle reflections without manual labels, the model must first identify them. The authors utilize camera geometry to compare "positive pairs" (images from the same viewpoint) against "negative pairs" (images from different viewpoints). Because reflections move across a surface as the camera shifts, they violate standard epipolar geometry. By identifying areas where photometric error is abnormally low despite viewpoint changes, the model automatically generates a reflection mask ($M_r$).

2. Reflection-aware Triplet Mining Loss ($L_{tri}$)

Drawing inspiration from metric learning, the authors introduce a triplet mining loss. This function penalizes the model when it attempts to minimize photometric error in regions identified by $M_r$ using standard methods. Instead of being misled by the visual similarity of a reflection, the loss forces the model to maximize the distance between "negative" samples, effectively instructing the network to ignore the deceptive gradients produced by shiny surfaces.

3. Reflection-aware Knowledge Distillation ($L_{rkd}$)

To maintain high-frequency details in non-reflective areas while correcting reflective ones, a teacher-student distillation setup is employed. The student model learns from two specialized teachers: one focused on handling reflections via triplet loss and another optimized for standard high-frequency detail preservation. This ensures that the improvements in reflective areas do not come at the cost of overall image sharpness.

Experimental Results

The researchers evaluated the method across several benchmarks, including ScanNet (v2), NYU-v2, KITTI, and the challenging Booster dataset, which is specifically designed to test performance on mirrors and transparent surfaces.

Quantitative Performance

On the ScanNet-Reflection test split, the proposed method achieved a 12.9% improvement in Absolute Relative error (Abs Rel) compared to standard self-supervised baselines. Furthermore, the method proved to be "backbone-agnostic," successfully enhancing the performance of various architectures, including Monodepth2, HRDepth, and MonoViT.

Efficiency and Generalization

A key advantage of this approach is its training efficiency. Compared to leading "3D Distillation" methods that require 95.5 hours of training, the proposed distillation approach reached completion in just 27.3 hours—a 3.5x speedup. Zero-shot testing on the 7-Scenes and Booster datasets further demonstrated the model's ability to generalize to entirely new environments without additional fine-tuning.

Discussion and Limitations

Qualitative analysis shows that the model effectively "fills in" the depth of mirrors and windows where previous models predicted infinite depth. By using geometry as a filter, the model learns to rely on surrounding context rather than misleading visual reflections.

However, limitations remain. The model still struggles with perfectly clear glass or pure mirrors that lack any surface texture (Transparent/Mirror objects). Additionally, the current localization strategy assumes relatively simple reflection models; complex, multi-lobed reflections on curved surfaces may still cause confusion. Finally, the training process currently requires known camera poses, which may limit its application in certain "in-the-wild" video scenarios.

Conclusion

This paper demonstrates that reflection-aware triplet mining is a highly effective and efficient strategy for improving SSMDE. By identifying reflective regions through geometric inconsistencies and neutralizing their impact on the loss function, the model achieves significant gains in accuracy and robustness. Future work will focus on extending this logic to handle fully transparent objects and removing the dependency on pre-calculated camera poses.

Summary updated

BibTeX
@inproceedings{choi2025self,
  author = {Wonhyeok Choi and Kyumin Hwang and Wei Peng and Minwoo Choi and Sunghoon Im},
  title = {{Self-supervised Monocular Depth Estimation Robust to Reflective Surface Leveraged by Triplet Mining}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=XdRIno98gG},
}
Figure