Papers › A Closer Look at AUROC and AUPRC under Class Imbalance

A Closer Look at AUROC and AUPRC under Class Imbalance

11 Jan 2024arXiv:2401.06091archive 2025-07-28

Matthew B. A. McDermott, Haoran Zhang, Lasse Hyldig Hansen, Giovanni Angelotti, Jack Gallifant

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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2401.06091")

Code

Syntology Ran 25 of 34 code samples harvested from 3 repositories linked to this paper; 9 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · violated contract; 23 ran with no contract checked.

By repository: official repository: 21 samples from 2 repositories, 14 ran; found in paper text by Syntology: 13 samples from 1 repository, 11 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

lassehhansen/arxiv-search officialmentioned in papermentioned on GitHub report
hzhang0/auc_bias officialmentioned in paper report
mmcdermott/auc_is_all_you_need officialmentioned in paper report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

34 samples harvested; 25 ran; 1 honoured the contract we drafted; 9 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
1ran · violated contract
23ran
9unverified

Licence: 21 of the 34 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 3 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

binary_metrics hzhang0/auc_bias/auc_biases/metrics.py official repository ran no licence file found · pointer only · da3008f9c1d07696 · report
block_until_running hzhang0/auc_bias/command_launchers.py official repository ran · violated contract no licence file found · pointer only · 9d4328ab806dde75 · report
combinations_base hzhang0/auc_bias/experiments.py official repository ran no licence file found · pointer only · 5a9f7480b832c15a · report
default_hparams hzhang0/auc_bias/auc_biases/hparams_registry.py official repository ran fingerprinted no licence file found · pointer only · 5a5be97e16d42730 · report
get_grouped_venue_papers lassehhansen/arxiv-search/openreview_papers/paper.py official repository ran no licence file found · pointer only · 019cb7a55d32fcdd · report
get_papers lassehhansen/arxiv-search/openreview_papers/paper.py official repository ran no licence file found · pointer only · 449e5f6e8c9560ed · report
get_slurm_jobs hzhang0/auc_bias/command_launchers.py official repository ran · honoured contract fingerprinted no licence file found · pointer only · f2059a864ab0dc16 · report
load_papers lassehhansen/arxiv-search/openreview_papers/utils.py official repository ran no licence file found · pointer only · a65cf511fdf4c398 · report
papers_to_list lassehhansen/arxiv-search/openreview_papers/utils.py official repository ran no licence file found · pointer only · f193f2c1639e1788 · report
process_file lassehhansen/arxiv-search/src/arxiv_search.py official repository ran no licence file found · pointer only · 66ad8fb02e5834bf · report
process_file lassehhansen/arxiv-search/src/arxiv_search_regex.py official repository ran no licence file found · pointer only · 5e0a79f969743a5f · report
random_hparams hzhang0/auc_bias/auc_biases/hparams_registry.py official repository ran no licence file found · pointer only · ab9845f95d99f073 · report
remove_latex_commands lassehhansen/arxiv-search/src/arxiv_search.py official repository ran fingerprinted no licence file found · pointer only · a56f744d089c3d45 · report
remove_latex_commands lassehhansen/arxiv-search/src/arxiv_search_regex.py official repository ran fingerprinted no licence file found · pointer only · b93ed8c955f1e9b1 · report
add_scaler hzhang0/auc_bias/auc_biases/models.py official repository unverified no licence file found · pointer only · 0c0d237b93f855a4 · report
combinations hzhang0/auc_bias/experiments.py official repository unverified no licence file found · pointer only · f64641d62dc45aa9 · report
create_keyword_pattern lassehhansen/arxiv-search/src/claim_search_openai.py official repository unverified no licence file found · pointer only · af7bf864cd646a1a · report
get_context_windows lassehhansen/arxiv-search/src/claim_search_openai.py official repository unverified no licence file found · pointer only · d21c640c6f69c578 · report
get_hparams hzhang0/auc_bias/experiments.py official repository unverified no licence file found · pointer only · 73d0cb5bbc5c4f0c · report
jsonl_folder_filtering lassehhansen/arxiv-search/src/arxiv_search_regex.py official repository unverified no licence file found · pointer only · 20187fbba2f056ae · report
process_with_gpt_with_retries lassehhansen/arxiv-search/src/claim_search_v3.py official repository unverified no licence file found · pointer only · 56f3d7119ff6c9c6 · report
create_keyword_pattern Lassehhansen/ArxivMLClaimSearch/src/arxiv_search.py found in paper text by Syntology ran MIT (permissive) · 6f934cc1b439e9f8 · report
extract_context_windows_df Lassehhansen/ArxivMLClaimSearch/src/claim_search_v3.py found in paper text by Syntology ran MIT (permissive) · 79c40b375614cc13 · report
get_context_windows Lassehhansen/ArxivMLClaimSearch/src/claim_search_openai.py found in paper text by Syntology ran MIT (permissive) · 3f8be895e9cf2daa · report
get_context_windows Lassehhansen/ArxivMLClaimSearch/src/claim_search_v3.py found in paper text by Syntology ran MIT (permissive) · 2dbdcd8611f7c89e · report
process_all_context_windows Lassehhansen/ArxivMLClaimSearch/src/claim_search_v4.py found in paper text by Syntology ran MIT (permissive) · e06e4c3c4735ffbb · report
process_file Lassehhansen/ArxivMLClaimSearch/src/arxiv_search.py found in paper text by Syntology ran MIT (permissive) · c4d0403439e31706 · report
process_file Lassehhansen/ArxivMLClaimSearch/src/arxiv_search_regex.py found in paper text by Syntology ran MIT (permissive) · 1ba401f99899baa4 · report
process_with_gpt_with_retries Lassehhansen/ArxivMLClaimSearch/src/claim_search_v3.py found in paper text by Syntology ran MIT (permissive) · 66d9d0c1c6c5bb7d · report
process_with_gpt_with_retries Lassehhansen/ArxivMLClaimSearch/src/claim_search_v4.py found in paper text by Syntology ran MIT (permissive) · 85c492fe533d7a74 · report
remove_latex_commands Lassehhansen/ArxivMLClaimSearch/src/arxiv_search.py found in paper text by Syntology ran fingerprinted MIT (permissive) · 5c99e79304386be5 · report
remove_latex_commands Lassehhansen/ArxivMLClaimSearch/src/arxiv_search_regex.py found in paper text by Syntology ran fingerprinted MIT (permissive) · 476852e5a210420b · report
jsonl_folder_filtering Lassehhansen/ArxivMLClaimSearch/src/arxiv_search_regex.py found in paper text by Syntology unverified MIT (permissive) · 469bb31279dee5bc · report
process_with_gpt Lassehhansen/ArxivMLClaimSearch/src/claim_search_openai.py found in paper text by Syntology unverified MIT (permissive) · 1dfd354e2f7c0776 · report

Tasks

Binary ClassificationFairness

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections