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

MonoDiffusion: Self-Supervised Monocular Depth Estimation Using Diffusion Model

Shuwei Shao, Zhongcai Pei, Weihai Chen, Dingchi Sun, Peter C. Y. Chen, Zhengguo Li

TL;DR

This paper introduces MonoDiffusion, a novel self-supervised monocular depth estimation framework that reframes the problem as an iterative denoising process using diffusion models. By employing a "pseudo ground-truth diffusion" mechanism and a "masked visual condition" approach, MonoDiffusion achieves state-of-the-art performance on challenging benchmarks without requiring ground-truth depth during training.

What Problem Does This Paper Address?

Monocular Depth Estimation (MDE) is crucial for understanding 3D scenes from single images, with applications ranging from 3D reconstruction to autonomous driving. While supervised MDE methods achieve high accuracy, they rely on expensive and difficult-to-obtain ground-truth depth data. Self-supervised MDE methods aim to overcome this limitation by learning from readily available data like monocular videos. However, existing self-supervised approaches often struggle with accuracy, especially in complex scenarios like occlusions and dynamic objects. This paper tackles the challenge of achieving high-accuracy self-supervised MDE by leveraging the generative power of diffusion models, a technique that has shown great promise in other computer vision tasks but has been difficult to adapt to the unsupervised nature of self-supervised MDE.

Methods

MonoDiffusion reframes MDE as an iterative denoising process. Instead of directly predicting depth, the model starts with a random depth distribution and progressively refines it over multiple steps to produce a final depth map. This is guided by visual conditions from the input image.

The core innovations are:

  • Pseudo Ground-Truth Diffusion: Since ground-truth depth is unavailable for self-supervised training, a pre-trained "teacher" model generates a pseudo ground-truth depth map. This map is then used as the target for a diffusion process, where noise is gradually added. This allows the diffusion model to learn the denoising process without direct supervision.
  • Masked Visual Condition Mechanism: Inspired by masked image modeling, this technique randomly masks parts of the multi-scale feature tokens from the encoder. These masked tokens are then used to reconstruct the denoised depth map, forcing the model to rely more on contextual information and enhancing its denoising capabilities.
  • Knowledge Distillation: The teacher model, used for generating the pseudo ground-truth, also allows for a knowledge distillation loss to be applied, further guiding the student model's learning.
  • Multi-View Check Filter: To mitigate potential errors in the pseudo ground-truth, a multi-view consistency check is employed to filter out erroneous depth predictions.

Datasets

  • KITTI Dataset: Used for training and evaluation. The authors adopt the Eigen split, which is a standard benchmark for monocular depth estimation.
  • Make3D Dataset: Used for zero-shot generalization evaluation, demonstrating the model's ability to perform on unseen datasets after training on KITTI.

Key Insights and Ideas

  • Diffusion Models for Unsupervised Depth: The paper successfully demonstrates that diffusion models, known for their generative prowess, can be effectively adapted for self-supervised depth estimation, a task that traditionally relies on different paradigms.
  • Pseudo Ground-Truth as a Bridge: The "pseudo ground-truth diffusion" is a clever workaround for the lack of supervision. It leverages a pre-trained model to create a plausible target for the diffusion process, enabling learning without direct ground-truth.
  • Masking for Enhanced Context: The masked visual condition mechanism highlights the power of self-supervised learning techniques like masked autoencoders, showing that applying similar principles to depth prediction can significantly improve performance by forcing the model to learn richer contextual representations.
  • Iterative Refinement is Key: The iterative denoising process inherent in diffusion models allows for a gradual refinement of depth maps, leading to more detailed and accurate predictions compared to single-shot methods.

Key Results

  • State-of-the-Art Performance: MonoDiffusion outperforms previous state-of-the-art self-supervised monocular depth estimation methods on both the KITTI and Make3D datasets across various metrics (Abs Rel, Sq Rel, RMSE, RMSE log, and accuracy metrics like δ < 1.25).
  • KITTI Benchmark: Achieved the best results with a Lite-Mono-8M encoder, showing competitive performance even with a small model size (3.1M parameters for the base model).
  • Make3D Benchmark: Demonstrated strong zero-shot generalization capabilities, outperforming other methods trained on KITTI.
  • Qualitative Improvements: Visualizations show MonoDiffusion producing more detailed depth maps, better object contour delineation, and more accurate 3D point cloud reconstructions compared to existing methods.

Limitations and Future Work

  • Computational Cost: Diffusion models are generally computationally intensive, and while the paper mentions an improved inference process, it's still a factor. The paper explores the impact of inference steps, showing performance improvements with more steps but also diminishing returns and potential degradation.
  • Teacher Model Dependency: The performance of the pseudo ground-truth diffusion relies on the quality of the teacher model.
  • Future Work: The authors suggest that their novel initiative will encourage more sophisticated diffusion-based depth estimation achievements, implying potential for further improvements and exploration of diffusion models in this domain. The paper also implicitly suggests that further optimization of the diffusion process and masked visual condition mechanism could lead to even better results.

Summary updated

BibTeX
@article{shao2023monodiffusion,
  author = {Shuwei Shao and Zhongcai Pei and Weihai Chen and Dingchi Sun and Peter C. Y. Chen and Zhengguo Li},
  title = {{MonoDiffusion: Self-Supervised Monocular Depth Estimation Using Diffusion Model}},
  journal = {IEEE Trans. Circuits Syst. Video Technol.},
  year = {2023},
}
Figure