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

TL;DR

This paper introduces CST-Stereo, a novel self-training framework for iterative-based stereo matching that effectively leverages unlabeled real-world data. By observing that error-prone regions exhibit more pronounced oscillations during prediction, CST-Stereo employs a consistency-aware soft filtering module to assess pseudo-label reliability and a weighted loss to mitigate error accumulation, significantly boosting performance and generalization.

What Problem Does This Paper Address?

Stereo matching, a crucial task for understanding 3D scenes, typically relies on large amounts of labeled data to achieve high accuracy. However, obtaining high-quality labeled stereo data, especially for real-world scenarios, is expensive and challenging. While self-training has emerged as a promising approach to utilize abundant unlabeled data, existing methods for stereo matching often struggle with iterative-based architectures, which are becoming increasingly mainstream. These methods also tend to use rigid filtering strategies for pseudo-labels, potentially discarding valuable information and exacerbating error accumulation. This paper addresses the gap of effectively applying self-training to modern iterative-based stereo matching models, particularly in scenarios with limited or no labeled target-domain data.

Methods

The core of CST-Stereo is a consistency-aware self-training framework that operates in a teacher-student manner.

  • Teacher-Student Setup: An initial teacher model is trained on labeled data. This teacher model then generates "pseudo-labels" (disparity maps) for unlabeled stereo pairs. A student model is then trained using these pseudo-labels, aiming to improve its performance. The teacher model's weights are updated periodically using Exponential Moving Average (EMA) from the student model for stable learning.
  • Consistency-Aware Soft Filtering Module (CSF): This is the key novelty. Instead of a hard "all-or-nothing" filtering of pseudo-labels, CSF assigns a reliability score to each pixel's predicted disparity. It comprises two filters:
  • Multi-Resolution Prediction Consistency Filter (MRPCF): This filter leverages the observation that pixels with consistent predictions across different image resolutions (upscaled, original, downscaled) are more reliable. It calculates the variance of predictions across these resolutions and uses a soft thresholding function to derive a reliability weight.
  • Iterative Prediction Consistency Filter (IPCF): This filter focuses on the iterative nature of modern stereo matching models. It observes that error-prone regions often exhibit oscillatory behavior in disparity predictions across iterations. By calculating the average difference between consecutive iteration predictions, it identifies unstable pixels and assigns reliability weights using a similar soft thresholding approach.
  • Consistency-Aware Soft-Weighted Loss: The reliability weights from MRPCF and IPCF are combined (multiplied) to form a final W_soft for each pixel. This weight is then used in a soft-weighted loss function for training the student model. This weighted loss ensures that more reliable pseudo-labels contribute more to the training, while less reliable ones have a reduced impact, preventing error accumulation and allowing the student to learn from challenging regions without being overly influenced by potentially incorrect teacher predictions.

Datasets

The paper utilizes a combination of synthetic and real-world datasets for training and evaluation:

  • Training:
    • Sceneflow: A synthetic dataset with dense disparity labels.
  • Tartan Air, CREStereo Dataset, Scene Flow, Falling things, InStereo2k, CARLA HR-VS: Various synthetic and real-world datasets used for pre-training and fine-tuning.
  • Evaluation:
    • Middlebury 2014: A real-world indoor dataset with high-resolution images.
  • KITTI 2015: A real-world driving dataset with sparse disparity maps.
  • ETH3D: A collection of grayscale stereo pairs with indoor and outdoor scenes.
  • InStereo2k: A real-world indoor dataset.
  • Holopix50k: A large-scale in-the-wild stereo dataset used for domain generalization experiments.

Key Insights and Ideas

  • Error Oscillations as Reliability Indicators: The core insight is that regions with larger prediction errors in iterative stereo matching models tend to exhibit more pronounced oscillations in their predictions, both across different resolutions and across iterative refinement steps. This provides a novel, data-driven way to estimate pseudo-label reliability.
  • Soft Filtering for Nuance: Moving beyond hard thresholding for pseudo-label selection is crucial. Soft filtering allows for a more nuanced approach, assigning varying degrees of reliability and preventing the complete discarding of potentially useful, albeit noisy, information. This is particularly important for complex scenes with occlusions or ambiguous regions.
  • Complementary Nature of Filters: The multi-resolution and iterative consistency filters capture different aspects of prediction instability. Combining them provides a more robust assessment of pseudo-label reliability, addressing both scale-dependent and iteration-dependent error patterns.
  • Self-Training for Iterative Models: The paper demonstrates that self-training can be effectively adapted to iterative-based stereo matching architectures, which differ significantly from traditional cost-volume-based methods.

Key Results

  • Improved Performance: CST-Stereo consistently improves the performance of various iterative-based stereo matching approaches across multiple benchmark datasets (Middlebury, KITTI 2015, ETH3D, InStereo2k).
  • State-of-the-Art Enhancements: The method achieves further enhancements over existing state-of-the-art (SOTA) methods on several benchmarks, particularly in domain adaptation and domain generalization scenarios. For instance, CST-Selective-IGEV shows significant improvements.
  • Domain Generalization: The framework demonstrates strong generalization capabilities, improving performance on unseen real-world data even when no labeled data from the target domain is available.
  • Ablation Studies: Experiments confirm the effectiveness of the soft filtering module and the combined MRPCF+IPCF approach, showing substantial gains compared to baselines without filtering or with hard filtering. EMA also plays a significant role in performance improvement.

Limitations and Future Work

  • Model Architecture Dependency: The paper acknowledges that while CST-Stereo significantly enhances performance, the ultimate capability of the self-trained model is still constrained by the original model's architecture and inherent limitations.
  • Future Directions: The authors plan to focus on developing more robust and adaptive model architectures in the future to further push the boundaries of stereo matching performance. They also suggest that their self-training approach can be integrated with other unsupervised domain adaptation techniques for even more comprehensive frameworks.

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