NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Semantics-Driven Unsupervised Learning for Monocular Depth and Ego-Motion Estimation

Xiaobin Wei, Jianjiang Feng, Jie ZhouarXiv 2020

Abstract

We propose a semantics-driven unsupervised learning approach for monocular depth and ego-motion estimation from videos. Recent unsupervised learning methods employ photometric errors between synthetic view and actual image as a supervision signal for training. In our method, we exploit semantic segmentation information to mitigate the effects of dynamic objects and occlusions in the scene, and to improve depth prediction performance by considering the correlation between depth and semantics. To avoid costly labeling process, we use noisy semantic segmentation results obtained by a pre-trained semantic segmentation network. In addition, we minimize the position error between the corresponding points of adjacent frames to utilize 3D spatial information. Experimental results on the KITTI dataset show that our method achieves good performance in both depth and ego-motion estimation tasks.

Introduction

Estimating 3D depth and camera motion (ego-motion) from a single 2D video stream is a cornerstone of autonomous navigation. While supervised methods perform well, they require massive amounts of LiDAR ground truth, which is expensive and sparse.

Unsupervised methods typically fill this gap by using photometric consistency: they predict depth and motion, "warp" one frame to look like the next, and minimize the difference. However, this approach breaks down in real-world scenarios due to dynamic objects (violating static scene assumptions), occlusions, and regions with low texture. This paper addresses these challenges by integrating semantic awareness into the unsupervised pipeline.

Methodology

The proposed framework consists of a joint training architecture featuring a Depth Prediction Network and a Pose Estimation Network. Unlike standard approaches, the depth network is designed to ingest both the original RGB image and a semantic segmentation map.

The joint training framework featuring the Depth Prediction Network and Pose Estimation Network. The depth network utilizes both RGB and semantic inputs to improve geometric understanding.

Core Innovations

The authors introduce several key mechanisms to leverage semantic information:

  • Semantic Masking: Using a pre-trained network to generate "noisy" labels, the system identifies pixels whose semantic labels change after warping. These are flagged as dynamic objects or occlusions and masked out to prevent corruption of the photometric loss.
  • 3D Point Loss ($L_{3D}$): Moving beyond 2D pixel differences, the model calculates 3D coordinates of corresponding points in adjacent frames using predicted depth and pose. It then minimizes the Euclidean distance between these 3D points, providing a robust geometric constraint.
  • Semantic Category Priors ($L_{road}$): For categories like "road" or "sidewalk," the model enforces a prior where pixels higher in the image are generally further away.
  • Semantic Consistency Loss ($L_{ss}$): This ensures that the predicted geometry remains consistent with the semantic layout of the scene across temporal frames.
Overview of the supervision signals: photometric loss, semantic loss (correlating semantics and depth), and 3D point loss.

Experimental Results

The model was trained and evaluated on the KITTI dataset, the industry standard for autonomous driving benchmarks.

Depth Accuracy

Evaluated using the Eigen split, the method achieved an Absolute Relative (Abs Rel) error of 0.131, outperforming established unsupervised baselines like Godard et al. (0.132). Qualitatively, the inclusion of semantics leads to much sharper boundaries for thin structures like poles and traffic signs.

Ego-Motion Performance

On the Absolute Trajectory Error (ATE) metric, the model achieved an error of 0.010m on Sequence 09 and 0.009m on Sequence 10, surpassing other unsupervised deep learning methods of its time.

Conclusion

This research demonstrates that semantic information, even when "noisy" and obtained from pre-trained models, can significantly enhance unsupervised depth and motion estimation. By treating semantics as a filter for dynamic objects and moving loss calculations into 3D space, the framework achieves state-of-the-art geometric accuracy. Future work will focus on further refining object boundaries to match the precision of semantic masks.

Summary updated

BibTeX
@misc{wei2020semantics,
  author = {Xiaobin Wei and Jianjiang Feng and Jie Zhou},
  title = {{Semantics-Driven Unsupervised Learning for Monocular Depth and Ego-Motion Estimation}},
  year = {2020},
  eprint = {2006.04371},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.04371},
}
Figure