Overcoming Common Flaws in the Evaluation of Selective Classification Systems

Jeremias Traub, Till J. Bungert, Carsten T. Lüth, Michael Baumgartner, Klaus H. Maier-Hein, Lena Maier-Hein, Paul F. Jaeger · DOI

Selective classification (SC) allows machine learning models to "reject" low-confidence predictions, a critical feature for high-stakes applications like clinical diagnostics. However, the current standard for evaluating these systems—the Area Under the Risk-Coverage curve (AURC)—suffers from significant mathematical flaws. This paper introduces the Area under the Generalized Risk Coverage curve (AUGRC), a new metric that ensures better alignment with real-world tasks and provides a more reliable benchmark for method development.

The Problem: Why AURC Fails

In selective classification, a model outputs both a prediction and a confidence score $c$. If $c$ is below a threshold $\tau$, the prediction is rejected. To evaluate performance across all thresholds, researchers typically use the AURC.

The fundamental issue is that AURC is based on Selective Risk: the probability of error given that the model made a prediction ($P(\text{fail} | \text{accept})$). Because this is a conditional probability, the denominator (coverage) changes as the threshold moves. This leads to non-intuitive results where a model with higher accuracy can actually receive a worse AURC score than a lower-accuracy model, even if their error-ranking quality is identical. This violation of "monotonicity" makes AURC a noisy and potentially misleading metric for comparing different classification methods.

The Solution: Generalized Risk and AUGRC

The authors propose shifting the evaluation focus from Selective Risk to Generalized Risk. Instead of looking at the error rate of accepted samples, Generalized Risk considers the joint probability of a sample being both accepted and incorrect: $P(\text{fail}, \text{accept})$. These represent the "silent failures" of the system.

Overview of the Selective Classification system and the comparison of AUGRC against existing metrics based on five key requirements.

The proposed AUGRC metric is the area under the curve of Generalized Risk versus Coverage. As shown in the figure above, AUGRC satisfies five essential requirements for a robust metric:

  1. Task Alignment: Sensitivity to both classifier performance and confidence score ranking quality.
  2. Monotonicity: Improving accuracy or ranking quality always results in a better metric value.
  3. Ranking Interpretability: Direct relation to the permutation distance to an optimal ranking.
  4. CSF Flexibility: Compatibility with any confidence scoring function (CSF).
  5. Error Flexibility: Applicability to various error functions beyond simple 0/1 accuracy.

Experimental Validation and Impact

The authors validated AUGRC using the FD-Shifts benchmark, covering six diverse datasets (including SVHN, CIFAR, and medical imaging) and 13 different confidence scoring functions.

The results were striking: switching from AURC to AUGRC changed the ranking of the top-3 confidence scoring functions on 5 out of the 6 datasets. This suggests that previous conclusions about which selective classification methods are "state-of-the-art" may have been skewed by the flaws in AURC. AUGRC provides a more stable and theoretically sound foundation for future research in the field, ensuring that undetected failures are treated with equal importance regardless of the total number of accepted samples.

Conclusion

By focusing on "silent failures" through Generalized Risk, AUGRC fixes the mathematical inconsistencies of the current standard. It is computationally efficient, interpretable, and ensures that improvements in model performance are accurately reflected in evaluation scores. This shift in perspective is essential for developing reliable machine learning systems that know when to say, "I don't know."

Summary updated

BibTeX
@inproceedings{traub2024overcoming,
  author = {Jeremias Traub and Till J. Bungert and Carsten T. Lüth and Michael Baumgartner and Klaus H. Maier-Hein and Lena Maier-Hein and Paul F. Jaeger},
  title = {{Overcoming Common Flaws in the Evaluation of Selective Classification Systems}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=2TktDpGqNM},
}
Figure