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.
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.
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