Consistency-aware Self-Training for Iterative-based Stereo Matching

Jingyi Zhou, Peng Ye, Haoyu Zhang, Jiakang Yuan, Rao Qiang, Yangchenxu Liu, Wu Cailin, Feng Xu, Tao Chen

Abstract

Iterative-based stereo matching models, while state-of-the-art, are limited by their dependence on large-scale labeled datasets. We introduce CST-Stereo, the first self-training framework tailored for these architectures. By analyzing prediction consistency across multiple resolutions and refinement iterations, our framework generates reliable soft-weighted pseudo-labels from unlabeled real-world data. Experimental results demonstrate that CST-Stereo significantly reduces the domain gap, achieving top-tier performance on the Middlebury and KITTI 2015 leaderboards.

Introduction

Stereo matching—predicting depth by comparing a pair of rectified images—is a fundamental task in computer vision, essential for depth perception in autonomous systems. Recent advancements have been driven by iterative-based models like RAFT-Stereo and IGEV, which refine disparity maps through recurrent updates. However, these models suffer from a significant domain gap when transitioning from synthetic training data to real-world environments. Obtaining high-quality ground truth labels for real-world stereo pairs is costly and technically challenging, necessitating effective unsupervised or semi-supervised learning strategies.

Overview of the CST framework across different domain scenarios, including in-domain, domain adaptation, and domain generalization.

The CST-Stereo Framework

The proposed Consistency-aware Self-Training (CST) framework utilizes a teacher-student paradigm to exploit unlabeled data. Traditional self-training methods often rely on cost-volume-based confidence measures to filter pseudo-labels. However, modern iterative models frequently bypass explicit cost volumes, making them incompatible with these techniques. CST addresses this by evaluating reliability through output stability across different contexts.

Consistency-aware Soft Filtering

The core innovation is the Consistency-aware Soft Filtering Module, which evaluates the reliability of the teacher's pseudo-labels through two primary mechanisms:

  1. Multi-resolution Prediction Consistency Filter (MRPCF): The teacher predicts disparity at three scales (upscaled, original, and downscaled). High variance across these scales indicates that the model is uncertain about the pixel's depth, marking it as unreliable.
  2. Iterative Prediction Consistency Filter (IPCF): Iterative models refine their answers over multiple steps using Gated Recurrent Units (GRUs). The authors observed that "confused" pixels tend to oscillate rather than converge. This filter measures the average fluctuation in the final stages of iteration to identify unstable predictions.
Detailed architecture of the Consistency-aware Soft Filtering Module, highlighting the MRPCF and IPCF components and the generation of soft filtering weights.

Soft-weighted Loss and EMA

Instead of rigid binary thresholding (keeping or discarding a label), CST employs a soft-weighted loss function. This allows the student model to learn from challenging regions, such as edges and occlusions, by weighting their contribution based on consistency scores. To ensure stability, the teacher model is updated via an Exponential Moving Average (EMA) of the student's weights, creating a cyclic enhancement of label quality.

Experimental Results

CST-Stereo was evaluated across three scenarios: in-domain training, domain adaptation, and domain generalization, using benchmarks like KITTI 2015 and Middlebury 2014.

  • KITTI 2015: The model achieved a D1-all error of 1.50%, outperforming the baseline Selective-IGEV (1.55%).
  • Middlebury: At the time of submission, the method ranked 3rd on the official leaderboard.
  • Generalization Performance: When trained on synthetic data and unlabeled Holopix50k (without target labels), the model significantly outperformed existing methods on Middlebury and KITTI, proving it learns more robust, real-world features.
  • Ablation Study: Removing the consistency filters led to a 48% increase in End-Point Error (EPE), highlighting that intelligent filtering is critical for effective self-training.

Conclusion

CST-Stereo provides a novel and effective way to adapt iterative stereo models to real-world data. By leveraging the inherent stability (or lack thereof) in iterative refinements and multi-resolution predictions, the framework successfully bridges the domain gap. While the method significantly boosts performance, future work will focus on developing architectures that can even more natively integrate these consistency signals.

Summary updated

BibTeX
@inproceedings{zhou2025consistency,
  author = {Jingyi Zhou and Peng Ye and Haoyu Zhang and Jiakang Yuan and Rao Qiang and Yangchenxu Liu and Wu Cailin and Feng Xu and Tao Chen},
  title = {{Consistency-aware Self-Training for Iterative-based Stereo Matching}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.01551},
}
Figure