Abstract
Monocular Depth Estimation (MDE) is a fundamentally ill-posed problem that requires a delicate balance between capturing fine-grained local textures and understanding broad global structures. This paper proposes a novel framework that bridges this gap by introducing two primary components: the Gated Large Kernel Attention Module (GLKAM) and the Global Bin Prediction Module (GBPM). Built upon a Swin Transformer backbone, the architecture utilizes large-kernel convolutions to mimic expansive receptive fields and an adaptive binning strategy that optimizes depth discretization based on the entire scene. Experimental results on the NYU-V2 and KITTI benchmarks demonstrate that the proposed method achieves state-of-the-art performance, significantly improving depth accuracy and boundary sharpness.
Introduction
Predicting 3D distance from a single 2D image is a critical task for applications ranging from autonomous driving to augmented reality. However, because a single 2D projection can represent multiple 3D configurations, MDE models must rely heavily on contextual cues. Current methodologies typically fall into two categories: CNN-based methods, which excel at local details but suffer from limited receptive fields, and Transformer-based methods, which capture global dependencies but are often computationally expensive and prone to losing sharp local features.
Furthermore, many existing models employ "binning" — discretizing depth into specific ranges. These bins are frequently fixed or based on local heuristics, failing to adapt to the diverse and complex geometries of real-world environments. This paper addresses these limitations by proposing a hybrid architecture that integrates global-aware discretization with enhanced local context modeling.
Methodology
The proposed model follows an encoder-decoder structure enhanced by two innovative modules designed to improve contextual reasoning and depth resolution.
Gated Large Kernel Attention Module (GLKAM)
Inserted between encoder stages, the GLKAM utilizes multi-scale large-kernel depth-wise convolutions (with effective receptive fields up to 35x35). This design allows the network to capture structural information typically missed by standard 3x3 convolutions without the overhead of full global attention. A Sigmoid-based gating mechanism acts as a learned "importance filter," enabling the model to adaptively weight critical geometric boundaries while ignoring noise in cluttered regions.
Global Bin Prediction Module (GBPM)
Unlike traditional methods that use local patches for binning, the GBPM analyzes the entire scene's feature map using both max and average pooling. By predicting a globally optimized distribution of depth bin centers, the model can allocate higher resolution to the depth ranges actually present in a specific image. This ensures smooth and geometrically consistent depth transitions across the entire scene.
Experiments and Results
The model was rigorously evaluated on the NYU-V2 indoor dataset and the KITTI outdoor driving dataset.
Quantitative Performance
The proposed method consistently outperformed previous state-of-the-art models such as BinsFormer and DepthFormer:
- NYU-V2: Achieved a 6.3% improvement in Absolute Relative Error (AbsRel) and a $\delta_1$ accuracy of 0.934.
- KITTI: Demonstrated a 3.8% improvement in AbsRel with a $\delta_1$ accuracy of 0.977.
Qualitative Analysis
Visual results highlight the model's ability to maintain sharp boundaries for thin objects, such as traffic signs and chair legs, which are often blurred by competing methods. Additionally, the GBPM contributes to smoother depth gradients on large, flat surfaces like roads and walls.
Conclusion
This research presents a robust framework for Monocular Depth Estimation that effectively combines local context modeling with global-aware discretization. By leveraging large-kernel attention and adaptive binning, the model sets new performance standards on industry benchmarks. Future work will explore lightweight architectural designs to enable real-time deployment on mobile and robotic platforms.
Summary updated