Skip to main content
QUICK REVIEW

[Paper Review] A Closer Look at AUROC and AUPRC under Class Imbalance

Matthew B. A. McDermott, Haoran Zhang|arXiv (Cornell University)|Jan 11, 2024
Imbalanced Data Classification TechniquesComputer Science18 citations
TL;DR

The paper argues that AUPRC is not universally superior to AUROC in imbalanced settings, offers theoretical relationships between the metrics, and demonstrates potential fairness biases through synthetic experiments and a literature review.

ABSTRACT

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.

Motivation & Objective

  • Challenge the widely held claim that AUPRC is superior to AUROC for imbalanced binary classification.
  • Formalize the mathematical relationship between AUROC and AUPRC.
  • Examine how metric choice affects fairness across subpopulations with differing prevalence.
  • Assess the literature supporting AUPRC’s supposed advantages and identify misattributions.

Proposed method

  • Prove theoretical relationships between AUROC and AUPRC involving distributions p+, p−, and p.
  • Define atomic mistakes and show how AUROC and AUPRC prioritize corrections differently (Theorems 1 and 2).
  • Conduct synthetic experiments to validate the theorems and illustrate per-subpopulation effects under optimization by AUROC vs AUPRC.
  • Perform a literature review using automated and manual analysis to assess the prevalence and support for the claim that AUPRC is superior in imbalanced settings.
Figure 1 : Atomic mistakes occur when neighboring samples, when ordered by model score, are out-of-order with respect to the classification label. AUROC improves by a constant amount no matter which atomic mistake is corrected; AUPRC improves in descending order with model score due to the dependenc
Figure 1 : Atomic mistakes occur when neighboring samples, when ordered by model score, are out-of-order with respect to the classification label. AUROC improves by a constant amount no matter which atomic mistake is corrected; AUPRC improves in descending order with model score due to the dependenc

Experimental results

Research questions

  • RQ1Do AUROC and AUPRC relate deterministically under binary classification with unequal class prevalences?
  • RQ2How does each metric prioritize model improvements across score regions and subpopulations?
  • RQ3Does optimizing for AUPRC lead to disparities across subgroups with different prevalences compared to AUROC?
  • RQ4Is the common belief that AUPRC is superior under imbalance supported by empirical evidence across the literature?

Key findings

  • AUROC and AUPRC are probabilistically interrelated via a formal expression, challenging the notion that AUPRC is universally superior.
  • AUROC weighs false positives equally and is unbiased across score regions, while AUPRC weights false positives by the inverse firing rate, prioritizing high-score mistakes.
  • Optimization under AUPRC tends to favor high-prevalence subpopulations, potentially harming fairness across groups with differing prevalence.
  • Synthetic experiments show that tuning by AUPRC can increase disparities between subpopulations, whereas AUROC optimization improves metrics more evenly.
  • A thorough literature review reveals widespread but often misattributed claims that AUPRC is superior in imbalanced settings, with many citations lacking solid support.
(a) Fixing atomic mistakes to optimize overall AUROC
(a) Fixing atomic mistakes to optimize overall AUROC

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.