Deep Stereo Matching With Explicit Cost Aggregation Sub-Architecture

Lidong Yu, Yucheng Wang, Yuwei Wu, Yunde Jia

Abstract

Deep neural networks have shown excellent performance for stereo matching. Many efforts focus on the feature extraction and similarity measurement of the matching cost computation step while less attention is paid on cost aggregation which is crucial for stereo matching. In this paper, we present a learning-based cost aggregation method for stereo matching by a novel sub-architecture in the end-to-end trainable pipeline. We reformulate the cost aggregation as a learning process of the generation and selection of cost aggregation proposals which indicate the possible cost aggregation results. The cost aggregation sub-architecture is realized by a two-stream network: one for the generation of cost aggregation proposals, the other for the selection of the proposals. The criterion for the selection is determined by the low-level structure information obtained from a light convolutional network. The two-stream network offers a global view guidance for the cost aggregation to rectify the mismatching value stemming from the limited view of the matching cost computation. The comprehensive experiments on challenge datasets such as KITTI and Scene Flow show that our method outperforms the state-of-the-art methods.

Introduction

Stereo matching is a fundamental task in computer vision, aiming to estimate depth by finding pixel correspondences between rectified image pairs. While deep learning has significantly advanced feature extraction and similarity measurement, the cost aggregation step—refining initial matching costs by considering spatial context—has often been treated as a "black box" or left to traditional hand-designed filters.

Traditional aggregation methods often struggle in textureless or occluded regions due to their reliance on local, shallow filters. In contrast, many modern end-to-end networks embed aggregation within generic 3D convolutional stacks. This paper argues for an explicit, learnable sub-architecture for cost aggregation to better rectify local mismatches using global structural guidance.

Comparison between typical architectures and the proposed explicit cost aggregation architecture.

Methodology

The proposed architecture introduces a dedicated Cost Aggregation Sub-Architecture within an end-to-end pipeline. The pipeline consists of feature extraction via a Residual Siamese network, initial volume creation, and the core two-stream aggregation module.

Detailed diagram of the proposed end-to-end architecture, highlighting the two-stream aggregation sub-networks.

Two-Stream Aggregation

The aggregation process is reformulated as a generation-and-selection task:

  1. Proposal Stream (B2): This stream utilizes 3D convolutional layers with varying rectangular filters to generate $G$ cost aggregation proposals. These proposals represent different potential refinements of the cost volume across depth, height, and width.
  2. Guidance Stream (B1): A lightweight 2D convolutional network extracts low-level structural information (edges and textures) from the reference image to create guidance maps.
  3. Fusion: A Winner-Take-All (WTA) strategy is employed where the guidance maps are used to select the most accurate aggregated values from the proposals, resulting in the final Aggregated Cost Volume.

Experiments and Results

The model was evaluated on the Scene Flow synthetic dataset and the real-world KITTI 2012/2015 benchmarks.

Performance on Benchmarks

  • Scene Flow: The model achieved a Mean Absolute Error (MAE) of 1.75px, outperforming the state-of-the-art GC-Net (2.21px).
  • KITTI 2015: The model reached a D1-all error rate of 2.32%, demonstrating superior performance in complex real-world driving scenarios compared to established methods like MC-CNN.

Ablation Study

Ablation tests confirmed the importance of the guidance stream. Removing structural guidance led to a significant increase in error rates (from 8.93% to 12.3% on Scene Flow), proving that fusing low-level structural details with high-level cost volumes is critical for maintaining sharp depth boundaries.

Conclusion

By explicitly modeling cost aggregation as a learnable two-stream process, this work bridges the gap between classical vision principles and modern deep learning. The explicit sub-architecture allows for better handling of global context and structural boundaries, setting a new standard for accuracy in stereo matching. Future work will focus on optimizing the computational efficiency of 3D convolutions to move closer to real-time performance.

Summary updated

BibTeX
@inproceedings{yu2018deep,
  author = {Lidong Yu and Yucheng Wang and Yuwei Wu and Yunde Jia},
  title = {{Deep Stereo Matching With Explicit Cost Aggregation Sub-Architecture}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2018},
  url = {https://openreview.net/forum?id=rkb8xAeOZS},
}
Figure