DepthFM: Fast Monocular Depth Estimation with Flow Matching

Ming Gui, Johannes Schusterbauer, Ulrich Prestel, Pingchuan Ma, Dmytro Kotovenko +4 more
3/20/2024
cs.CV

No official code found. Best implementation: CompVis/depth-fm (760 stars, MIT, last commit 2025-05-06).

Abstract

Current discriminative depth estimation methods often produce blurry artifacts, while generative approaches suffer from slow sampling due to curvatures in the noise-to-depth transport. Our method addresses these challenges by framing depth estimation as a direct transport between image and depth distributions. We are the first to explore flow matching in this field, and we demonstrate that its interpolation trajectories enhance both training and sampling efficiency while preserving high performance. While generative models typically require extensive training data, we mitigate this dependency by integrating external knowledge from a pre-trained image diffusion model, enabling effective transfer even across differing objectives. To further boost our model performance, we employ synthetic data and utilize image-depth pairs generated by a discriminative model on an in-the-wild image dataset. As a generative model, our model can reliably estimate depth confidence, which provides an additional advantage. Our approach achieves competitive zero-shot performance on standard benchmarks of complex natural scenes while improving sampling efficiency and only requiring minimal synthetic data for training.

View on arXivView PDF

Code Implementations(1)

CompVis/depth-fmCommunity100%
MIT

[AAAI 2025, Oral] DepthFM: Fast Monocular Depth Estimation with Flow Matching

76046Python, Jupyter NotebookMar 21, 20241 years agoMIT
depth-estimationdiffusion-modelflow-matchingstochastic-interpolants

Similar Papers

Cite this paper

@article{gui2024depthfm,
  title  = {DepthFM: Fast Monocular Depth Estimation with Flow Matching},
  author = {Ming Gui and Johannes Schusterbauer and Ulrich Prestel and Pingchuan Ma and Dmytro Kotovenko and Olga Grebenkova and Stefan Andreas Baumann and Vincent Tao Hu and Björn Ommer},
  year   = {2024},
  eprint = {2403.13788},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.13788v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.13788.svg)](https://codeofpaper.com/paper/2403.13788)

Discussion