Single-Stage 3D Geometry-Preserving Depth Estimation Model Training on Dataset Mixtures with Uncalibrated Stereo Data

Nikolay Patakin, Mikhail Romanov, Anna Vorontsova, Mikhail Artemyev, Anton Konushin

Abstract

Monocular depth estimation often relies on large-scale, uncalibrated web data, which typically results in geometrically distorted depth maps. Previous state-of-the-art methods addressed this using complex, multi-stage post-processing pipelines. This paper introduces $GP^2$ (General-Purpose and Geometry-Preserving), a single-stage training scheme that enables models to learn geometrically correct depth directly from a mixture of high-quality and uncalibrated datasets. By utilizing a small fraction of geometrically complete data as "anchors," the proposed approach achieves state-of-the-art accuracy and significantly faster inference speeds, running up to five times faster than multi-stage alternatives.

Introduction

Single-view monocular depth estimation (SVDE) is a critical component for applications in Augmented Reality (AR) and robotics. The primary challenge in training robust SVDE models is the scarcity of high-quality 3D data with known scales. To overcome this, researchers frequently utilize "uncalibrated" stereo images and videos from the web. However, since camera parameters for these sources are unknown, depth can only be recovered up to an unknown scale and shift (UTSS).

Standard models trained on such data often produce depth maps that, while visually plausible, are geometrically incorrect. When projected into 3D point clouds, these scenes appear warped. Prior solutions, such as the LeReS model, employed multi-stage pipelines with Point Cloud Modules (PCM) to correct these distortions, but at the cost of significant computational overhead.

Methods

The $GP^2$ training scheme eliminates the need for post-processing by teaching the model to predict geometrically correct depth during the initial training phase.

Comparison of the multi-stage LeReS inference pipeline versus the proposed single-stage GP² model.

The core strategy involves:

  1. Dataset Mixing: Combining "Up-To-Scale" (UTS) data, which is geometrically complete, with "Up-To-Shift-and-Scale" (UTSS) data.
  2. Loss Function Strategy: A mixture loss is applied where UTS samples use a scale-invariant loss, while UTSS samples use a shift-and-scale-invariant loss. This forces the model to leverage UTS samples as geometric anchors to resolve shift values across the entire dataset.
  3. Architecture Improvements: The authors utilize a modified Light-Weight RefineNet (LRN) with flexible fusion layers that adapt to different backbones, such as EfficientNet-Lite0 for speed or EfficientNet-B5 for higher accuracy.

Datasets and Evaluation

The scheme was validated using two major dataset mixtures:

  • MiDaS Mixture: MegaDepth and DIML Indoor (UTS) combined with RedWeb and a new Stereo Movies dataset (UTSS).
  • LeReS Mixture: Taskonomy, 3D Ken Burns, and DIML Outdoor (UTS) combined with HoloPix and HRWSI (UTSS).

Benchmarking was performed on unseen datasets including NYUv2, TUM RGB-D, Sintel, ETH3D, and iBims-1.

Results and Discussion

A key finding of this research is the "Anchor Effect": a model requires only 10-20% of geometrically complete (UTS) data to learn how to preserve geometry across the entire domain. This generalization allows the model to handle the inherent noise in web-sourced data effectively.

Qualitative comparison of 3D point clouds generated by LeReS+PCM and the proposed GP²-trained B5-LRN model.

The $GP^2$ approach demonstrates several advantages:

  • State-of-the-Art Accuracy: The B5-LRN model outperformed existing multi-stage methods across multiple benchmarks.
  • Efficiency: By removing the PCM, inference time is drastically reduced. The B5-LRN model runs in 35.4 ms on a GTX 1080 Ti, compared to 201.9 ms for LeReS+PCM. The Lite0-LRN version achieves a latency of just 11.1 ms.
  • Geometric Fidelity: Qualitative results show that point clouds from $GP^2$ models better reconstruct straight lines and object shapes, avoiding the warping common in previous methods.

Despite these advances, limitations remain. The model still faces challenges with highly reflective or transparent surfaces and very thin structures. Future work may involve integrating focal length estimation directly into the single-stage training to further simplify the pipeline when camera parameters are unknown.

Summary updated

BibTeX
@inproceedings{patakin2022single,
  author = {Nikolay Patakin and Mikhail Romanov and Anna Vorontsova and Mikhail Artemyev and Anton Konushin},
  title = {{Single-Stage 3D Geometry-Preserving Depth Estimation Model Training on Dataset Mixtures with Uncalibrated Stereo Data}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
}
Figure