Skip to main content
QUICK REVIEW

[Paper Review] A Flexible and Adaptive Framework for Abstention Under Class Imbalance

Avanti Shrikumar, Amr M. Alexandari|arXiv (Cornell University)|Feb 20, 2018
Imbalanced Data Classification TechniquesComputer Science37 references7 citations
TL;DR

This paper proposes a flexible, metric-aware abstention framework that uses calibrated probability estimates to optimize performance on key imbalanced-data metrics like AUC and weighted Cohen's Kappa. By modeling the impact of abstention on these metrics, the method enables efficient, adaptive abstention strategies that generalize across class-imbalanced test distributions via domain adaptation under label shift.

ABSTRACT

In practical applications of machine learning, it is often desirable to identify and abstain on examples where the model's predictions are likely to be incorrect. Much of the prior work on this topic focused on out-of-distribution detection or performance metrics such as top-k accuracy. Comparatively little attention was given to metrics such as area-under-the-curve or Cohen's Kappa, which are extremely relevant for imbalanced datasets. Abstention strategies aimed at top-k accuracy can produce poor results on these metrics when applied to imbalanced datasets, even when all examples are in-distribution. We propose a framework to address this gap. Our framework leverages the insight that calibrated probability estimates can be used as a proxy for the true class labels, thereby allowing us to estimate the change in an arbitrary metric if an example were abstained on. Using this framework, we derive computationally efficient metric-specific abstention algorithms for optimizing the sensitivity at a target specificity level, the area under the ROC, and the weighted Cohen's Kappa. Because our method relies only on calibrated probability estimates, we further show that by leveraging recent work on domain adaptation under label shift, we can generalize to test-set distributions that may have a different class imbalance compared to the training set distribution. On various experiments involving medical imaging, natural language processing, computer vision and genomics, we demonstrate the effectiveness of our approach. Source code available at this https URL. Colab notebooks reproducing results available at this https URL.

Motivation & Objective

  • Address the gap in abstention strategies that optimize for AUC and Cohen's Kappa—critical metrics in imbalanced datasets—rather than just top-k accuracy.
  • Develop a framework that enables metric-specific abstention without requiring retraining or access to true labels at inference time.
  • Enable generalization to test distributions with different class imbalances than the training data using label shift adaptation.
  • Provide computationally efficient algorithms for optimizing sensitivity at target specificity, AUC, and weighted Cohen's Kappa under abstention.
  • Demonstrate the framework’s effectiveness across diverse domains, including medical imaging, NLP, computer vision, and genomics.

Proposed method

  • Leverage calibrated probability estimates as a proxy for true class labels to estimate the expected change in a metric if an example were abstained on.
  • Formulate metric-specific abstention policies by modeling the expected metric improvement under abstention, enabling optimization for AUC, weighted Kappa, and sensitivity at fixed specificity.
  • Use a differentiable approximation of metric changes to derive efficient, closed-form abstention thresholds for each metric.
  • Integrate domain adaptation techniques under label shift to adapt the abstention policy to test sets with different class distributions than the training set.
  • Train the model to produce well-calibrated probabilities, ensuring reliable proxy estimates for metric estimation during inference.
  • Apply the framework end-to-end without requiring access to ground-truth labels during inference, relying only on predicted probabilities.

Experimental results

Research questions

  • RQ1Can abstention strategies optimized for AUC and weighted Cohen's Kappa outperform top-k accuracy-based methods in imbalanced data settings?
  • RQ2How can abstention be made adaptive to different performance metrics while remaining computationally efficient?
  • RQ3To what extent can a single abstention framework generalize across test distributions with varying class imbalances?
  • RQ4Can calibrated probabilities reliably estimate metric changes under abstention without ground-truth labels?
  • RQ5How does the proposed framework compare to existing abstention methods across diverse machine learning domains?

Key findings

  • The proposed framework significantly improves AUC and weighted Cohen's Kappa on imbalanced datasets compared to top-k accuracy-based abstention strategies.
  • The method generalizes effectively to test sets with different class distributions than the training set, thanks to label shift adaptation.
  • Abstention policies derived for AUC and weighted Kappa achieve higher metric values than baseline approaches even when all examples are in-distribution.
  • The framework maintains high computational efficiency, enabling real-time abstention decisions using only calibrated model outputs.
  • Experiments across medical imaging, NLP, computer vision, and genomics confirm consistent performance gains across diverse data modalities.
  • The source code and Colab notebooks are publicly available, enabling reproducibility and extension of the framework.

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.