Improving Monocular Depth Estimation by Leveraging Structural Awareness and Complementary Datasets

Tian Chen, Shijie An, Yuan Zhang, Chongyang Ma, Huayan Wang, Xiaoyan Guo, Wen Zheng

Abstract

Monocular depth estimation (MDE) is a fundamental yet challenging task in computer vision. This paper proposes a novel framework that enhances structural awareness through a combination of architectural innovations, a focal-based relative loss function, and a curriculum learning strategy. By introducing Spatial Attention Blocks (SAB) and a new "Hard Case" (HC) dataset, the authors achieve state-of-the-art results on the NYUDv2 benchmark and demonstrate superior generalization on unseen data.

Introduction

Monocular Depth Estimation—predicting a 3D depth map from a single 2D image—is an ill-posed problem requiring models to rely on visual cues like perspective and texture. Traditional deep learning approaches often struggle with structural blindness, ordinal errors, and data bias. Specifically, models frequently fail in "hard cases" such as dark lighting, reflective surfaces, or tilted camera angles.

Figure 1: Examples of failure modes in standard MDE models, addressed by the new HC Depth Dataset.

Methodology

The proposed approach addresses these challenges through three main components:

1. Structural Awareness Architecture

The model employs a U-Net-style encoder-decoder architecture. To preserve spatial information, the authors integrate Spatial Attention Blocks (SAB) and Global Context Blocks (GCB). The SABs fuse high-level semantic features with low-level structural details, generating 2D attention maps that guide the network's focus across different scales.

Figure 4: The overall network architecture, illustrating the integration of GCB and SAB modules within the encoder-decoder framework.

2. Global Focal Relative Loss (GFRL)

To improve ordinal accuracy, the authors introduce GFRL. This loss function samples pairs of points and prioritizes fixing those with incorrect depth ordering. This "focal" approach ensures the model learns complex spatial relationships rather than just absolute pixel values.

3. Edge-Aware Consistency and Curriculum Learning

To maintain sharp object boundaries, a 5x penalty is applied to errors near edges detected in the ground-truth depth. Furthermore, an incremental dataset mixing strategy is used. Training begins with simpler synthetic data and gradually incorporates more diverse and challenging real-world datasets, including the new HC dataset.

Datasets

The study utilizes standard benchmarks (NYUDv2, ScanNet, SUNCG) and introduces the HC Depth Dataset. This new dataset contains over 120,000 images specifically designed to cover common failure modes like reflections and extreme lighting.

Results

The model, $M_{full}$, sets new performance standards:

  • NYUDv2: Achieved a threshold accuracy ($\delta_1$) of 0.899, outperforming previous state-of-the-art methods.
  • Generalization: In zero-shot tests on the TUM dataset, the model significantly reduced RMSE to 0.912, demonstrating robust performance in unseen environments.
  • Visual Quality: Qualitative results show significantly cleaner edges and reduced "bleeding" artifacts compared to prior models.

Conclusion

By leveraging structural awareness and a diverse curriculum of datasets, this work provides a robust solution for monocular depth estimation. Future research will focus on model optimization for mobile AR applications and extending these techniques to video sequences.

Summary updated

BibTeX
@inproceedings{chen2020improving,
  author = {Tian Chen and Shijie An and Yuan Zhang and Chongyang Ma and Huayan Wang and Xiaoyan Guo and Wen Zheng},
  title = {{Improving Monocular Depth Estimation by Leveraging Structural Awareness and Complementary Datasets}},
  booktitle = {European Conference on Computer Vision},
  year = {2020},
  doi = {10.1007/978-3-030-58568-6\_6},
}
Figure