Skip to main content
QUICK REVIEW

[Paper Review] UniDepth: Universal Monocular Metric Depth Estimation

Luigi Piccinelli, Yung-Hsu Yang|arXiv (Cornell University)|Mar 27, 2024
Advanced Vision and ImagingComputer Science3 citations
TL;DR

UniDepth proposes a universal monocular metric depth estimation method that predicts metric 3D points from a single image without relying on external camera parameters. It uses a self-promptable camera module, a pseudo-spherical output representation to disentangle camera and depth optimization, and a geometric invariance loss, achieving state-of-the-art zero-shot performance across ten datasets, including surpassing domain-specific models on KITTI.

ABSTRACT

Accurate monocular metric depth estimation (MMDE) is crucial to solving downstream tasks in 3D perception and modeling. However, the remarkable accuracy of recent MMDE methods is confined to their training domains. These methods fail to generalize to unseen domains even in the presence of moderate domain gaps, which hinders their practical applicability. We propose a new model, UniDepth, capable of reconstructing metric 3D scenes from solely single images across domains. Departing from the existing MMDE methods, UniDepth directly predicts metric 3D points from the input image at inference time without any additional information, striving for a universal and flexible MMDE solution. In particular, UniDepth implements a self-promptable camera module predicting dense camera representation to condition depth features. Our model exploits a pseudo-spherical output representation, which disentangles camera and depth representations. In addition, we propose a geometric invariance loss that promotes the invariance of camera-prompted depth features. Thorough evaluations on ten datasets in a zero-shot regime consistently demonstrate the superior performance of UniDepth, even when compared with methods directly trained on the testing domains. Code and models are available at: https://github.com/lpiccinelli-eth/unidepth

Motivation & Objective

  • To address the lack of generalization in existing monocular metric depth estimation (MMDE) methods across unseen domains with arbitrary camera intrinsics.
  • To enable metric 3D reconstruction from a single image without requiring camera parameters or external supervision at inference time.
  • To disentangle camera and depth optimization to improve robustness to domain shifts and camera noise.
  • To establish a zero-shot benchmark for universal MMDE by evaluating on ten diverse datasets under a fair, comparable setup.
  • To develop a flexible framework that supports both camera-free inference and integration of external camera information when available.

Proposed method

  • Introduces a self-promptable camera module that predicts dense camera representations (azimuth and elevation angles) to condition the depth prediction.
  • Employs a pseudo-spherical output space with coordinates (θ, φ, z) to decouple camera and depth optimization, preventing gradient interference.
  • Uses Laplace spherical harmonic encoding to represent camera components in a differentiable and geometrically meaningful way.
  • Applies a geometric invariance loss that enforces consistency of depth features across two geometric augmentations of the same image, simulating different camera views.
  • Implements stop-gradient operations from depth features to the camera module to stabilize training and prevent scale overfitting.
  • Utilizes a cross-attention mechanism to inject camera prompts into the depth decoder, enabling camera-conditioned depth prediction without parametric camera modeling.

Experimental results

Research questions

  • RQ1Can a monocular depth model generalize to unseen domains without relying on camera parameters at inference time?
  • RQ2How can camera and depth prediction be disentangled in a single-stage 3D prediction framework to improve robustness?
  • RQ3What role does geometric invariance across data augmentations play in enhancing zero-shot generalization for metric depth estimation?
  • RQ4Does a dense, non-parametric camera representation outperform sparse camera parameter prompting in terms of depth accuracy and domain generalization?
  • RQ5Can a unified 3D output space representation improve training stability and performance compared to Cartesian or intertwined formulations?

Key findings

  • UniDepth achieves state-of-the-art performance on the official KITTI Depth Prediction Benchmark in a zero-shot setting, outperforming methods trained specifically on the KITTI dataset.
  • The model achieves 95.2% δ₁ on KITTI in the zero-shot regime when using camera prompting, compared to only 58.9% when the camera module is removed, demonstrating the critical role of camera priors.
  • The geometric invariance loss improves both in-domain and out-of-domain performance by enhancing robustness to camera intrinsic variations and appearance changes.
  • The pseudo-spherical output representation significantly outperforms Cartesian space due to better disentanglement of camera and depth optimization, reducing error propagation.
  • Stop-gradient from depth features to the camera module stabilizes training and prevents camera supervision from dominating the encoder gradients, improving zero-shot generalization.
  • Ablations show that dense camera prompting (self-promptable module) yields superior performance compared to sparse camera parameter prompting, especially in out-of-distribution settings.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.