Reversing the cycle: self-supervised deep stereo through enhanced monocular distillation

Filippo Aleotti, Fabio Tosi, Li Zhang, Matteo Poggi, Stefano Mattoccia

Abstract

Deep stereo matching typically relies on extensive ground-truth data, while self-supervised methods often fail in occluded or texture-less regions. This paper introduces a novel paradigm that "reverses the cycle" of traditional depth estimation distillation. Instead of using stereo models to supervise monocular networks, we employ a Monocular Completion Network (MCN) to generate dense, scale-accurate proxy labels for training stereo networks. By integrating sparse geometric constraints from traditional stereo with the semantic context of monocular vision, and refining these through a robust consensus mechanism, our approach achieves state-of-the-art self-supervised performance and exceptional cross-domain generalization.

Introduction

Stereo matching is a fundamental task in computer vision, essential for autonomous navigation and 3D reconstruction. While deep learning has significantly advanced the field, the requirement for dense ground-truth depth maps (often obtained via expensive LiDAR sensors) remains a major bottleneck. Self-supervised approaches attempt to circumvent this by using photometric consistency across stereo pairs. However, these methods are inherently limited in occluded areas—where a point is visible in only one camera—and in regions with low texture, where matching is ambiguous.

In contrast, monocular depth estimation leverages high-level semantic cues to infer depth from a single image, handling occlusions naturally. Its primary weakness is scale ambiguity. This work proposes to combine the geometric precision of stereo (for scale) with the contextual robustness of monocular networks (for density and occlusion handling) to create a superior supervisory signal for deep stereo architectures.

Methodology: Reversing the Cycle

The proposed pipeline consists of a multi-stage distillation process designed to produce high-quality "proxy" disparity maps without human or LiDAR supervision.

The two-stage pipeline: (1) Training the Monocular Completion Network (MCN) using sparse seeds, and (2) Generating dense proxy labels via a consensus mechanism to train the final Stereo Network.

Sparse Point Extraction and MCN Training

The process begins by extracting sparse, highly reliable depth points using traditional, non-learning-based stereo algorithms such as Semi-Global Matching (SGM). These points serve as "geometric anchors" that provide the necessary scale. A Monocular Completion Network (MCN) is then trained to take a single RGB image and these sparse points as input. The MCN learns to "fill in" the dense structure of the scene, guided by the sparse points for scale and the RGB image for semantic boundaries.

Enhanced Distillation via Consensus

To ensure the reliability of the generated labels, the authors implement a consensus mechanism. The MCN performs $N$ inferences (e.g., $N=50$) on the same scene, each time using different random augmentations and random subsets of the sparse input points. A dense proxy disparity map ($D^P$) is formed by aggregating these predictions, retaining only those pixels where the variance across inferences is low. This filtering step effectively removes "hallucinations" and ensures that the stereo network is trained only on high-confidence data.

Final Stereo Training

The resulting dense, occlusion-aware proxy maps are used as ground truth to train standard deep stereo architectures (e.g., PSMNet, GWCNet) using a standard regression loss. This allows the stereo network to learn from data that is both geometrically accurate and spatially complete.

Experimental Results

The effectiveness of the "Reversing the Cycle" approach was validated on several benchmarks, including KITTI, DrivingStereo, and Middlebury.

Visual comparison showing the input RGB image (left), the dense proxy disparity map generated by the MCN (center), and the initial sparse stereo seeds (right).

Performance on KITTI

On the KITTI 2015 benchmark, the proposed method achieved a D1-all error of 3.85%, significantly outperforming standard self-supervised stereo methods (which typically hover around 10%). Notably, the models trained on these distilled proxies even outperformed those trained on raw, filtered LiDAR data in some configurations, likely due to the superior density and spatial consistency of the MCN-generated proxies.

Generalization Capabilities

A key strength of this approach is its ability to generalize to unseen environments. When a model trained on KITTI was tested on the Middlebury dataset without any fine-tuning, it achieved an error rate (BAD2) of 19.56%. This is a substantial improvement over other self-supervised methods, which often see error rates jump to 30-45% when faced with domain shifts.

Discussion and Conclusion

By utilizing monocular networks as teachers for stereo systems, this research addresses the fundamental weaknesses of self-supervised stereo matching. The MCN provides the "context" needed for occluded regions, while sparse stereo points provide the "scale." The consensus mechanism further ensures that the supervision signal is of high quality.

While the offline generation of proxy labels is computationally intensive, the resulting performance gains and generalization capabilities suggest that this paradigm is a powerful alternative to traditional self-supervision. Future work may focus on streamlining the consensus phase or extending this distillation framework to other multi-modal perception tasks.

Summary updated

BibTeX
@inproceedings{aleotti2020reversing,
  author = {Filippo Aleotti and Fabio Tosi and Li Zhang and Matteo Poggi and Stefano Mattoccia},
  title = {{Reversing the cycle: self-supervised deep stereo through enhanced monocular distillation}},
  booktitle = {European Conference on Computer Vision},
  year = {2020},
  url = {https://openreview.net/forum?id=GDDhvM8M2T},
}
Figure