Class Distance Weighted Cross Entropy Loss for Classification of Disease Severity
Not on the map. Why?
Abstract (arXiv)
Assessing disease severity with ordinal classes, where each class reflects increasing severity levels, benefits from loss functions designed for this ordinal structure. Traditional categorical loss functions, like Cross-Entropy (CE), often perform suboptimally in these scenarios. To address this, we propose a novel loss function, Class Distance Weighted Cross-Entropy (CDW-CE), which penalizes misclassifications more severely when the predicted and actual classes are farther apart. We evaluated CDW-CE using various deep architectures, comparing its performance against several categorical and ordinal loss functions. To assess the quality of latent representations, we used t-distributed stochastic neighbor embedding (t-SNE) and uniform manifold approximation and projection (UMAP) visualizations, quantified the clustering quality using the Silhouette Score, and compared Class Activation Maps (CAM) generated by models trained with CDW-CE and CE loss. Feedback from domain experts was incorporated to evaluate how well model attention aligns with expert opinion. Our results show that CDW-CE consistently improves performance in ordinal image classification tasks. It achieves higher Silhouette Scores, indicating better class discrimination capability, and its CAM visualizations show a stronger focus on clinically significant regions, as validated by domain experts. Receiver operator characteristics (ROC) curves and the area under the curve (AUC) scores highlight that CDW-CE outperforms other loss functions, including prominent ordinal loss functions from the literature.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 10 of its 35 references that are in the map. First posted on arXiv 2 Dec 2024.
Builds on
10 of 35 references.
References · 10
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
- 2019Searching for MobileNetV3cited by 1,984
- 2018CosFace: Large Margin Cosine Loss for Deep Face Recognitioncited by 968
- 2017SphereFace: Deep Hypersphere Embedding for Face Recognitioncited by 733
- 2017NormFace: L2 Hypersphere Embedding for Face Verificationcited by 237
- 2019Rank consistent ordinal regression for neural networks with application to age estimationcited by 132
- 2021Deep Neural Networks for Rank-Consistent Ordinal Regression Based On Conditional Probabilitiescited by 57
- 2022Class Distance Weighted Cross-Entropy Loss for Ulcerative Colitis Severity Estimationcited by 17
- 2016A simple squared-error reformulation for ordinal classificationcited by 2
Built on by
Citing papers per year: 2025: 3; 2026: 4.
7 papers.
- 2025Learning Disease State from Noisy Ordinal Disease Progression Labelscited by 1
- 2025Enabling Conversational Behavior Reasoning Capabilities in Full-Duplex Speechcited by 1
- 2026Reliable Conformal Prediction for Ordinal Classification Using the Ranked Probability Scorecited by 1
- 2025CLoE: Curriculum Learning on Endoscopic Images for Robust MES Classificationcited by 0
- 2026Every Error has Its Magnitude: Asymmetric Mistake Severity Training for Multiclass Multiple Instance Learningcited by 0
- 2026MAOL: Morphology-Aware Ordinal Learning for Fine-Grained Industrial Defect Severity Gradingcited by 0
- 2026Adaptive Margin Ordinal Loss: Penalizing Center-Class Hedging in Ordinal Classificationcited by 0
- 2026Adaptive Margin Ordinal Loss: Penalizing Center-Class Hedging in Ordinal Classification9 Sep 2026
- 2026MAOL: Morphology-Aware Ordinal Learning for Fine-Grained Industrial Defect Severity Grading2 Sep 2026
- 2026Reliable Conformal Prediction for Ordinal Classification Using the Ranked Probability Score23 Jun 2026
- 2026Every Error has Its Magnitude: Asymmetric Mistake Severity Training for Multiclass Multiple Instance Learning14 Mar 2026
- 2025Enabling Conversational Behavior Reasoning Capabilities in Full-Duplex Speech25 Dec 2025
- 2025CLoE: Curriculum Learning on Endoscopic Images for Robust MES Classification18 Aug 2025
- 2025Learning Disease State from Noisy Ordinal Disease Progression Labels13 Mar 2025