Abstract
Depth information is the foundation of perception, essential for autonomous driving, robotics, and other source-constrained applications. Promptly obtaining accurate and efficient depth information allows for a rapid response in dynamic environments. Sensor-based methods using LIDAR and RADAR obtain high precision at the cost of high power consumption, price, and volume. While due to advances in deep learning, vision-based approaches have recently received much attention and can overcome these drawbacks. In this work, we explore an extreme scenario in vision-based settings: estimate a depth map from one monocular image severely plagued by grid artifacts and blurry edges. To address this scenario, We first design a convolutional attention mechanism block (CAMB) which consists of channel attention and spatial attention sequentially and insert these CAMBs into skip connections. As a result, our novel approach can find the focus of current image with minimal overhead and avoid losses of depth features. Next, by combining the depth value, the gradients of X axis, Y axis and diagonal directions, and the structural similarity index measure (SSIM), we propose our novel loss function. Moreover, we utilize pixel blocks to accelerate the computation of the loss function. Finally, we show, through comprehensive experiments on two large-scale image datasets, i.e. KITTI and NYU-V2, that our method outperforms several representative baselines.
Introduction
Estimating depth from a single image is a fundamentally "ill-posed" problem because a single 2D projection can correspond to infinite 3D configurations, leading to scale ambiguity. While deep learning has significantly advanced this field, two major issues persist in current state-of-the-art models: the presence of grid artifacts and blurry object boundaries, and high computational overhead that limits deployment on edge devices. This research aims to bridge this gap by developing a model that is both edge-accurate and computationally efficient.
Methodology
The proposed architecture utilizes a standard Encoder-Decoder framework, specifically employing DenseNet-169 as the backbone. The primary innovation lies in the integration of a Convolutional Attention Mechanism Block (CAMB) within the skip connections.
Convolutional Attention Mechanism Block (CAMB)
Instead of passing features directly through skip connections, CAMBs are inserted to refine the information flow. These blocks sequentially apply channel attention—identifying which features are critical—and spatial attention—identifying where those features are located. This dual-attention approach allows the decoder to focus on key objects while effectively suppressing background noise.
Multi-Directional Gradient and SSIM Loss
To improve edge sharpness, the authors introduced a novel loss function. Unlike traditional models that only consider X and Y gradients, this approach incorporates diagonal gradients to better penalize errors in complex geometric shapes. Furthermore, the total loss is weighted by the Structural Similarity Index Measure (SSIM), ensuring that predicted depth maps maintain the structural integrity of the ground truth. To maintain efficiency, gradient calculations are performed over $b \times b$ pixel blocks rather than individual pixels, providing a tunable trade-off between accuracy and speed.
Experiments and Results
The model was rigorously evaluated on the KITTI (outdoor) and NYU-v2 (indoor) datasets. In both environments, the proposed method demonstrated superior performance over established baselines.
Quantitative Performance
On the KITTI benchmark, the model achieved an RMSE of 2.548, significantly outperforming pioneering works like Eigen et al. (7.156) and more recent high-performing models like Alhashim et al. (4.170). Similar success was observed on the NYU-v2 dataset, where the model secured top marks in Absolute Relative Error (0.107) and RMSE (0.441).
Qualitative Improvements
Visual comparisons highlight the model's ability to recover thin structures, such as street signs and poles, which are typically blurred or lost in other monocular estimation frameworks. The combination of diagonal gradient penalties and the CAMB module effectively eliminates the checkerboard artifacts common in upsampling layers.
Conclusion
By rethinking the role of skip connections and expanding the gradient loss to include diagonal components, this work provides a robust solution for high-precision monocular depth estimation. While the current model relies on a DenseNet-169 backbone, the efficiency gains from the CAMB and pixel-block acceleration suggest a promising path toward real-time deployment on lower-power robotics platforms. Future research will focus on extending these techniques to ensure temporal consistency across video sequences.
Summary updated