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

Semantically-Guided Representation Learning for Self-Supervised Monocular Depth

Vitor Guizilini, Rui Hou, Jie Li, Rares Ambrus, Adrien Gaidon

Overview

Researchers from the Toyota Research Institute have developed a novel approach to significantly improve self-supervised monocular depth estimation by "guiding" the network with semantic information. By utilizing pixel-adaptive convolutions and a clever two-stage training process to eliminate common errors on moving objects, their method achieves state-of-the-art results, producing much sharper and more accurate depth maps.

The Challenge of Monocular Depth

Predicting 3D depth from a single 2D image is a classic "ill-posed" problem—there are infinitely many 3D scenes that could produce the exact same 2D image. While self-supervised learning has made huge strides by using geometry (specifically, how images change between video frames) as a supervisor, it suffers from two major Achilles' heels:

  1. The Static World Assumption: Self-supervised models usually assume the world is entirely still and only the camera moves. If a car drives in front of you at the exact same speed you are driving, the model assumes that car is at "infinite depth" because it isn't moving relative to the camera.
  2. Lack of Category Awareness: Standard networks treat all pixels identically. However, we know intuitively that a "car" 20 meters away should look a certain size, while a "building" does not follow that same rule. Standard convolutions are "content-agnostic" and struggle to leverage these semantic cues.

Methods: Bridging Semantics and Geometry

The authors introduce two primary innovations to bridge the gap between semantic understanding and geometric depth:

Architecture Diagram
  • Semantically-Guided Pixel-Adaptive Convolutions (PAC): Instead of using standard convolutional layers in the depth decoder, the architecture employs PACs. This setup takes features from a fixed, pretrained semantic segmentation network and uses them to modulate the depth features. Essentially, the network learns that pixels belonging to the same semantic object (like a pedestrian or a pole) should likely have similar or related depth properties, allowing for much sharper object boundaries.
  • Two-Stage Training for De-biasing: To solve the "infinite depth" problem, the authors propose a "detect and resample" strategy.
  • Stage 1: Train a standard depth network.
  • Filtering: Use a geometric prior (estimating the ground plane via RANSAC) to identify frames where objects are erroneously projected "below ground" or at infinity.
  • Stage 2: Retrain the network from scratch using only the "clean" subset of data. This prevents the model from learning the wrong lessons from dynamic objects.

Key Insights

  • Semantics as a Prior, Not a Task: Unlike previous "multi-task" attempts that try to learn depth and segmentation simultaneously (which can be highly unstable), this paper keeps the semantic network fixed. This treats semantics as a reliable "guide" rather than a moving target.
  • Geometry-Aware Filtering: The realization that the "infinite depth" error is predictable and follows a specific geometric pattern allowed the authors to clean their dataset automatically. This proves that complex "moving object" masks aren't strictly necessary if the training data is curated intelligently.
  • Equivariance Matters: The paper leans into the idea that there is a mathematical relationship between an object's 2D appearance and its 3D depth, conditioned on its category. By injecting category info, the network finally has the context it needs to resolve ambiguities.

Results and Performance

The proposed method was evaluated primarily on the KITTI benchmark, with Cityscapes used for pretraining and nuScenes for out-of-distribution testing.

Quantitative Results on KITTI
  • State-of-the-Art Performance: The high-resolution model (Ours HR) achieved an Absolute Relative (Abs Rel) error of 0.100 on the KITTI benchmark, outperforming previous self-supervised and even some strongly supervised methods.
  • Sharper Details: Qualitatively, the depth maps are significantly cleaner. Fine-grained structures like traffic poles and thin signs—which usually "bleed" into the background in other models—are clearly delineated.
  • Dynamic Object Accuracy: The two-stage training led to a massive improvement in "dynamic" categories. For example, the error on cars dropped from 0.200 to 0.177 Abs Rel, and motorcycles saw an even larger improvement.
  • Robustness: The system proved robust even when the semantic network made mistakes (e.g., misclassifying a truck as a building), as the underlying photometric loss still enforces geometric consistency.

Limitations and Future Work

While the results are impressive, the authors note a few areas for growth. The method relies heavily on a high-quality pretrained semantic network; a completely failed semantic map would likely degrade performance. Furthermore, because the semantic network is currently "frozen," future work could explore "self-supervised fine-tuning" of the semantic network itself to better align with the depth task. Finally, other sources of guidance, such as optical flow or surface normals, could be integrated into this pixel-adaptive framework to further refine the 3D representation.

Summary updated

BibTeX
@inproceedings{guizilini2020semantically,
  author = {Vitor Guizilini and Rui Hou and Jie Li and Rares Ambrus and Adrien Gaidon},
  title = {{Semantically-Guided Representation Learning for Self-Supervised Monocular Depth}},
  booktitle = {International Conference on Learning Representations},
  year = {2020},
}
Figure