Modeling Stereo-Confidence Out of the End-to-End Stereo-Matching Network via Disparity Plane Sweep

Jae Young Lee, Woonghyun Ka, Jaehyun Choi, Junmo Kim · DOI

Introduction

Stereo-matching, the process of estimating depth from a pair of images, is a cornerstone of computer vision for autonomous systems. While modern deep learning models have achieved remarkable accuracy, they often fail in "ill-posed" regions—areas characterized by repetitive patterns, lack of texture, or occlusions. To ensure safety in applications like autonomous driving, it is critical to estimate the stereo-confidence of these models, identifying which pixels are likely to be erroneous.

Traditionally, the most effective confidence measures require access to a model's internal "cost volume," a massive data structure representing matching probabilities. However, many state-of-the-art models are proprietary or restricted "black boxes." This research introduces a novel, model-agnostic method to estimate confidence from the outside, using a technique called Disparity Plane Sweep (DPS).

The Disparity Plane Sweep (DPS) Framework

The DPS method is grounded in the geometric principle of equivariance. In an ideal stereo-matching scenario, if the input images are shifted horizontally by $k$ pixels, the resulting disparity map should also shift by exactly $k$ pixels. Any deviation from this expected behavior indicates model inconsistency and, consequently, low reliability.

The Disparity Plane Sweep (DPS) pipeline. It generates a predicted disparity volume by shifting input images and compares it to an ideal target volume to estimate pixel-wise confidence.

As shown in the pipeline above, the process involves three main steps:

  1. Volume Generation: The system generates multiple disparity maps by applying small horizontal shifts ($k$) to the input images.
  2. Ideal Profile Definition: Using the original disparity map as a reference, the system calculates an "ideal" target volume—essentially a linear ramp representing perfect consistency.
  3. Unreliability Quantification: The distortion between the predicted disparity volume and the ideal target volume is calculated for every pixel, producing a confidence map.

Theoretical Foundation: Linking Cost and Disparity

A key insight of this work is that the external "disparity profile" (how disparity changes with shift) serves as a powerful proxy for the internal "cost profile."

Theoretical relationship between internal cost/similarity functions and external disparity profiles. The DPS method exploits the fact that non-ideal matching conditions disrupt the expected linear ramp of the disparity profile.

In an ideal case, the cost function is a sharp Dirac delta, which integrates into a smooth linear ramp in the disparity domain. In non-ideal cases, such as those involving noise or ambiguity, the cost function becomes multi-modal or broad, leading to a distorted, non-linear disparity profile. By analyzing these external profiles, the DPS method effectively "externalizes" the information typically hidden within the network's cost volume, allowing for high-quality confidence estimation without "opening the hood" of the AI.

Experimental Results and Robustness

The researchers evaluated the DPS method on several benchmarks, including KITTI 2012/2015 and Middlebury 2014. The method demonstrated competitive performance as a standalone confidence measure and provided a significant boost when used as an additional input for existing learning-based confidence networks like LAF-Net. For instance, on the KITTI 2012 dataset, integrating DPS improved the Area Under the Curve (AUC) error from 0.0982 to 0.0903.

Furthermore, tests on the Virtual KITTI 2 dataset revealed that the method is particularly robust in challenging environmental conditions. It showed significant performance gains in scenes involving rain and fog, where standard stereo-matching models often struggle to maintain consistency.

Conclusion

The Disparity Plane Sweep approach provides a robust, model-agnostic solution for estimating stereo-confidence without requiring internal access to deep learning networks. While the current implementation faces computational challenges due to the need for multiple network passes, its ability to improve accuracy in safety-critical and adverse conditions marks a significant step forward. Future research will focus on optimizing latency and integrating this framework into self-supervised systems for real-time depth refinement.

Summary updated

BibTeX
@inproceedings{lee2024modeling,
  author = {Jae Young Lee and Woonghyun Ka and Jaehyun Choi and Junmo Kim},
  title = {{Modeling Stereo-Confidence Out of the End-to-End Stereo-Matching Network via Disparity Plane Sweep}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i4.28071},
}
Figure