The Impact Label Noise and Choice of Threshold has on Cross-Entropy and Soft-Dice in Image Segmentation

M. Nordström, Atsuto Maki, Henrik Hult
2/10/2026

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

In image segmentation and specifically in medical image segmentation, the soft-Dice loss is often chosen instead of the more traditional cross-entropy loss to improve performance with respect to the Dice metric. Experimental work supporting this claim exists, but how and why the two loss functions lead to different predictions is not well understood. This paper explains the observed discrepancy as a consequence of how those loss functions are effected by label noise and what threshold is used to convert the predicted soft segmentation to predicted labels. In particular, it is shown (i) how the optimal solutions to the two loss functions diverge as the noise is increased, and (ii) how the optimal solutions to soft-Dice can be recovered by thresholding the solutions to cross-entropy with an a priori unknown but efficiently computable threshold. The theoretical results are supported by numerical experiments and it is concluded that cross-entropy with the alternative threshold yields the stability and informative label probability maps associated with cross-entropy without sacrificing the performance of soft-Dice.

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{nordstrm2026impact,
  title  = {The Impact Label Noise and Choice of Threshold has on Cross-Entropy and Soft-Dice in Image Segmentation},
  author = {M. Nordström and Atsuto Maki and Henrik Hult},
  year   = {2026},
  doi    = {10.1109/CVPR52734.2025.01939},
  url    = {https://doi.org/10.1109/CVPR52734.2025.01939},
  journal = {CVPR 2025 2025}
}

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/23f5f4ef95644d14e6bc4e6d836a1df0d5d8afad.svg)](https://codeofpaper.com/paper/23f5f4ef95644d14e6bc4e6d836a1df0d5d8afad)

Discussion