Towards Domain-agnostic Depth Completion

Guangkai Xu, Wei Yin, Jianming Zhang, Oliver Wang, Simon Niklaus, Simon Chen, Jia-Wang Bian

TL;DR

This paper tackles the challenge of depth completion, which aims to generate dense, accurate depth maps from sparse, noisy inputs. The authors propose a novel method that leverages a data-driven prior from single-image depth estimation and employs extensive data augmentation to achieve robust performance across diverse sensor types and environments, outperforming existing methods in domain generalization and robustness.

What Problem Does This Paper Address?

Accurate 3D perception is crucial for many computer vision applications, but depth sensors (like LiDAR or ToF on mobile phones) often provide incomplete or sparse depth information. Existing depth completion methods typically excel on specific sparsity patterns (e.g., from NYU or KITTI datasets) but struggle to generalize to different sensor types, noise levels, or unseen environments. This lack of domain-agnosticism limits their practical applicability, especially on mobile devices where depth sensing is becoming increasingly common but sensor characteristics vary widely. The paper aims to bridge this gap by developing a method that is robust to various sparsity patterns, noise, and sensor types, and to create new benchmarks to properly evaluate such generalizability.

Methods

The core of the proposed method lies in its robust architecture and training strategy:

  • Data-Driven Prior: The method leverages a "guidance depth map" generated by a pre-trained, affine-invariant single-image depth estimation network. This prior provides rich geometric information and helps to resolve ambiguities present in the sparse input depth.
  • Effective Training Scheme: To achieve domain-agnosticism, the authors employ extensive data augmentation by simulating diverse sparsity patterns. These patterns are categorized into:
  • Uniform: Simulating sparse depth from low-resolution sensors like ToF.
  • Features: Mimicking sparsity from feature-based methods like SfM, where depth is dense only at textured regions.
  • Holes: Representing missing depth information due to sensor limitations (e.g., on specular or transparent surfaces).
  • Model Architecture: The depth completion network itself is based on a modified ESANet, which fuses RGB and depth information. The sparse depth, a valid mask, and the guidance depth map are concatenated and fed into the depth branch of the network.
  • Robustness to Outliers: The training process explicitly incorporates outlier simulation by randomly scaling depth values, making the model more resilient to noisy sensor data.

Datasets

The paper utilizes several datasets for training and evaluation:

  • Training Data: A large-scale dataset is created by combining images from Taskonomy, DIML, and TartanAir.
  • Existing Benchmarks: NYU [17] and Matterport3D [26] are used for evaluating performance on established datasets.
  • Proposed Benchmarks:
    • GeneralSparsity: A new benchmark designed to evaluate robustness to different sparsity patterns. It combines data from NYU, ScanNet [27], and DIODE [28] and simulates three sparsity types: "Unpaired FoV" (simulating different camera fields of view), "Sparse ToF" (low-resolution depth), and "Short Range" (masking distant regions).
  • NoisySparsity: A benchmark to assess robustness to noisy sparse depth inputs. It uses 16 NYU videos, with noisy depth generated by COLMAP [29] to simulate real-world scene reconstruction artifacts.

Key Insights and Ideas

  • The Power of Diverse Sparsity Simulation: The paper strongly advocates for simulating a wide range of sparsity patterns during training, rather than relying on a single type. This diverse simulation is key to achieving robust cross-domain generalization.
  • Guidance Map is Crucial for Robustness: The inclusion of a guidance depth map from a pre-trained single-image depth estimator significantly improves performance, especially in handling noise and diverse sparsity patterns, compared to a baseline that only uses RGB and sparse depth.
  • Existing Benchmarks are Insufficient: The authors highlight that current benchmarks are too narrow in scope, failing to adequately test the generalization and robustness of depth completion methods in real-world scenarios. Their proposed benchmarks aim to fill this void.
  • Domain Randomization Works for Depth Completion: The success of simulating diverse sparsity patterns echoes the principles of domain randomization, demonstrating its effectiveness in bridging the gap between training and real-world deployment for depth completion tasks.

Key Results

  • Superior Cross-Domain Generalization: The proposed method achieves state-of-the-art or comparable performance on existing benchmarks (NYU, Matterport3D) without being trained on them, showcasing its strong generalization capabilities.
  • Outperformance on New Benchmarks: On the newly proposed GeneralSparsity and NoisySparsity benchmarks, the method consistently outperforms existing methods, demonstrating its robustness to various sparsity types and noise. For instance, on the NoisySparsity benchmark, the method achieves significantly better AbsRel error (e.g., 5.25% vs. 18.26% for Senushkin et al.).
  • Robustness to Sensor Types: Qualitative and quantitative results on phone-captured depths (Google Pixel, iPhone, Huawei) show that the single trained model generalizes well to different mobile sensors, providing high-quality depth completion.
  • Qualitative Improvements: Visual comparisons show that the proposed method produces denser, more accurate depth maps with fewer outliers and finer details compared to existing methods, even when those methods are trained on specific datasets.

Limitations and Future Work

  • Reliance on Guidance Map Quality: The method's performance is dependent on the quality of the guidance depth map from the single-image depth estimator. Significant errors in the guidance map can negatively impact the final completion.
  • Performance Degradation in Extreme Sparsity/Outliers: While robust, the paper notes that completion quality can still decrease significantly in very sparse scenarios where over 50% of sparse depths are outliers.
  • Future Work: The authors suggest that their work provides a strong baseline and paradigm for future research in robust and domain-agnostic depth completion. Further improvements could focus on even more challenging sparsity scenarios and potentially exploring depth-only completion settings.

Summary updated

BibTeX
@inproceedings{xu2022towards,
  author = {Guangkai Xu and Wei Yin and Jianming Zhang and Oliver Wang and Simon Niklaus and Simon Chen and Jia-Wang Bian},
  title = {{Towards Domain-agnostic Depth Completion}},
  booktitle = {Mach. Intell. Res},
  year = {2022},
}
Figure