Diffusion Models for Monocular Depth Estimation: Overcoming Challenging Conditions

Fabio Tosi, Pierluigi Zama Ramirez, Matteo Poggi

Abstract

Monocular Depth Estimation (MDE) has achieved remarkable accuracy in standard conditions but often fails in "long-tail" scenarios such as adverse weather, low light, and reflective surfaces. These failures stem from a lack of high-quality training data, as active sensors like LiDAR struggle in these environments. This paper introduces a framework that uses text-to-image diffusion models to synthesize challenging conditions onto "easy" images while preserving their 3D structure. Through a self-distillation protocol, depth networks are fine-tuned on this synthesized data, leading to significant performance gains in real-world adverse conditions.

Introduction

Predicting 3D distance from a single 2D image is a fundamental task in computer vision. While modern models perform well in clear, daytime settings, they struggle with adverse weather (rain, snow), poor lighting (nighttime), and non-Lambertian surfaces (glass, mirrors). The primary bottleneck is data: collecting ground-truth depth for these conditions is difficult because sensors like LiDAR often produce noisy or incorrect data in the presence of rain or reflections.

Methodology: Diffusion-Distilled Self-Distillation

The proposed framework addresses data scarcity by treating diffusion models as universal simulators. The process follows a teacher-student self-distillation protocol:

  1. Pseudo-Labeling: A pre-trained "Teacher" network generates depth maps for "easy" images (e.g., clear daytime scenes).
  2. Geometry-Preserving Synthesis: Using a conditional diffusion model (e.g., ControlNet), these "easy" images are transformed into "challenging" versions (e.g., "rainy night") based on text prompts, while the Teacher's depth map ensures the 3D geometry remains consistent.
  3. Fine-Tuning: A "Student" network is trained to predict the Teacher's original depth map from the newly synthesized challenging images.
The proposed framework for diffusion-distilled depth estimation training.

This approach allows the model to learn robust features for adverse conditions without requiring any real-world "hard" images during the training phase.

Experimental Results

The authors evaluated the framework by fine-tuning state-of-the-art models like Depth Anything and ZoeDepth across several benchmarks.

Adverse Weather and Lighting

On the nuScenes night-rain validation set, the fine-tuned Depth Anything model reduced the Absolute Relative Error (AbsRel) from 0.291 to 0.219. This demonstrates that the model successfully transferred knowledge from synthesized rainy scenes to real-world ones.

Reflective and Transparent Surfaces

The method showed dramatic improvements on the Booster dataset, which contains indoor scenes with mirrors and glass. For "Transparent or Mirror" (ToM) objects, the AbsRel dropped from 0.13 to 0.05. Visual results confirm that the fine-tuned models can "see through" reflections that previously caused baseline models to predict incorrect depth planes or "holes."

Qualitative comparison of depth estimation across various challenging datasets. Top: Input RGB; Middle: Baseline; Bottom: Proposed Method.

Conclusion

By leveraging the generative power of diffusion models, this research provides a scalable way to improve MDE robustness in challenging environments. The ability to "hallucinate" realistic adverse conditions while maintaining geometric consistency effectively bridges the gap between standard datasets and the complex realities of the physical world. Future work may explore multi-modal controls to further refine the synthesis of niche environments.

Summary updated

BibTeX
@inproceedings{tosi2024diffusion,
  author = {Fabio Tosi and Pierluigi Zama Ramirez and Matteo Poggi},
  title = {{Diffusion Models for Monocular Depth Estimation: Overcoming Challenging Conditions}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-73337-6\_14},
}
Figure