paper-with-me

홈 › Papers

AnyLoss: Transforming Classification Metrics into Loss Functions

2024-05-23 · Doheon Han, Nuno Moniz, Nitesh V Chawla

Many evaluation metrics can be used to assess the performance of models in binary classification tasks. However, most of them are derived from a confusion matrix in a non-differentiable form, making it very difficult to generate a differentiable loss function that could directly optimize them. The lack of solutions to bridge this challenge not only hinders our ability to solve difficult tasks, such as imbalanced learning, but also requires the deployment of computationally expensive hyperparameter search processes in model selection. In this paper, we propose a general-purpose approach that transforms any confusion matrix-based metric into a loss function, \textit{AnyLoss}, that is available in optimization processes. To this end, we use an approximation function to make a confusion matrix represented in a differentiable form, and this approach enables any confusion matrix-based metric to be directly used as a loss function. The mechanism of the approximation function is provided to ensure its operability and the differentiability of our loss functions is proved by suggesting their derivatives. We conduct extensive experiments under diverse neural networks with many datasets, and we demonstrate their general availability to target any confusion matrix-based metrics. Our method, especially, shows outstanding achievements in dealing with imbalanced datasets, and its competitive learning speed, compared to multiple baseline models, underscores its efficiency.

📄 PDF Abstract BibTeX arXiv:2405.14745

Code (1)

doheonhan/anyloss 공식 구현 tf

Tasks

Binary ClassificationClassificationModel Selection

Similar Papers 제목 키워드 기반

sigmoidF1: A Smooth F1 Score Surrogate Loss for Multilabel Classification

2021-08-24 · Gabriel Bénédict, Vincent Koops, Daan Odijk, Maarten de Rijke

Multiclass multilabel classification is the task of attributing multiple labels to examples via predictions. Current models formulate a reduction of the multilabel setting into either multiple binary classifications or m…

Classification

Tighter bounds lead to improved classifiers

2016-06-29 · Nicolas Le Roux

The standard approach to supervised classification involves the minimization of a log-loss as an upper bound to the classification error. While this is a tight bound early on in the optimization, it overemphasizes the in…

ClassificationGeneral Classification

On the Calibration of Nested Dichotomies for Large Multiclass Tasks

2018-09-08 · Tim Leathart, Eibe Frank, Bernhard Pfahringer, Geoffrey Holmes

Nested dichotomies are used as a method of transforming a multiclass classification problem into a series of binary problems. A tree structure is induced that recursively splits the set of classes into subsets, and a bin…

Binary ClassificationGeneral Classification

Dear Sir or Madam, May I introduce the GYAFC Dataset: Corpus, Benchmarks and Metrics for Formality Style Transfer

2018-03-17 · NAACL 2018 6 · Sudha Rao, Joel Tetreault

Style transfer is the task of automatically transforming a piece of text in one particular style into another. A major barrier to progress in this field has been a lack of training and evaluation datasets, as well as ben…

Formality Style TransferMachine TranslationStyle TransferTranslation

PCOV-KWS: Multi-task Learning for Personalized Customizable Open Vocabulary Keyword Spotting

2026-03-05 · Jianan Pan, Kejie Huang arxiv

As advancements in technologies like Internet of Things (IoT), Automatic Speech Recognition (ASR), Speaker Verification (SV), and Text-to-Speech (TTS) lead to increased usage of intelligent voice assistants, the demand f…

Multi-class ClassificationSpeaker VerificationMulti-Task LearningSpeech Recognition