Loss Functions for Classification using Structured Entropy

From MaRDI portal
Publication:6402117

arXiv2206.07122MaRDI QIDQ6402117

Brian Lucena

Publication date: 14 June 2022

Abstract: Cross-entropy loss is the standard metric used to train classification models in deep learning and gradient boosting. It is well-known that this loss function fails to account for similarities between the different values of the target. We propose a generalization of entropy called {em structured entropy} which uses a random partition to incorporate the structure of the target variable in a manner which retains many theoretical properties of standard entropy. We show that a structured cross-entropy loss yields better results on several classification problems where the target variable has an a priori known structure. The approach is simple, flexible, easily computable, and does not rely on a hierarchically defined notion of structure.




Has companion code repository: https://github.com/numeristical/resources








This page was built for publication: Loss Functions for Classification using Structured Entropy

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q6402117)