Optimal Binary Classification Beyond Accuracy
Shashank Singh, Justin T. Khim
Abstract
The vast majority of statistical theory on binary classification characterizes performance in terms of accuracy. However, accuracy is known in many cases to poorly reflect the practical consequences of classification error, most famously in imbalanced binary classification, where data are dominated by samples from one of two classes. The first part of this paper derives a novel generalization of the Bayes-optimal classifier from accuracy to any performance metric computed from the confusion matrix. Specifically, this result (a) demonstrates that stochastic classifiers sometimes outperform the best possible deterministic classifier and (b) removes an empirically unverifiable absolute continuity assumption that is poorly understood but pervades existing results. We then demonstrate how to use this generalized Bayes classifier to obtain regret bounds in terms of the error of estimating regression functions under uniform loss. Finally, we use these results to develop some of the first finite-sample statistical guarantees specific to imbalanced binary classification. Specifically, we demonstrate that optimal classification performance depends on properties of class imbalance, such as a novel notion called Uniform Class Imbalance, that have not previously been formalized. We further illustrate these contributions numerically in the case of k-nearest neighbor classification. ˚The contributions in this paper were made prior to joining Amazon.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
5 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Consistent algorithms for multi-label classification with macro-at-k metrics cites On Missing Labels, Long-tails and Propensities in Extreme Multi-label Classification
- A General Online Algorithm for Optimizing Complex Performance Metrics cites Consistent algorithms for multi-label classification with macro-at-k metrics
- On Optimal Steering to Achieve Exact Fairness cites How Far Can Fairness Constraints Help Recover From Biased Data?
Cited by top-tier papers5
- On Missing Labels, Long-tails and Propensities in Extreme Multi-label ClassificationErik Schultheis, Marek Wydmuch, Rohit Babbar, Krzysztof DembczynskiKDD 2022 · 20 citations
- How Far Can Fairness Constraints Help Recover From Biased Data?Mohit Sharma, Amit DeshpandeICML 2024 · 7 citations
- Consistent algorithms for multi-label classification with macro-at-k metricsErik Schultheis, Wojciech Kotlowski, Marek Wydmuch, Rohit Babbar et al.ICLR 2024 · 6 citations
- On Optimal Steering to Achieve Exact FairnessMohit Sharma, Amit Deshpande, Chiranjib Bhattacharyya, Rajiv Ratn ShahNeurIPS 2025 · 2 citations
- A General Online Algorithm for Optimizing Complex Performance MetricsWojciech Kotlowski, Marek Wydmuch, Erik Schultheis, Rohit Babbar et al.ICML 2024 · 1 citation
Builds on3
Related papers
- Learning to Reject Meets Long-tail LearningHarikrishna Narasimhan, Aditya Krishna Menon, Wittawat Jitkrittum, Neha Gupta et al.ICLR 2024 · 7 citations
- Regret Bounds for Multilabel Classification in Sparse Label RegimesRóbert Busa-Fekete, Heejin Choi, Krzysztof Dembczynski, Claudio Gentile et al.NeurIPS 2022 · 5 citations
- PAC-Bayes Analysis for Recalibration in ClassificationMasahiro Fujisawa, Futoshi FutamiICML 2025
- Fairness with Overlapping Groups; a Probabilistic PerspectiveForest Yang, Mouhamadou Cisse, Oluwasanmi KoyejoNeurIPS 2020 · 71 citations
- Balancing the Scales: A Theoretical and Algorithmic Framework for Learning from Imbalanced DataCorinna Cortes, Anqi Mao, Mehryar Mohri, Yutao ZhongICML 2025
