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

Unsupervised Scale-Consistent Depth Learning from Video

Jia-Wang Bian, Huangying Zhan, Naiyan Wang, Zhichao Li, Le Zhang, Chunhua Shen, Ming-Ming Cheng, Ian Reid

Abstract

Unsupervised monocular depth estimation has emerged as a powerful alternative to supervised methods, yet it frequently suffers from per-frame scale ambiguity. This inconsistency prevents the use of predicted depth maps in downstream robotics applications like Visual SLAM. We present SC-Depth, a novel framework that enforces scale consistency across video sequences using a geometry consistency loss and an automated masking scheme for dynamic objects. By treating a monocular camera as a "Pseudo-RGBD" sensor, our approach enables robust 3D tracking and instant initialization, significantly outperforming traditional monocular SLAM systems.

Introduction

Estimating the 3D structure of a scene from a single 2D image—monocular depth estimation—is a fundamental challenge in computer vision. While unsupervised learning has removed the need for expensive ground-truth labels by using video sequences for training, a critical flaw remains: scale inconsistency. In a typical unsupervised pipeline, the network may predict a scene's scale correctly for one frame but fluctuate in the next. This "scale drift" renders the data nearly useless for navigation or mapping, where a stable coordinate system is mandatory.

Furthermore, unsupervised models often rely on the assumption of a static world. When moving objects like cars or pedestrians appear, they violate the geometric constraints used for training, leading to significant depth errors. SC-Depth addresses both the consistency and the dynamic object problem simultaneously.

Methodology

1. Geometry Consistency Loss ($L_G$)

The core innovation of SC-Depth is the Geometry Consistency Loss. During the training phase, the network predicts depth for two consecutive frames, $I_a$ and $I_b$. Using the estimated camera motion (pose), the system "warps" the depth map of frame $I_a$ into the perspective of frame $I_b$.

The $L_G$ loss penalizes any pixel-wise discrepancy between this projected depth and the network's actual prediction for frame $I_b$. By enforcing this constraint, the network is forced to adopt a single, consistent scale for the entire environment to minimize the loss across the sequence.

2. Self-Discovered Masking ($M_s$)

Moving objects and occlusions are the primary sources of geometric inconsistency. Rather than relying on a pre-trained semantic segmentation model to identify these regions, SC-Depth uses the geometry consistency map itself. Areas that exhibit high inconsistency—where the math of the static world projection fails—are automatically identified as "noise." These regions are masked out during training, ensuring that the depth model is not corrupted by dynamic elements like passing vehicles.

3. Pseudo-RGBD SLAM Integration

Because SC-Depth produces scale-consistent depth maps, the output can be treated as a virtual depth stream. The authors integrate these predictions into ORB-SLAM2, a standard geometry-based tracking system. This "Pseudo-RGBD" configuration allows for:

  • Instant Initialization: Unlike standard monocular SLAM, which requires several frames of movement to triangulate depth, this system provides a dense 3D map from the very first frame.
  • Robust Tracking: The dense depth information provides more constraints for the tracking algorithm, preventing the system from losing its position in feature-poor environments.

Experimental Results

Benchmarks and Accuracy

The model was rigorously evaluated on the KITTI autonomous driving dataset and the NYUv2 indoor dataset. On KITTI, SC-Depth achieved state-of-the-art performance for unsupervised methods, recording an Absolute Relative Error (AbsRel) of 0.114 using a ResNet50 backbone.

SLAM Robustness

In visual odometry tests, the Pseudo-RGBD system demonstrated superior stability. While standard monocular ORB-SLAM2 tracked approximately 100 keypoints, the SC-Depth-enhanced version tracked roughly 800 keypoints. This increased density makes the system significantly more resilient to rapid movements or occlusions.

Generalization and Zero-Shot Performance

To test real-world applicability, a model trained on German roads (KITTI) was tested on the KAIST Urban Dataset in Korea and self-captured footage from Adelaide, Australia. Despite the change in geography and camera hardware, the model maintained high-quality depth predictions and scale consistency without any additional fine-tuning.

Discussion and Future Work

SC-Depth demonstrates that for many robotics applications, consistency is more critical than absolute metric accuracy. While the system currently predicts "relative" scale (knowing a road is twice as wide as a sidewalk without knowing the exact measurement in meters), this consistency is sufficient for stable 3D mapping and loop closure.

Future iterations of this work could bridge the "metric gap" by incorporating external sensors like IMUs or GPS to anchor the consistent scale to real-world units. Additionally, while the current system successfully ignores moving objects to maintain map integrity, future research could focus on explicitly tracking those dynamic objects to improve safety in autonomous navigation.

Conclusion

By combining deep learning's ability to perceive dense depth with classical geometry's optimization strengths, SC-Depth provides a robust framework for monocular spatial AI. It effectively turns a simple camera into a sophisticated depth sensor capable of supporting complex SLAM tasks in diverse, unlabeled environments.

Summary updated

BibTeX
@article{bian2021unsupervised,
  author = {Jia-Wang Bian and Huangying Zhan and Naiyan Wang and Zhichao Li and Le Zhang and Chunhua Shen and Ming-Ming Cheng and Ian Reid},
  title = {{Unsupervised Scale-Consistent Depth Learning from Video}},
  journal = {Int. J. Comput. Vis.},
  year = {2021},
  doi = {10.1007/s11263-021-01484-6},
}
Figure