Learning Monocular Depth Estimation Infusing Traditional Stereo Knowledge

Fabio Tosi, Filippo Aleotti, Matteo Poggi, Stefano Mattoccia

Abstract

Monocular depth estimation is a challenging task in computer vision, often treated as an ill-posed problem. This paper introduces monoResMatch, a novel deep learning architecture that leverages traditional stereo matching principles within a monocular framework. By synthesizing a virtual second viewpoint and employing correlation layers alongside proxy labels from Semi-Global Matching (SGM), the model achieves state-of-the-art performance in self-supervised depth estimation. Evaluated on the KITTI benchmark, monoResMatch demonstrates superior accuracy without requiring expensive LiDAR ground truth during training.

Introduction

Accurate depth estimation is critical for autonomous navigation and robotics. While LiDAR sensors provide high-fidelity spatial data, their cost and complexity are often prohibitive for mass-market applications. Monocular depth estimation offers a cost-effective alternative but suffers from geometric ambiguity inherent in 2D-to-3D mapping. Recent self-supervised approaches attempt to learn depth by reconstructing stereo pairs, yet they often lack the explicit geometric matching found in stereo vision. monoResMatch addresses this by internalizing the stereo matching process, effectively "pretending" to be a stereo system during training to ground its predictions in geometric constraints.

Methodology

The monoResMatch architecture consists of three integrated stages designed to infuse stereo knowledge into a monocular pipeline:

  1. Multi-scale Feature Extractor: A convolutional neural network (CNN) extracts high-level mathematical features at multiple resolutions from the raw input image.
  2. Initial Disparity Estimation: An encoder-decoder module predicts an initial disparity (inverse depth) map and—crucially—synthesizes features for a virtual right-hand viewpoint.
  3. Disparity Refinement (The "Stereo Infusion"): This core component utilizes a correlation layer to calculate matching costs between real left features and synthesized right features, mimicking a traditional stereo algorithm. A refinement module then uses these costs to correct errors in the initial disparity guess.
The monoResMatch architecture featuring multi-scale feature extraction, initial disparity estimation, and a refinement stage using a correlation layer.

To further enhance learning, the authors employ Proxy Supervision using Semi-Global Matching (SGM). SGM generates depth labels from stereo training pairs, which are then filtered for consistency to provide a stable training signal. This "teacher" approach provides a much cleaner signal than raw image reconstruction (photometric loss) alone.

Experimental Results

The model was evaluated on the KITTI dataset, the industry standard for autonomous driving, and utilized CityScapes for pre-training to improve robustness. monoResMatch achieved a state-of-the-art Absolute Relative (Abs Rel) error of 0.096 on the KITTI benchmark, outperforming existing self-supervised monocular methods.

Quantitative comparison of monoResMatch against other state-of-the-art monocular depth estimation methods on the KITTI dataset.

Beyond accuracy, the model maintains efficiency with an inference time of approximately 0.16 seconds on a modern GPU (Titan XP), making it nearly viable for real-time applications. It also demonstrates remarkable data efficiency, maintaining high performance even when trained with very few ground truth samples, proving the value of the SGM-based proxy supervision.

Conclusion

monoResMatch successfully bridges the gap between traditional geometric computer vision and modern deep learning. By forcing a monocular network to perform internal stereo matching and leveraging SGM as a "teacher," the authors achieve unprecedented accuracy in self-supervised depth estimation. This approach demonstrates that traditional algorithms still have a vital role to play in the era of pure deep learning. Future work may involve integrating semantic information to further refine depth maps in complex or occluded urban environments.

Summary updated

BibTeX
@inproceedings{tosi2019learning,
  author = {Fabio Tosi and Filippo Aleotti and Matteo Poggi and Stefano Mattoccia},
  title = {{Learning Monocular Depth Estimation Infusing Traditional Stereo Knowledge}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2019},
  doi = {10.1109/cvpr.2019.01003},
}
Figure