# Learning the Distribution of Errors in Stereo Matching for Joint Disparity and Uncertainty Estimation

arXiv: https://arxiv.org/abs/2304.00152 · HTML: https://mlsanity.com/paper/2304.00152/

## Key facts

- Cited by 23 papers in the map (data through 14 Oct 2026).
- Builds on 16 of its 39 references that are in the map.
- First posted on arXiv 31 Mar 2023.

## Builds on (most cited first, 16 of 16)

- [Adam: A Method for Stochastic Optimization](https://mlsanity.com/paper/1412.6980/) (2014)
- [Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learning](https://mlsanity.com/paper/1506.02142/) (2015)
- [Simple and Scalable Predictive Uncertainty Estimation using Deep Ensembles](https://mlsanity.com/paper/1612.01474/) (2016)
- [What Uncertainties Do We Need in Bayesian Deep Learning for Computer Vision?](https://mlsanity.com/paper/1703.04977/) (2017)
- [Multi-Task Learning Using Uncertainty to Weigh Losses for Scene Geometry and Semantics](https://mlsanity.com/paper/1705.07115/) (2017)
- [A Large Dataset to Train Convolutional Networks for Disparity, Optical Flow, and Scene Flow Estimation](https://mlsanity.com/paper/1512.02134/) (2015)
- [Pyramid Stereo Matching Network](https://mlsanity.com/paper/1803.08669/) (2018)
- [End-to-End Learning of Geometry and Context for Deep Stereo Regression](https://mlsanity.com/paper/1703.04309/) (2017)
- [Virtual Worlds as Proxy for Multi-Object Tracking Analysis](https://mlsanity.com/paper/1605.06457/) (2016)
- [GA-Net: Guided Aggregation Net for End-to-end Stereo Matching](https://mlsanity.com/paper/1904.06587/) (2019)
- [Group-wise Correlation Stereo Network](https://mlsanity.com/paper/1903.04025/) (2019)
- [On the uncertainty of self-supervised monocular depth estimation](https://mlsanity.com/paper/2005.06209/) (2020)
- [Uncertainty Estimates and Multi-Hypotheses Networks for Optical Flow](https://mlsanity.com/paper/1802.07095/) (2018)
- [SegStereo: Exploiting Semantic Information for Disparity Estimation](https://mlsanity.com/paper/1807.11699/) (2018)
- [On the confidence of stereo matching in a deep-learning era: a quantitative evaluation](https://mlsanity.com/paper/2101.00431/) (2021)
- [Improved Stereo Matching with Constant Highway Networks and Reflective Confidence Learning](https://mlsanity.com/paper/1701.00165/) (2016)

## Built on by (most cited first, 23 of 23)

- [FoundationStereo: Zero-Shot Stereo Matching](https://mlsanity.com/paper/2501.09898/) (2025)
- [Stereo Anywhere: Robust Zero-Shot Deep Stereo Matching Even Where Either Stereo or Mono Fail](https://mlsanity.com/paper/2412.04472/) (2024)
- [MMST-ViT: Climate Change-aware Crop Yield Prediction via Multi-Modal Spatial-Temporal Vision Transformer](https://mlsanity.com/paper/2309.09067/) (2023)
- [NARUTO: Neural Active Reconstruction from Uncertain Target Observations](https://mlsanity.com/paper/2402.18771/) (2024)
- [A Survey on Deep Stereo Matching in the Twenties](https://mlsanity.com/paper/2407.07816/) (2024)
- [ActiveGAMER: Active GAussian Mapping through Efficient Rendering](https://mlsanity.com/paper/2501.06897/) (2025)
- [StereoVLA: Enhancing Vision-Language-Action Models with Stereo Vision](https://mlsanity.com/paper/2512.21970/) (2025)
- [DifFlow3D: Toward Robust Uncertainty-Aware Scene Flow Estimation with Diffusion Model](https://mlsanity.com/paper/2311.17456/) (2023)
- [Learning Intra-view and Cross-view Geometric Knowledge for Stereo Matching](https://mlsanity.com/paper/2402.19270/) (2024)
- [Unleashing the Temporal Potential of Stereo Event Cameras for Continuous-Time 3D Object Detection](https://mlsanity.com/paper/2508.02288/) (2025)
- [Visual SLAM with 3D Gaussian Primitives and Depth Priors Enabling Novel View Synthesis](https://mlsanity.com/paper/2408.05635/) (2024)
- [Unsupervised Stereo Matching Network For VHR Remote Sensing Images Based On Error Prediction](https://mlsanity.com/paper/2408.07419/) (2024)
- [Probabilistic Modeling of Disparity Uncertainty for Robust and Efficient Stereo Matching](https://mlsanity.com/paper/2412.18703/) (2024)
- [Robust Confidence Intervals in Stereo Matching using Possibility Theory](https://mlsanity.com/paper/2404.06273/) (2024)
- [Rectified Iterative Disparity for Stereo Matching](https://mlsanity.com/paper/2406.10943/) (2024)
- [Superpixel Cost Volume Excitation for Stereo Matching](https://mlsanity.com/paper/2411.13105/) (2024)
- [CMD: Constraining Multimodal Distribution for Domain Adaptation in Stereo Matching](https://mlsanity.com/paper/2504.21302/) (2025)
- [Uncertainty Quantification Framework for Aerial and UAV Photogrammetry through Error Propagation](https://mlsanity.com/paper/2507.13486/) (2025)
- [Integrating Disparity Confidence Estimation into Relative Depth Prior-Guided Unsupervised Stereo Matching](https://mlsanity.com/paper/2508.01275/) (2025)
- [Two-Stream Interactive Joint Learning of Scene Parsing and Geometric Vision Tasks](https://mlsanity.com/paper/2602.13588/) (2026)
- [StereoAdapter-2: Globally Structure-Consistent Underwater Stereo Depth Estimation](https://mlsanity.com/paper/2602.16915/) (2026)
- [Revisiting Matching Response and Swept Feature Volumes for Wide-baseline Omnidirectional Stereo](https://mlsanity.com/paper/2607.11097/) (2026)
- [A Calibration Audit of Confidence in Feed-Forward 3D Reconstruction Models](https://mlsanity.com/paper/2608.29705/) (2026)

## Abstract (arXiv)

We present a new loss function for joint disparity and uncertainty estimation in deep stereo matching. Our work is motivated by the need for precise uncertainty estimates and the observation that multi-task learning often leads to improved performance in all tasks. We show that this can be achieved by requiring the distribution of uncertainty to match the distribution of disparity errors via a KL divergence term in the network's loss function. A differentiable soft-histogramming technique is used to approximate the distributions so that they can be used in the loss. We experimentally assess the effectiveness of our approach and observe significant improvements in both disparity and uncertainty prediction on large datasets.
