Abstract
Self-supervised learning for depth estimation uses geometry in image sequences for supervision and shows promising results. Like many computer vision tasks, depth network performance is determined by the capability to learn accurate spatial and semantic representations from images. Therefore, it is natural to exploit semantic segmentation networks for depth estimation. In this work, based on a well-developed semantic segmentation network HRNet, we propose a novel depth estimation network DIFFNet, which can make use of semantic information in down and upsampling procedures. By applying feature fusion and an attention mechanism, our proposed method outperforms the state-of-the-art monocular depth estimation methods on the KITTI benchmark. Our method also demonstrates greater potential on higher resolution training data. We propose an additional extended evaluation strategy by establishing a test set of challenging cases, empirically derived from the standard benchmark.
Introduction
Estimating 3D depth from a single 2D image—monocular depth estimation—is a fundamental yet "ill-posed" problem in computer vision. While self-supervised learning has made significant strides by using video sequences to teach networks about geometry, most models still struggle with fine spatial details and complex scenes. Standard encoder-decoder architectures, typically built on ResNet backbones, often compress images into a low-resolution "bottleneck," losing the precision needed to identify thin objects like poles or distant street signs.
Methodology: The DIFFNet Architecture
To overcome the limitations of traditional architectures, the authors introduce DIFFNet. This model rethinks how networks handle semantic and spatial information through three primary innovations:
1. HRNet Backbone
Instead of a standard ResNet, DIFFNet utilizes HRNet (High-Resolution Network) as its encoder. HRNet is unique because it maintains high-resolution representations throughout the entire encoding process, ensuring that fine spatial details are preserved from input to output.
2. Multi-stage Internal Feature Fusion (MF)
Depth estimation requires both spatial precision ("where") and semantic understanding ("what"). DIFFNet leverages the fact that different stages of the encoder contain varying levels of semantic richness. Rather than just passing the final encoder output to the decoder, the Multi-stage Internal Feature Fusion (MF) strategy concatenates feature maps from all intermediate stages.
As shown in Figure 2, this "stacking" of information allows the model to be more knowledgeable about the scene's semantics without requiring expensive additional convolutional layers or external pre-trained segmentation networks.
3. Attention-based Decoder
To bridge the gap between the encoder and decoder, DIFFNet introduces a Channel-wise Attention Module within the decoder nodes ($D_i$). This module helps the network prioritize the most relevant features from the skip connections when reconstructing the final depth map.
Experiments and Results
DIFFNet was rigorously tested on the industry-standard KITTI benchmark and a newly proposed Challenging KITTI set, which focuses on the most difficult images (e.g., complex foliage and lighting) for current state-of-the-art models.
- State-of-the-Art Accuracy: DIFFNet achieved an Absolute Relative Error (Abs Rel) of 0.102 at standard resolution, outperforming major competitors like Monodepth2 and PackNet. At higher resolutions (1024x320), the error dropped further to 0.097.
- Efficiency: Despite its performance, DIFFNet is remarkably lightweight, using only 10.8M parameters, significantly fewer than Monodepth2 (14.84M) or HR-Depth (14.62M).
- Visual Quality: Qualitatively, the model produces much sharper object boundaries and handles thin structures that other models often blur into the background.
Conclusion
DIFFNet demonstrates that maintaining high-resolution representations and intelligently fusing internal semantic features can significantly improve self-supervised depth estimation. By combining the strengths of HRNet with a novel feature fusion strategy and attention-based decoding, DIFFNet achieves a superior balance of accuracy, detail, and parameter efficiency.
Summary updated