Stereo Risk: A Continuous Modeling Approach to Stereo Matching
Ce Liu, Suryansh Kumar, Shuhang Gu, Radu Timofte, Yao Yao, Luc Van Gool
TL;DR
This work reframes stereo matching as a continuous risk minimization problem, addressing the gap between continuous scene depth and discrete disparity hypotheses. By interpolating a discrete disparity distribution with a Laplacian kernel to form a continuous density p(x; p^m) and minimizing an $L^1$ risk, the method achieves robust performance for multi-modal disparity distributions. A differentiable forward-backward mechanism based on the implicit function theorem enables end-to-end training, despite the non-differentiable optimization step, and a two-stage cascade network efficiently handles large disparity ranges. Empirically, the approach delivers state-of-the-art results on SceneFlow and KITTI benchmarks and demonstrates strong cross-domain generalization to Middlebury and ETH3D, with ablations highlighting the advantages of $L^1$ risk and kernel choices. The method offers a principled, scalable pathway to accurate and robust stereo matching with practical implications for autonomous systems and robotic perception.
Abstract
We introduce Stereo Risk, a new deep-learning approach to solve the classical stereo-matching problem in computer vision. As it is well-known that stereo matching boils down to a per-pixel disparity estimation problem, the popular state-of-the-art stereo-matching approaches widely rely on regressing the scene disparity values, yet via discretization of scene disparity values. Such discretization often fails to capture the nuanced, continuous nature of scene depth. Stereo Risk departs from the conventional discretization approach by formulating the scene disparity as an optimal solution to a continuous risk minimization problem, hence the name "stereo risk". We demonstrate that $L^1$ minimization of the proposed continuous risk function enhances stereo-matching performance for deep networks, particularly for disparities with multi-modal probability distributions. Furthermore, to enable the end-to-end network training of the non-differentiable $L^1$ risk optimization, we exploited the implicit function theorem, ensuring a fully differentiable network. A comprehensive analysis demonstrates our method's theoretical soundness and superior performance over the state-of-the-art methods across various benchmark datasets, including KITTI 2012, KITTI 2015, ETH3D, SceneFlow, and Middlebury 2014.
