Semantic-Guided Representation Enhancement for Self-supervised Monocular Trained Depth Estimation

Rui Li, Qing Mao, Pei Wang, Xiantuo He, Yu Zhu, Jinqiu Sun, Yanning Zhang

Introduction

Monocular depth estimation—the task of predicting 3D scene geometry from a single 2D image—is a fundamental challenge in computer vision. While self-supervised approaches have gained popularity by learning from unlabeled video sequences through geometric constraints, they often suffer from a "blurry" problem. Specifically, these models struggle to maintain sharp depth transitions at object boundaries, often causing thin structures like sign poles or pedestrians to merge into the background. This paper addresses these limitations by introducing a framework that leverages semantic information to guide the depth estimation process.

Proposed Methodology

The authors propose a multi-task learning architecture featuring a shared encoder that feeds into two distinct branches: one for depth estimation and another for semantic segmentation. The core innovation lies in two enhancement strategies designed to improve both local detail and global consistency.

The overall architecture of the proposed framework, highlighting the Semantic-guided Edge Enhancement Module (SEEM) and Semantic-guided Multi-level Attention (SA) layers.

Semantic-guided Edge Enhancement Module (SEEM)

To combat the blurring of object boundaries, the Semantic-guided Edge Enhancement Module (SEEM) focuses computational resources on high-frequency regions. Instead of uniform processing, SEEM samples points specifically along semantic boundaries identified by the segmentation branch. By merging features from the image, depth, and semantic domains through a Point Feature Enhancement (PFE) module, the network learns to produce sharp, well-aligned depth edges.

Semantic-guided Multi-level Attention (SA)

While SEEM handles local details, the Semantic-guided Multi-level Attention (SA) mechanism ensures global context. By implementing self-attention at multiple decoding stages (layers 4, 3, and 2), the model explores pixel-wise correlations between fused semantic and depth features. This allows the network to enforce consistency across pixels belonging to the same semantic category, ensuring that an object like a car has a logically progressing depth profile.

Notably, the semantic branch is trained using pseudo-labels from off-the-shelf models, preserving the self-supervised nature of the training pipeline without requiring manual ground-truth labels.

Key Insights

A significant finding of this research is that a simple binary semantic mask (distinguishing foreground from background) is nearly as effective as a complex 19-category segmentation. This makes the system robust to minor classification errors in the pseudo-labels, as the primary goal is identifying object boundaries rather than precise category labels. Furthermore, by fusing semantic features directly into the depth decoding layers, the network learns a deeper relationship between "what" an object is and "where" it resides in 3D space.

Experimental Results

The model was evaluated on the KITTI 2015 benchmark and tested for generalization on the Cityscapes dataset.

Quantitative Performance

On the KITTI benchmark, the proposed method achieved state-of-the-art results for self-supervised monocular depth estimation. Using a ResNet-50 backbone, the model reached an Absolute Relative (Abs Rel) error of 0.105, a significant improvement over the baseline performance of 0.115.

Qualitative Sharpness

Visual comparisons demonstrate the model's superior ability to recover thin structures. While previous leading models like Monodepth2 often "smear" small objects into their backgrounds, the proposed semantic-guided approach maintains the integrity of distinct vertical structures and sharp object borders.

Qualitative comparison of depth maps. The proposed method ("Ours") shows significantly sharper object boundaries and better recovery of thin structures compared to prior work.

Conclusion

By combining local edge enhancement with global attention mechanisms, this framework significantly improves the representational power of self-supervised depth networks. The synergy between semantic understanding and geometric estimation allows for sharper, more accurate 3D scene reconstruction. Future work aims to move beyond representation enhancement toward explicit semantic constraints to further refine the underlying geometric rules of the training process.

Summary updated

BibTeX
@misc{li2020semantic,
  author = {Rui Li and Qing Mao and Pei Wang and Xiantuo He and Yu Zhu and Jinqiu Sun and Yanning Zhang},
  title = {{Semantic-Guided Representation Enhancement for Self-supervised Monocular Trained Depth Estimation}},
  year = {2020},
  eprint = {2012.08048},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2012.08048},
}
Figure