Abstract
Stereo matching is a fundamental task for depth perception in autonomous systems, yet modern models frequently struggle at object boundaries where depth transitions are sharp. This paper introduces Superpixel Cost Volume Excitation, a novel training strategy designed to enforce local geometric consistency. By utilizing superpixels to guide channel excitation and applying a specialized cross-entropy loss, the method effectively suppresses multi-modal probability distributions in the cost volume. Experimental results demonstrate a significant reduction in End-Point Error (EPE)—up to 22% on the Scene Flow dataset—without adding any computational overhead during inference.
Introduction
Stereo matching involves calculating the disparity (depth) between two rectified images by finding corresponding pixels. Most state-of-the-art architectures rely on a 4D "cost volume" that stores the matching probability for various disparity candidates.
A persistent challenge in this field is the "over-smoothing" effect at object boundaries. Pixels near edges often encompass both foreground and background information, leading the cost volume to produce multi-modal distributions—essentially multiple conflicting guesses for depth. While standard supervision focuses on the final disparity output, it often neglects the underlying probability distribution, resulting in blurry depth maps that bleed across object edges.
Methodology: Superpixel-Guided Consistency
The authors propose a two-pronged approach to refine the cost volume during the training phase, treating superpixels (clusters of pixels with similar visual properties) as a geometric prior.
1. Superpixel Guided Channel Excitation (SGCE)
The model employs a sub-network to generate superpixel features, which are then transformed into attention weights. These weights "excite" the cost volume, reinforcing the assumption that pixels within the same superpixel should share consistent depth characteristics. This mechanism effectively tells the network to prioritize features that align with the local object structure.
2. Superpixel Cross-Entropy Loss ($L_{sce}$)
To address the multi-modal distribution problem, the authors introduce a novel loss function. By pooling the probability distributions of all pixels within a single superpixel, the network is forced to compare this aggregate distribution against a ground-truth Laplace distribution. This encourages the model to commit to a single, sharp depth peak (unimodal distribution) for the entire superpixel region, cleaning up the noise typically found at boundaries.
Zero Inference Overhead: A key advantage of this method is that the superpixel branch and the $L_{sce}$ head are only utilized during training. Once the model is deployed, these modules are discarded, allowing the base architecture to benefit from improved accuracy with no impact on inference speed.
Experimental Results
The researchers evaluated their approach across several benchmarks, demonstrating the universality of the training strategy by applying it to multiple base architectures, including PSMNet, GwcNet, and PCWNet.
- Scene Flow: When integrated with GwcNet, the method achieved a 22% reduction in EPE, showcasing its ability to handle complex synthetic scenes.
- KITTI 2012 & 2015: On real-world driving datasets, the enhanced GwcNet achieved an EPE of 0.4px on the KITTI 2012 leaderboard, outperforming many complex iterative refinement models.
- Middlebury: Qualitative analysis on high-resolution indoor scenes confirmed much sharper transitions at object edges compared to top-tier models like ACVNet.
Discussion and Limitations
The "aha moment" of this research lies in treating superpixels not just for segmentation, but as a geometric constraint for probability volumes. By supervising the shape of the distribution rather than just the final scalar value, the model learns a more robust representation of depth.
However, some limitations remain. The method is sensitive to sparse ground truth data; on datasets like KITTI, where depth information is only available for specific points, the superpixel branch can occasionally lose internal consistency during fine-tuning. Additionally, the current loss function is specifically tailored for probabilistic cost volumes and has yet to be adapted for newer "iterative refinement" architectures like RAFT-Stereo.
Conclusion
Superpixel Cost Volume Excitation provides a powerful, "plug-and-play" training enhancement for stereo matching. By enforcing local consistency through superpixel priors, it significantly improves boundary precision and overall depth accuracy while maintaining the efficiency required for real-time autonomous applications.
Summary updated