Meta-Optimization for Higher Model Generalizability in Single-Image Depth Prediction

Cho-Ying Wu, Yiqi Zhong, Junying Wang, Ulrich NeumannarXiv 2023 · DOI

Introduction

Predicting 3D depth from a single 2D image—monocular depth estimation (MDE)—is a cornerstone of modern computer vision, with applications ranging from autonomous robotics to augmented reality. While current deep learning models achieve high accuracy on specific datasets, they often struggle to generalize to "in the wild" scenarios. Indoor environments present a particular challenge due to the prevalence of depth-irrelevant cues, such as complex textures or flat paintings, which can mislead models into predicting erroneous, jagged geometry.

Researchers from the University of Southern California (USC) have developed a novel "Meta-Initialization" strategy to address this generalization gap. By rethinking the initialization phase of neural networks, the authors demonstrate that models can learn a robust geometric prior that significantly improves zero-shot performance on unseen datasets.

Methodology: Meta-Initialization via Fine-Grained Tasks

The core innovation of this work is a two-stage learning framework that utilizes meta-optimization to find a superior starting point for model weights ($\theta_{prior}$).

1. Prior Learning Stage (Meta-Optimization)

Instead of relying on standard ImageNet-based weights, the model undergoes a meta-learning phase using the Reptile algorithm. The authors introduce the concept of a Fine-Grained Task: treating every individual RGB-D image pair as a unique task. This approach acknowledges that indoor scenes are highly diverse and that no single appearance-to-depth mapping is universal. The meta-optimizer seeks an initialization that is only a few gradient steps away from the optimal solution for any given scene, forcing the network to prioritize global geometric context over local high-frequency textures.

2. Supervised Learning Stage

Following the meta-learning phase, the model is fine-tuned using standard supervised training on a target dataset. Starting from the meta-learned $\theta_{prior}$ allows the model to refine details while maintaining the structural integrity learned during the first stage.

Experimental Setup and Datasets

To rigorously evaluate generalizability, the authors employed a zero-shot cross-dataset protocol. Models were trained on one dataset and tested on others without any further fine-tuning. The study utilized several high-quality datasets:

  • Hypersim & HM3D/Replica: Synthetic and photorealistic datasets providing high scene variety.
  • NYUv2: A standard real-world benchmark for indoor depth.
  • VA (Visual Analysis): A challenging dataset featuring arbitrary camera poses and varied lighting.

Key Results

The meta-initialization strategy yielded substantial improvements across multiple benchmarks and architectures.

Quantitative Performance

On the Replica $\to$ VA cross-dataset benchmark, the proposed method improved the Root Mean Square Error (RMSE) by 29.4% compared to standard supervised learning. Furthermore, meta-initialized models like ConvNeXt-Base outperformed significantly larger foundation models (e.g., ConvNeXt-XXLarge and ViT-L/14) pre-trained on massive datasets like CLIP or ImageNet-22K, despite being trained on less data.

Qualitative 3D Structure

Beyond numerical metrics, the qualitative impact on 3D reconstruction is significant. When depth maps are back-projected into 3D point clouds, models using meta-initialization produce much more accurate representations.

Qualitative comparison of 3D point clouds generated from depth maps with and without meta-initialization.

As shown in the figure above, standard initialization often results in "skewed" or distorted geometry (see column 'a'), particularly on flat surfaces with complex textures. Meta-initialization (column 'b') correctly identifies these surfaces as planar, resulting in straighter walls and more realistic object boundaries.

Discussion and Future Work

The proposed method is architecture-agnostic and acts as a "plug-and-play" enhancement for specialized depth networks such as DPT, BTS, and AdaBins. By effectively teaching the model "how to learn" depth, meta-initialization serves as a powerful regularizer against overfitting to depth-irrelevant cues.

While the current focus is on monocular prediction, future research could extend this meta-optimization approach to incorporate temporal consistency in video or geometric constraints in stereo pairs. Additionally, the authors suggest that this framework could be applied to other per-pixel regression tasks, such as surface normal estimation or optical flow.

Summary updated

BibTeX
@misc{wu2023meta,
  author = {Cho-Ying Wu and Yiqi Zhong and Junying Wang and Ulrich Neumann},
  title = {{Meta-Optimization for Higher Model Generalizability in Single-Image Depth Prediction}},
  year = {2023},
  eprint = {2305.07269},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.07269},
}
Figure