Learning Stereo Matchability in Disparity Regression Networks

Jingyang Zhang, Yao Yao, Zixin Luo, Shiwei Li, Tianwei Shen, Tian Fang, Long Quan

Abstract

Stereo matching in challenging regions like occlusions, textureless surfaces, and non-Lambertian reflections remains a significant hurdle for deep learning models. We present the Deep Stereo Matchability (DSM) framework, which calculates pixel-wise matchability scores derived from the entropy of the 3D probability volume. This score is used to dynamically down-weight unreliable pixels during training and guide a spatial refinement module. DSM improves accuracy across standard benchmarks and enables highly efficient real-time performance for lightweight architectures.

Introduction

In stereo vision, deep learning models estimate depth by finding pixel correspondences between a left and right image pair. Modern architectures typically construct a 3D cost volume and use soft-argmin operations to regress final disparity. However, real-world scenes are replete with "weakly matchable" regions—such as occlusions, textureless walls, and shiny surfaces—where reliable visual correspondence is absent. Standard training loss functions penalize networks equally for errors in these impossible regions, which pollutes training gradients and degrades overall performance. The DSM framework addresses this by teaching the network to explicitly estimate its own confidence (matchability) and adjust its training and refinement strategies accordingly.

The DSM Framework

The DSM framework consists of three stages: baseline disparity regression, matchability regression, and matchability-aware refinement.

The proposed framework is a modular plug-and-play component that can be integrated into most existing stereo regression networks. It introduces three primary novelties:

1. Matchability Regression via Entropy

Rather than employing computationally expensive 3D convolutions to estimate confidence, DSM utilizes the disparity-wise probability distribution. A confident match results in a sharp, single-peak distribution, while an unmatchable pixel produces a flat or multi-modal distribution. By applying a differentiable entropy operation, the network collapses the 3D probability volume into a 2D matchability map ($M$).

2. Robust Joint Training Loss

The network maps the matchability score to an uncertainty value. Assuming a Laplacian distribution for the error, the training loss is attenuated for highly uncertain pixels. This prevents the network from being unfairly penalized for failing to match occluded or textureless pixels, allowing it to focus on learning high-quality features for valid regions.

3. Matchability-Aware Disparity Refinement

Standard refinement modules often rely solely on the RGB image to smooth depth maps. DSM feeds the initial disparity ($D$), the RGB image, and the matchability map ($M$) into a Convolutional Spatial Propagation Network (CSPN). This provides the refinement module with explicit knowledge of where the initial depth is unreliable, allowing it to intelligently borrow depth information from neighboring confident pixels.

Experimental Results

Qualitative results showing how the matchability map identifies unreliable regions (like thin structures and boundaries) to produce a sharper refined disparity map.

Accuracy and Benchmarks

On the synthetic Scene Flow dataset, the DSM framework reduced the End Point Error (EPE) of a baseline network from 0.875 px to 0.761 px. When benchmarked on real-world driving data, DSM achieved competitive error rates of 1.79% on KITTI 2012 and 2.28% on KITTI 2015, outperforming established baselines like GC-Net and PSMNet.

Efficiency for Lightweight Models

One of the most significant advantages of DSM is its impact on lightweight architectures. When applied to a stripped-down baseline, the framework achieved better accuracy (EPE 0.806) than the standard heavy baseline (EPE 0.875) while running in nearly half the time (0.17s vs 0.32s). Achieving approximately 20 FPS on a GTX 2080Ti, the model is highly viable for real-time autonomous driving applications.

Conclusion

The Deep Stereo Matchability framework demonstrates that self-awareness of matching confidence is a powerful tool for improving stereo regression. By using entropy as a lightweight proxy for confidence and incorporating it into both the loss function and the refinement process, DSM achieves state-of-the-art results with high efficiency. Future work may involve integrating this framework into transformer-based architectures or multi-view stereo pipelines.

Summary updated

BibTeX
@inproceedings{zhang2020learning,
  author = {Jingyang Zhang and Yao Yao and Zixin Luo and Shiwei Li and Tianwei Shen and Tian Fang and Long Quan},
  title = {{Learning Stereo Matchability in Disparity Regression Networks}},
  booktitle = {ICPR},
  year = {2020},
  url = {https://openreview.net/forum?id=aNpPeEEEPR1},
}
Figure