Optimizing ROC Curves with a Sort-Based Surrogate Loss Function for Binary Classification and Changepoint Detection

Jonathan Hillman, Toby Dylan Hocking
7/2/2021
5 citations
stat.MLcs.LG

Official code: tdhock/max-generalized-auc (2 stars, R, last commit 2025-02-03). 1 more implementation below.

Abstract

Receiver Operating Characteristic (ROC) curves are plots of true positive rate versus false positive rate which are useful for evaluating binary classification models, but difficult to use for learning since the Area Under the Curve (AUC) is non-convex. ROC curves can also be used in other problems that have false positive and true positive rates such as changepoint detection.

Show full abstract

We show that in this more general context, the ROC curve can have loops, points with highly sub-optimal error rates, and AUC greater than one. This observation motivates a new optimization objective: rather than maximizing the AUC, we would like a monotonic ROC curve with AUC=1 that avoids points with large values for Min(FP,FN). We propose a convex relaxation of this objective that results in a new surrogate loss function called the AUM, short for Area Under Min(FP, FN). Whereas previous loss functions are based on summing over all labeled examples or pairs, the AUM requires a sort and a sum over the sequence of points on the ROC curve. We show that AUM directional derivatives can be efficiently computed and used in a gradient descent learning algorithm. In our empirical study of supervised binary classification and changepoint detection problems, we show that our new AUM minimization learning algorithm results in improved AUC and comparable speed relative to previous baselines.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
tdhock/max-generalized-aucOfficial2R–2025-02-03
tdhock/aumOfficial2R–2024-10-23
24R, TeXMay 30, 20191 years ago
tdhock/aumOfficial100%
23R, C++Feb 14, 20212 years ago

Similar Papers

Cite this paper

@article{hillman2021optimizing,
  title  = {Optimizing ROC Curves with a Sort-Based Surrogate Loss Function for Binary Classification and Changepoint Detection},
  author = {Jonathan Hillman and Toby Dylan Hocking},
  year   = {2021},
  eprint = {2107.01285},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2107.01285}
}

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

Discussion