A Simple yet Universal Framework for Depth Completion

Jin-Hwi Park, Hae-Gon JeonNeurIPS 2024

Abstract

Consistent depth estimation across diverse scenes and sensors is a crucial challenge in computer vision, especially when deploying machine learning models in the real world. Traditional methods depend heavily on extensive pixel-wise labeled data, which is costly and labor-intensive to acquire, and frequently struggle to scale across various depth sensors. In response, researchers have defined the Universal Depth Completion (UniDC) problem and introduced a novel framework to solve it. By leveraging monocular depth foundation models and embedding features into hyperbolic space, UniDC turns sparse sensor data into dense depth maps across any environment or sensor type with minimal training, achieving state-of-the-art accuracy in few-shot scenarios.

The Problem: Sensor Bias and Data Scarcity

Depth completion is the process of taking a sparse set of distance measurements (like those from a LiDAR or Time-of-Flight sensor) alongside an RGB image to predict a dense, pixel-perfect depth map. While vital for autonomous driving and 3D reconstruction, current models suffer from two major bottlenecks:

  1. Sensor and Domain Bias: Most models overfit to specific hardware (e.g., a 64-line LiDAR) or specific environments (e.g., sunny outdoor roads). If the sensor changes or the environment shifts indoors, performance degrades significantly.
  2. Data Scarcity: Training these models usually requires massive amounts of dense ground-truth depth data, which is incredibly expensive and labor-intensive to collect.

The UniDC framework asks a fundamental question: How do we build a system that generalizes to any sensor and any scene using only a handful of labeled examples?

Methodology

The UniDC framework introduces a three-stage pipeline that moves away from standard "black-box" encoders, focusing on structural priors and non-Euclidean geometry.

Comparison of depth completion frameworks, highlighting UniDC's hyperbolic pipeline.
  • Foundation Model Integration: Instead of training a new image encoder from scratch, UniDC uses a pre-trained monocular depth foundation model (like MiDaS). This provides a "structural prior"—an inherent understanding of 3D shapes and boundaries—without needing new training data.
  • Hyperbolic Embeddings: This is the framework's core innovation. Standard neural networks operate in Euclidean space. However, 3D scenes are naturally hierarchical (e.g., objects within rooms, parts within objects). The authors map features into hyperbolic space (specifically the Poincaré ball model). This geometry is mathematically better suited for representing hierarchical structures, helping the model distinguish between foreground and background more sharply.
  • Multi-Curvature Affinity: To refine the depth, the model uses "spatial propagation," where depth values flow to neighboring pixels based on similarity. UniDC dynamically calculates the curvature of the hyperbolic space for different regions, allowing it to adapt to both fine details and large, smooth surfaces simultaneously.

Key Insights

  • Structure vs. Scale: The monocular foundation model knows where the edges are (structure), while the sparse sensor knows how far things actually are (metric scale). UniDC effectively "glues" these two pieces of information together.
  • Solving "Bleeding Errors": A common failure in depth completion is "bleeding," where the depth of a foreground object (like a lamp post) smears into the background. By using hyperbolic space, the model creates a more distinct mathematical separation between different depths, significantly reducing these artifacts.
  • Curvature Matters: Information from distant regions prefers lower curvature, while local details need higher curvature. The multi-curvature approach allows the model to "zoom in and out" of the geometry to fit the scene's complexity.

Key Results

The authors put UniDC through a rigorous "few-shot" gauntlet using standard datasets like NYUv2 (indoor), KITTI DC (outdoor), and SUN RGB-D (cross-sensor generalization). Unlike standard benchmarks that use thousands of images, they tested performance using as few as 1, 10, or 100 images to simulate real-world deployment constraints.

Visual comparison of depth completion methods in 1-shot and 100-shot scenarios.

UniDC dominates in low-data regimes. In 1-shot learning (training on exactly one image):

  • On NYUv2 (Indoor): UniDC achieved an RMSE of 0.2099m, nearly doubling the accuracy of the next best model, BPNet (0.3573m).
  • On KITTI (Outdoor): UniDC hit an RMSE of 1.6840m, while traditional state-of-the-art models like NLSPN struggled at 7.3135m.
  • Zero-Shot Robustness: Even without training on a specific dataset, the hyperbolic features provided enough discriminative power to guide depth propagation effectively, whereas Euclidean models failed completely.

Limitations and Future Work

While UniDC is a leap forward for generalization, the authors note a few areas for future growth:

  • Input Modality: Currently, the system requires a pair of one image and one sparse depth map. It does not yet leverage multi-view consistency (using multiple frames from a moving camera).
  • Noisy Sensors: The framework is tested on LiDAR and ToF, but "noisy" sparse data—like that from Radar—remains a challenge due to its high level of interference and artifacts.
  • Uncertainty Estimation: Future versions should estimate uncertainty to inform downstream systems when the predicted depth might be unreliable.

Source code for UniDC is publicly available at GitHub.

Summary updated

BibTeX
@inproceedings{park2024simple,
  author = {Jin-Hwi Park and Hae-Gon Jeon},
  title = {{A Simple yet Universal Framework for Depth Completion}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=Y4tHp5Jilp},
}
Figure