CMD: Constraining Multimodal Distribution for Domain Adaptation in Stereo Matching
Zhelun Shen, Zhuo Li, Chenming Wu, Zhibo Rao, Lina Liu, Yuchao Dai, Liangjun Zhang
TL;DR
This work addresses the domain shift in stereo matching, where unseen target domains often produce multimodal disparity distributions that degrade generalization. It introduces CMD, a framework combining uncertainty-regularized minimization ($L_u$) and anisotropic soft argmin to constrain the target-domain disparity distribution to be unimodal and sharp, boosting cross-domain performance. The approach is compatible with multiple stereo networks and further enhanced by pseudo-label self-distillation, achieving consistent improvements across synthetic-to-real adaptation on KITTI and ETH3D datasets. By quantifying distribution sharpness with metrics such as MSM, PER, and Entropy, and by sharpening the disparity distribution with a temperature-controlled softmax, CMD delivers significant gains without requiring labeled target-domain data, making it practical for real-world deployment.
Abstract
Recently, learning-based stereo matching methods have achieved great improvement in public benchmarks, where soft argmin and smooth L1 loss play a core contribution to their success. However, in unsupervised domain adaptation scenarios, we observe that these two operations often yield multimodal disparity probability distributions in target domains, resulting in degraded generalization. In this paper, we propose a novel approach, Constrain Multi-modal Distribution (CMD), to address this issue. Specifically, we introduce \textit{uncertainty-regularized minimization} and \textit{anisotropic soft argmin} to encourage the network to produce predominantly unimodal disparity distributions in the target domain, thereby improving prediction accuracy. Experimentally, we apply the proposed method to multiple representative stereo-matching networks and conduct domain adaptation from synthetic data to unlabeled real-world scenes. Results consistently demonstrate improved generalization in both top-performing and domain-adaptable stereo-matching models. The code for CMD will be available at: \href{https://github.com/gallenszl/CMD}{https://github.com/gallenszl/CMD}.
