Abstract
Stereo matching often fails in ill-posed regions such as occlusions and textureless surfaces. DEFOM-Stereo addresses these challenges by integrating monocular depth foundation models into a recurrent stereo matching framework. A novel Scale Update (SU) module is introduced to resolve the scale inconsistency inherent in monocular depth estimates. The resulting model demonstrates exceptional zero-shot generalization, ranking first on several major stereo benchmarks including KITTI and Middlebury.
Introduction
Traditional stereo matching algorithms rely on finding pixel-level correspondences between synchronized image pairs. However, this process is frequently hindered by "ill-posed" regions:
- Occlusions: Areas visible to only one camera but blocked in the other.
- Textureless surfaces: Uniform regions (e.g., plain white walls) where matching is ambiguous because pixels look identical.
- Optical artifacts: Reflections and blur that disrupt local matching algorithms.
While monocular depth foundation models (like Depth Anything V2) possess strong geometric "common sense" and generalize well to new environments, they only provide relative (affine) depth. DEFOM-Stereo combines this global geometric understanding with the metric precision of stereo matching to overcome these traditional limitations.
Methods
DEFOM-Stereo builds upon the RAFT-Stereo architecture, utilizing a recurrent framework to iteratively refine disparity maps. The architecture integrates high-level semantic information and handles scale discrepancies through several key innovations.
Key Architectural Components
- Combined Encoders: The model integrates features from Depth Anything V2 (DINOv2 backbone) into standard CNN feature and context encoders, providing high-level semantic guidance to the matching process.
- Monocular Depth Initialization: Instead of starting from zero disparity, the refinement process begins with a normalized monocular depth prediction.
- Scale Update (SU) Module: This core technical contribution recurrently predicts a dense scale map to align monocular estimates with the stereo geometry, addressing the scale inconsistency of monocular models.
- Scale Lookup (SL): A global search mechanism on the correlation volume that allows the model to identify the correct scale factor, even when starting from large initial errors.
Key Results and Evaluation
DEFOM-Stereo was evaluated on benchmarks including KITTI 2012/2015, Middlebury, and ETH3D. It shows significant improvements in zero-shot generalization, particularly when trained only on synthetic data.
- Zero-Shot Performance: On the Middlebury dataset, the model reduced the 2-pixel error rate by approximately one-third compared to previous state-of-the-art methods.
- Leaderboard Rankings: DEFOM-Stereo achieved 1st place rankings across multiple metrics on the KITTI, Middlebury, and ETH3D leaderboards.
- Robust Vision Challenge (RVC): The model outperformed all previous competitors in joint evaluation across diverse domains, showing a ~25% improvement on Middlebury compared to the next best model.
- Qualitative Superiority: Visual results confirm the model's ability to recover fine structural details, such as thin poles and complex geometry, which are often lost or blurred by other models.
Insights and Future Work
The success of DEFOM-Stereo highlights the value of using foundation models as a "geometric prior." By starting with a learned understanding of 3D scenes, the stereo matcher can focus on fine-tuning scale rather than guessing in ambiguous regions.
However, challenges remain. Monocular models still exhibit regional scale inconsistencies within the same image, particularly in complex synthetic scenes. Additionally, the use of large Vision Transformer (ViT) backbones increases computational requirements. Future research will focus on optimizing these models for real-time applications and further refining regional scale alignment.
Summary updated