Self-Supervised Monocular Depth Estimation with Internal Feature Fusion

Hang Zhou, David Greenwood, Sarah Taylor · DOI

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.

The overall DIFFNet architecture, illustrating the flow from input image $I_0$ through the encoder and decoder to the final depth maps. The inset shows the internal structure of a decoder node $D_i$ featuring an attention module.

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.

Comparison between the standard HRNet encoder (a) and the proposed DIFFNet encoder (b). DIFFNet concatenates features from multiple internal stages to form the final fused features $x_i^e$.

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

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.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
KITTI · challenging examplesDIFFNetAbs Rel0.197-0.01 vs baselineAuthors' challenging-case evaluation, using examples derived from the standard KITTI be…
Source quote
L247: DIFFNet │ 10.8M │ 87 │ \bf{0.197} │ 1.803 │ 5.988 │ \bf{0.282} │ \bf{0.763} │ \bf{0.912} │ \bf{0.957}
KITTI · challenging examples comparisonDIFFNetParameters10.8MParameter count as reported in the table comparing methods on the challenging KITTI exa…
Source quote
L247: DIFFNet │ 10.8M │ 87 │ \bf{0.197} │ 1.803 │ 5.988 │ \bf{0.282} │ \bf{0.763} │ \bf{0.912} │ \bf{0.957}
Reported baseline / comparator measurements (4)
BenchmarkMethodMetricScoreProtocol / Evidence
KITTI · challenging examplesHR-Depth baselineAbs Rel0.205Authors' challenging-case evaluation, using examples derived from the standard KITTI be…
Source quote
L244: HR-Depth~\cite{lyu2020hr} │ 14.62M │ 116 │ 0.205 │ \bf{1.591} │ \bf{5.726}
KITTI · challenging examplesMonodepth2 baselineAbs Rel0.213Authors' challenging-case evaluation, using examples derived from the standard KITTI be…
Source quote
L243: Monodepth2~\cite{monodepth2} │ 14.84M │ 99 │ 0.213 │ 2.197 │ 6.468 │ 0.295 │ 0.741 │ 0.906 │ 0.950
KITTI · challenging examples comparisonHR-Depth baselineParameters14.62MParameter count as reported in the table comparing methods on the challenging KITTI exa…
Source quote
L244: HR-Depth~\cite{lyu2020hr} │ 14.62M │ 116 │ 0.205 │ \bf{1.591} │ \bf{5.726}
KITTI · challenging examples comparisonMonodepth2 baselineParameters14.84MParameter count as reported in the table comparing methods on the challenging KITTI exa…
Source quote
L243: Monodepth2~\cite{monodepth2} │ 14.84M │ 99 │ 0.213 │ 2.197 │ 6.468 │ 0.295 │ 0.741 │ 0.906 │ 0.950
BibTeX
@misc{zhou2021self,
  author = {Hang Zhou and David Greenwood and Sarah Taylor},
  title = {{Self-Supervised Monocular Depth Estimation with Internal Feature Fusion}},
  year = {2021},
  eprint = {2110.09482},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2110.09482},
}
Figure