The Real-World-Weight Cross-Entropy Loss Function: Modeling the Costs of Mislabeling
Yaoshiang Ho, Samuel Wookey

TL;DR
This paper introduces the Real-World-Weight Cross-Entropy loss function that incorporates real-world costs into classifier training, improving interpretability and addressing issues like class imbalance and bias.
Contribution
It proposes a novel loss function that directly integrates real-world costs into classification models, enhancing relevance and interpretability over traditional methods.
Findings
Empirical results show improved handling of class imbalance.
Demonstrated reduction in medical diagnostic errors.
Addressed social bias reinforcement in classification.
Abstract
In this paper, we propose a new metric to measure goodness-of-fit for classifiers, the Real World Cost function. This metric factors in information about a real world problem, such as financial impact, that other measures like accuracy or F1 do not. This metric is also more directly interpretable for users. To optimize for this metric, we introduce the Real-World- Weight Crossentropy loss function, in both binary and single-label classification variants. Both variants allow direct input of real world costs as weights. For single-label, multicategory classification, our loss function also allows direct penalization of probabilistic false positives, weighted by label, during the training of a machine learning model. We compare the design of our loss function to the binary crossentropy and categorical crossentropy functions, as well as their weighted variants, to discuss the potential for…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
