Self-supervised Monocular Depth Estimation with Semantic-aware Depth Features

Jaehoon Choi, Dongki Jung, Donghwan Lee, Changick KimarXiv 2020

Abstract

Self-supervised monocular depth estimation has emerged as a promising method because it does not require groundtruth depth maps during training. As an alternative for the groundtruth depth map, the photometric loss enables to provide self-supervision on depth prediction by matching the input image frames. However, the photometric loss causes various problems, resulting in less accurate depth values compared with supervised approaches. In this paper, we propose SAFENet that is designed to leverage semantic information to overcome the limitations of the photometric loss. Our key idea is to exploit semantic-aware depth features that integrate the semantic and geometric knowledge. Therefore, we introduce multi-task learning schemes to incorporate semantic-awareness into the representation of depth features. Experiments on KITTI dataset demonstrate that our methods compete or even outperform the state-of-the-art methods. Furthermore, extensive experiments on different datasets show its better generalization ability and robustness to various conditions, such as low-light or adverse weather.

Introduction

Estimating depth from a single image is a fundamental challenge for autonomous systems. While supervised methods are effective, they rely on expensive LiDAR data. Self-supervised methods offer a scalable alternative by using photometric loss to learn depth from video sequences. However, this approach assumes a "Lambertian" world, failing on reflective surfaces, low-texture areas, or moving objects. SAFENet (Semantic-Aware Feature Extraction Network) addresses these weaknesses by integrating semantic knowledge—knowing "what" an object is—to provide a geometric prior that resolves visual ambiguities where the visual signal is weak or confusing.

Methodology

SAFENet employs a multi-task learning (MTL) architecture to jointly predict depth and semantic segmentation. The framework is designed to facilitate synergy between tasks while avoiding interference through specialized propagation units.

The SAFENet architecture includes a shared encoder with residual adapters, Cross Propagation Units (CPU), and Affinity Propagation Units (APU) to fuse semantic and depth features.

The architecture consists of several key components:

  1. SE-ResNet Encoder with Residual Adapters: A shared backbone uses task-specific "Residual Adapters" to maintain distinct features for depth and semantics while sharing core weights.
  2. Cross Propagation Unit (CPU): This module enables channel-wise information sharing in the decoders, allowing the depth branch to leverage semantic features.
  3. Affinity Propagation Unit (APU): A spatial attention mechanism that learns pixel-wise correlations. It ensures that pixels belonging to the same semantic object are treated consistently in the depth map.
  4. Pseudo-Labeling: To overcome the lack of semantic labels in depth datasets like KITTI, a pre-trained DeepLabv3+ model generates pseudo-labels for supervision.

Experiments and Results

The model was evaluated on the KITTI, Virtual KITTI (vKITTI), and nuScenes datasets to test real-world performance, weather robustness, and generalization ability.

Performance and Robustness

On the KITTI benchmark, SAFENet achieved an Absolute Relative (Abs Rel) error of 0.106, outperforming the Monodepth2 baseline (0.115). In synthetic adverse weather (vKITTI), it reduced the RMSE from 10.392 to 9.018, demonstrating significant reliability in fog and rain.

Qualitative comparison showing that SAFENet produces sharper object boundaries and more accurate depth for thin structures like poles compared to the baseline.

Key Insights

  • Semantics as a Geometric Anchor: Semantic classes provide structural consistency. For instance, knowing a pixel is part of a "car" prevents the model from assigning it infinite depth due to window reflections.
  • Robustness to Lighting: By utilizing feature-level fusion rather than just RGB pixels, SAFENet remains stable under low-light conditions where standard photometric loss fails.
  • Task Synergy: The CPU and APU modules prove that semantics and depth can have a symbiotic relationship, improving overall accuracy and qualitative sharpness.

Conclusion

SAFENet demonstrates that semantic awareness significantly enhances self-supervised depth estimation. While the model currently depends on pseudo-labels and introduces some computational overhead due to the dual-decoder structure, it sets a new standard for robustness in challenging environments. Future work will explore purely self-supervised semantic learning to remove the dependency on pre-trained models.

Summary updated

BibTeX
@misc{choi2020self,
  author = {Jaehoon Choi and Dongki Jung and Donghwan Lee and Changick Kim},
  title = {{Self-supervised Monocular Depth Estimation with Semantic-aware Depth Features}},
  year = {2020},
  eprint = {2010.02893},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2010.02893},
}
Figure