A Closer Look at AUROC and AUPRC under Class Imbalance

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: McDermott, Matthew B. A., Zhang, Haoran, Hansen, Lasse Hyldig, Angelotti, Giovanni, Gallifant, Jack
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866916565200404480
author McDermott, Matthew B. A.
Zhang, Haoran
Hansen, Lasse Hyldig
Angelotti, Giovanni
Gallifant, Jack
author_facet McDermott, Matthew B. A.
Zhang, Haoran
Hansen, Lasse Hyldig
Angelotti, Giovanni
Gallifant, Jack
contents In machine learning (ML), a widespread claim is that the area under the precision-recall curve (AUPRC) is a superior metric for model comparison to the area under the receiver operating characteristic (AUROC) for tasks with class imbalance. This paper refutes this notion on two fronts. First, we theoretically characterize the behavior of AUROC and AUPRC in the presence of model mistakes, establishing clearly that AUPRC is not generally superior in cases of class imbalance. We further show that AUPRC can be a harmful metric as it can unduly favor model improvements in subpopulations with more frequent positive labels, heightening algorithmic disparities. Next, we empirically support our theory using experiments on both semi-synthetic and real-world fairness datasets. Prompted by these insights, we conduct a review of over 1.5 million scientific papers to understand the origin of this invalid claim, finding that it is often made without citation, misattributed to papers that do not argue this point, and aggressively over-generalized from source arguments. Our findings represent a dual contribution: a significant technical advancement in understanding the relationship between AUROC and AUPRC and a stark warning about unchecked assumptions in the ML community.
format Preprint
id arxiv_https___arxiv_org_abs_2401_06091
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle A Closer Look at AUROC and AUPRC under Class Imbalance
McDermott, Matthew B. A.
Zhang, Haoran
Hansen, Lasse Hyldig
Angelotti, Giovanni
Gallifant, Jack
Machine Learning
Methodology
In machine learning (ML), a widespread claim is that the area under the precision-recall curve (AUPRC) is a superior metric for model comparison to the area under the receiver operating characteristic (AUROC) for tasks with class imbalance. This paper refutes this notion on two fronts. First, we theoretically characterize the behavior of AUROC and AUPRC in the presence of model mistakes, establishing clearly that AUPRC is not generally superior in cases of class imbalance. We further show that AUPRC can be a harmful metric as it can unduly favor model improvements in subpopulations with more frequent positive labels, heightening algorithmic disparities. Next, we empirically support our theory using experiments on both semi-synthetic and real-world fairness datasets. Prompted by these insights, we conduct a review of over 1.5 million scientific papers to understand the origin of this invalid claim, finding that it is often made without citation, misattributed to papers that do not argue this point, and aggressively over-generalized from source arguments. Our findings represent a dual contribution: a significant technical advancement in understanding the relationship between AUROC and AUPRC and a stark warning about unchecked assumptions in the ML community.
title A Closer Look at AUROC and AUPRC under Class Imbalance
topic Machine Learning
Methodology
url https://arxiv.org/abs/2401.06091