Global Regulation and Excitation via Attention Tuning for Stereo Matching

Jiahao Li, Xinhong Chen, Zhengmin Jiang, Qian Zhou, Yung-Hui Li, Jianping Wang

TL;DR

This paper introduces GREAT-Stereo, a novel framework that enhances existing iterative stereo matching methods by incorporating global context through three attention modules: Spatial Attention (SA), Matching Attention (MA), and Volume Attention (VA). This approach significantly improves performance in challenging, ill-posed regions of stereo images, leading to state-of-the-art results on several benchmarks.

What Problem Does This Paper Address?

Stereo matching, the task of estimating depth from two synchronized camera images, is crucial for 3D scene understanding in fields like robotics and autonomous driving. While deep learning has advanced stereo matching, current state-of-the-art methods, particularly iterative ones, struggle with ill-posed regions. These regions, characterized by occlusions, lack of texture, or repetitive patterns, present challenges because traditional methods primarily rely on local pixel information. This limited context prevents effective refinement of disparity estimates, leading to blurry or inaccurate depth maps in these difficult areas. The paper aims to bridge this gap by enabling iterative methods to leverage global contextual information for more robust and accurate stereo matching.

Methods

The core contribution is the GREAT-Stereo framework, a universal add-on that can be integrated into existing iterative stereo matching algorithms. It comprises three novel attention modules:

  • Spatial Attention (SA): This module captures global context across the spatial dimensions of the image. It uses a combination of Local Self-Attention (LSA) and Global Self-Attention (GSA) to aggregate information from local windows to the entire image, effectively propagating geometric structures even across occluded areas.
  • Matching Attention (MA): Designed to address ambiguities in textureless and repetitive regions, MA focuses on capturing global context along epipolar lines. It employs a Bi-Directional Epipolar Cross-Attention (BECA) mechanism that enhances matching sensitivity and robustness to rectification imperfections.
  • Volume Attention (VA): This module refines the cost volume by incorporating insights from SA and MA. It uses a Per-pixel Disparity Searching Space Cross-Attention (PDCA) to selectively excite global context in specific cost volume regions, leading to a more robust cost volume.

These modules work together to construct a richer cost volume, which is then used by the iterative refinement process (e.g., ConvGRU) to predict the final disparity. The framework is designed to be modular and can be integrated with minimal modifications to existing architectures.

Datasets

The paper evaluates GREAT-Stereo on several standard stereo matching benchmarks:

  • Scene Flow: A synthetic dataset used for training and testing, known for its dense disparity maps and challenging scenarios.
  • KITTI 2012 & KITTI 2015: Real-world datasets capturing driving scenes, widely used for evaluating stereo matching performance.
  • ETH3D: A dataset featuring indoor and outdoor scenes with high-resolution stereo pairs.
  • Middlebury: A benchmark known for its high-resolution indoor scenes.

The authors also mention using Tartan Air, CREStereo, Sintel Stereo, InStereo2k, CARLA HR-VS, and VKITTI2 for training and fine-tuning, particularly for zero-shot generalization experiments.

Key Insights and Ideas

  • Global context is key for ill-posed regions: The paper strongly advocates that the limitations of local context in iterative stereo matching are the primary cause of poor performance in occluded, textureless, and repetitive areas.
  • Attention as a universal enhancer: The GREAT framework demonstrates that attention mechanisms, when designed to capture different forms of global context (spatial, epipolar, and cost volume), can be effectively integrated into various iterative stereo matching architectures to boost their performance.
  • Synergy between attention modules: The combination of SA, MA, and VA leads to superior results compared to using individual modules, highlighting their complementary roles in enriching the cost volume.
  • Improved efficiency through better context: By providing a more robust cost volume early on, GREAT-Stereo enables iterative methods to achieve state-of-the-art performance with fewer iterations, suggesting potential for faster inference.

Key Results

GREAT-Stereo, when integrated with IGEV-Stereo, achieved state-of-the-art results on several benchmarks:

  • Scene Flow: Achieved the best overall End-Point Error (EPE) of 0.413, outperforming the baseline IGEV-Stereo by 13.8%. It also showed significant improvements in occluded regions.
  • KITTI 2015: Ranked first on the Noc-D1-all metric.
  • ETH3D: Ranked first on the Bad 0.5 metric, showing a 38.1% improvement over IGEV-Stereo.
  • Middlebury: Ranked second, with a 41.8% improvement over IGEV-Stereo on the Bad 2.0 metric.
  • Qualitative results: Visual comparisons show that GREAT-IGEV produces significantly clearer and more consistent geometric structures in challenging regions compared to its baseline.
  • Cross-model transferability: Integrating GREAT modules into RAFT-Stereo and Selective-IGEV also led to substantial improvements, demonstrating the framework's universality.
  • Efficiency: GREAT-IGEV achieved comparable performance to IGEV-Stereo with only 4 iterations, compared to IGEV-Stereo's typical 22 iterations.

Limitations and Future Work

The authors acknowledge a few limitations and suggest future research directions:

  • Computational cost of MA: The Matching Attention module can incur significant computational costs, especially with long epipolar lines.
  • Reflective surfaces: The current framework may not fully address challenges posed by reflective surfaces, which are often caused by specular lighting conditions rather than a lack of geometric factors. The authors suggest developing an additional module to handle these specific cases.

Summary updated

BibTeX
@inproceedings{li2025global,
  author = {Jiahao Li and Xinhong Chen and Zhengmin Jiang and Qian Zhou and Yung-Hui Li and Jianping Wang},
  title = {{Global Regulation and Excitation via Attention Tuning for Stereo Matching}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
}
Figure