Adaptive Multi-Modal Cross-Entropy Loss for Stereo Matching

Peng Xu, Zhiyu Xiang, Chengyu Qiao, Jingyun Fu, Tianyu Pu
2/14/2026

No official code found. Best implementation: xxxupeng/ADL (63 stars, MIT, last commit 2025-06-17).

Abstract

Despite the great success of deep learning in stereo matching, recovering accurate disparity maps is still challenging. Currently, L1 and cross-entropy are the two most widely used losses for stereo network training. Compared with the former, the latter usually performs better thanks to its probability modeling and direct supervision to the cost volume. However, how to accurately model the stereo ground-truth for cross-entropy loss remains largely under-explored. Existing works simply assume that the ground-truth distributions are uni-modal, which ignores the fact that most of the edge pixels can be multimodal. In this paper, a novel adaptive multimodal cross-entropy loss (ADL) is proposed to guide the networks to learn different distribution patterns for each pixel. Moreover, we optimize the disparity estimator to further alleviate the bleeding or mis-alignment artifacts in inference. Extensive experimental results show that our method is generic and can help classic stereo networks regain state-of-the-art performance. In particular, GANet with our method ranks 1 st on both the KITTI 2015 and 2012 benchmarks among the published methods. Meanwhile, excellent synthetic-to-realistic generalization performance can be achieved by simply replacing the traditional loss with ours. Code is available at https://github.com/xxxupeng/AdL.

View on arXivView PDF

Code Implementations(1)

xxxupeng/ADLCommunity100%
MIT

[CVPR 2024] Adaptive Multi-Modal Cross-Entropy Loss for Stereo Matching

630C, C++Mar 14, 20241 years agoMIT
cvpr2024loss-functionstereo-matching

Similar Papers

Cite this paper

@article{xu2026adaptive,
  title  = {Adaptive Multi-Modal Cross-Entropy Loss for Stereo Matching},
  author = {Peng Xu and Zhiyu Xiang and Chengyu Qiao and Jingyun Fu and Tianyu Pu},
  year   = {2026},
  eprint = {2306.15612},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2306.15612},
  journal = {CVPR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.15612.svg)](https://codeofpaper.com/paper/2306.15612)

Discussion