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

BetterDepth: Plug-and-Play Diffusion Refiner for Zero-Shot Monocular Depth Estimation

Xiang Zhang, Bingxin Ke, Hayko Riemenschneider, Nando Metzger, Anton Obukhov, Markus Gross, Konrad Schindler, Christopher Schroers · OpenReview

Abstract

By training over large-scale datasets, zero-shot monocular depth estimation (MDE) methods show robust performance in the wild but often suffer from insufficiently precise details. Although recent diffusion-based MDE approaches exhibit appealing detail extraction ability, they still struggle in geometrically challenging scenes due to the difficulty of gaining robust geometric priors from diverse datasets. To leverage the complementary merits of both worlds, we propose BetterDepth to efficiently achieve geometrically correct affine-invariant MDE performance while capturing fine-grained details. Specifically, BetterDepth is a conditional diffusion-based refiner that takes the prediction from pre-trained MDE models as depth conditioning, in which the global depth context is well-captured, and iteratively refines details based on the input image. For the training of such a refiner, we propose global pre-alignment and local patch masking methods to ensure the faithfulness of BetterDepth to depth conditioning while learning to capture fine-grained scene details. By efficient training on small-scale synthetic datasets, BetterDepth achieves state-of-the-art zero-shot MDE performance on diverse public datasets and in-the-wild scenes. Moreover, BetterDepth can improve the performance of other MDE models in a plug-and-play manner without additional re-training.

Introduction

Monocular Depth Estimation (MDE)—the task of predicting 3D depth from a single 2D image—is a fundamental yet ill-posed challenge in computer vision. Traditionally, researchers have faced a trade-off between robustness and detail. Feed-forward discriminative models (e.g., Depth Anything, DPT) are trained on massive datasets and excel at capturing global scene geometry, but they often produce over-smoothed results where fine structures like chair legs or thin branches vanish. Conversely, generative diffusion models (e.g., Marigold) leverage powerful image-generation priors to produce sharp details but frequently struggle with complex real-world geometry, sometimes failing to maintain the basic structure of a scene.

Qualitative comparison showing how BetterDepth preserves global geometry while capturing fine-grained details like cat whiskers, outperforming both traditional and diffusion-based methods.

BetterDepth, developed by researchers at ETH Zürich and DisneyResearch|Studios, bridges this gap. It acts as a "plug-and-play" diffusion refiner that takes the robust global layout from existing models and iteratively sharpens the details using the original image.

Methodology: The Best of Both Worlds

BetterDepth is designed as a conditional diffusion-based refiner. Rather than generating depth from pure noise, it uses a coarse depth map from a pre-trained MDE model as a geometric "hint" (conditioning). The core technical innovations include:

  • Global Pre-Alignment: Since MDE models often predict affine-invariant depth, the authors align the coarse depth map to the ground truth during training. This prevents the model from wasting capacity on learning arbitrary scales and shifts.
  • Local Patch Masking: This is the "secret sauce" of the training process. During training, if a local patch in the coarse depth map deviates significantly from the ground truth, the model masks it out. This forces the refiner to focus on sharpening details where the layout is already correct, rather than trying to fix massive geometric errors it cannot realistically solve with limited data.
  • Iterative Refinement: The system utilizes a Latent Diffusion Model (LDM) to iteratively denoise the depth map, guided by both the coarse depth hint and the original RGB image.
The BetterDepth training architecture, featuring the global pre-alignment and local patch masking strategies used to ensure faithfulness to depth conditioning.

Experimental Results

The authors demonstrate that high performance does not require massive datasets if the architecture is intelligent. BetterDepth was trained on only 74K samples from synthetic datasets (Hypersim and Virtual KITTI) and evaluated on five major benchmarks: NYUv2, KITTI, ETH3D, ScanNet, and DIODE.

Key findings include:

  • State-of-the-Art Performance: BetterDepth outperformed all existing zero-shot MDE methods across nearly all tested datasets, achieving superior accuracy and lower error rates.
  • Efficiency: BetterDepth is approximately 75x faster than Marigold. It achieves high accuracy on KITTI in just 0.4 seconds using only 2 denoising steps, whereas previous diffusion models often required 50 steps.
  • Detail Fidelity: On the Middlebury benchmark, it significantly improved edge recall and precision, capturing intricate structures that other models completely ignored.
  • Plug-and-Play Versatility: BetterDepth can enhance the output of any existing MDE model (e.g., MiDaS, Depth Anything) without requiring additional re-training of the base model.

Conclusion and Future Work

BetterDepth represents a significant step toward high-fidelity monocular depth estimation by combining the reliability of discriminative models with the generative power of diffusion. While it introduces a two-stage overhead and is not yet optimized for high-fps real-time applications, it demonstrates that the future of MDE lies in smarter integration of complementary AI paradigms. Future research will likely focus on extending these refinement capabilities to metric depth estimation and further optimizing inference speeds for mobile deployment.

Summary updated

BibTeX
@inproceedings{zhang2024betterdepth,
  author = {Xiang Zhang and Bingxin Ke and Hayko Riemenschneider and Nando Metzger and Anton Obukhov and Markus Gross and Konrad Schindler and Christopher Schroers},
  title = {{BetterDepth: Plug-and-Play Diffusion Refiner for Zero-Shot Monocular Depth Estimation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=35WwZhkush},
}
Figure