Skip to main content
QUICK REVIEW

[Paper Review] Attributing AUC-ROC to Analyze Binary Classifier Performance

Arya Tafvizi, Besim Avci|arXiv (Cornell University)|May 24, 2022
Imbalanced Data Classification TechniquesComputer Science7 citations
TL;DR

This paper proposes a novel attribution method to decompose AUC-ROC into contributions from individual examples and pairs of examples, enabling interpretable segmentation of model performance. By treating AUC-ROC as linear over example pairs, the method identifies data slices where models struggle to separate positive and negative instances, revealing robustness issues and improvement headroom—especially under distribution shifts or conflicting training objectives.

ABSTRACT

Area Under the Receiver Operating Characteristic Curve (AUC-ROC) is a popular evaluation metric for binary classifiers. In this paper, we discuss techniques to segment the AUC-ROC along human-interpretable dimensions. AUC-ROC is not an additive/linear function over the data samples, therefore such segmenting the overall AUC-ROC is different from tabulating the AUC-ROC of data segments. To segment the overall AUC-ROC, we must first solve an \emph{attribution} problem to identify credit for individual examples. We observe that AUC-ROC, though non-linear over examples, is linear over \emph{pairs} of examples. This observation leads to a simple, efficient attribution technique for examples (example attributions), and for pairs of examples (pair attributions). We automatically slice these attributions using decision trees by making the tree predict the attributions; we use the notion of honest estimates along with a t-test to mitigate false discovery. Our experiments with the method show that an inferior model can outperform a superior model (trained to optimize a different training objective) on the inferior model's own training objective, a manifestation of Goodhart's Law. In contrast, AUC attributions enable a reasonable comparison. Example attributions can be used to slice this comparison. Pair attributions are used to categorize pairs of items -- one positively labeled and one negatively -- that the model has trouble separating. These categories identify the decision boundary of the classifier and the headroom to improve AUC.

Motivation & Objective

  • To address the challenge of evaluating binary classifiers when training objectives and deployment scenarios diverge, especially under distribution shifts.
  • To enable interpretable segmentation of AUC-ROC performance across data subpopulations, overcoming limitations of standard segment-wise AUC reporting.
  • To provide a principled way to compare models that optimize different objectives, avoiding misleading conclusions due to Goodhart’s Law.
  • To identify specific data slices and example pairs where model performance is suboptimal, guiding targeted data collection and model improvement.

Proposed method

  • Treat AUC-ROC as linear over pairs of examples (one positive, one negative), enabling attribution of AUC contributions to individual pairs.
  • Define example attributions as the sum of attributions across all pairs involving that example, enabling slice-level performance analysis.
  • Use decision trees to automatically segment attributions by data features, with honest estimation and t-tests to reduce false discoveries.
  • Compute pair attributions as the number of incorrectly ordered pairs (1 - AUC) within each segment pair, capturing model error headroom.
  • Apply sampling and Cartesian product pairing on 10K positive and negative examples to scale the method efficiently.
  • Use a shallow decision tree to predict attribution scores, enabling automated discovery of problematic or easy data slices.

Experimental results

Research questions

  • RQ1How can AUC-ROC be meaningfully segmented across data subpopulations when it is not linear over individual examples?
  • RQ2Can attributions to individual examples and pairs of examples reveal hidden performance disparities not captured by standard segment-wise AUC?
  • RQ3To what extent do models trained to optimize different objectives (e.g., cross-entropy vs. Gini) show misleading performance rankings when evaluated on AUC-ROC?
  • RQ4Which data slices contribute most to the AUC headroom (i.e., potential for improvement), and how can these be automatically discovered?
  • RQ5Can pair attributions identify specific, hard-to-separate example pairs that highlight decision boundary weaknesses?

Key findings

  • The method reveals that a model trained to optimize cross-entropy loss can outperform a random forest on AUC-ROC when evaluated on the random forest’s own training objective, illustrating Goodhart’s Law.
  • In the Census dataset, the slice with both partners being 'Husband' accounts for only 2% of all pairs but contributes disproportionately to AUC headroom (0.76 AUC vs. 0.88 overall), indicating high improvement potential.
  • In the Lending Club dataset, the slice with 'defaulted' 36-month loans and high FICO scores has near-zero AUC (0.56) and accounts for 9% of all pairs, with four times more incorrectly ordered pairs than a slice with near-zero AUC but only 1% of pairs.
  • The method successfully identifies that the model struggles most with separating high-FICO-score defaulters and low-FICO-score paid-off loans, highlighting specific failure modes.
  • Pair attributions reveal that the model makes the majority of its errors on pairs where the negative example is a 'Husband', indicating a systemic bias in that segment.
  • Automated segmentation using decision trees with honest estimates and t-tests effectively identifies high-impact slices without overfitting, even with large feature spaces.

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.