Algorithmic Accountability in Small Data: Sample-Size-Induced Bias Within Classification Metrics
Jarren Briscoe, Garrett Kepler, Daryl Deford, Assefaw Gebremedhin
TL;DR
The paper tackles sample-size-induced bias in confusion-matrix metrics by analyzing the discrete, combinatorial structure of confusion matrices and showing how small $n$ yields metric jaggedness and undefined cases. It introduces two remedies: the MATCH Test, which assesses whether a group’s metric score is statistically consistent with a reference distribution, and Cross-Prior Smoothing (CPS), a Dirichlet-like prior-based correction that smooths a target group's confusion matrix using information from a reference group. Theoretical results quantify the distributional properties of binomial, marginal-benefit, and joint-ratio metrics and demonstrate that CPS substantially reduces metric error across 15 metrics on fairness datasets (COMPAS and Folktable), with empirically favorable bias-variance trade-offs. Overall, the work provides practical tools and open-source resources to improve the reliability and fairness of classification evaluations under small-sample or imbalanced scenarios.
Abstract
Evaluating machine learning models is crucial not only for determining their technical accuracy but also for assessing their potential societal implications. While the potential for low-sample-size bias in algorithms is well known, we demonstrate the significance of sample-size bias induced by combinatorics in classification metrics. This revelation challenges the efficacy of these metrics in assessing bias with high resolution, especially when comparing groups of disparate sizes, which frequently arise in social applications. We provide analyses of the bias that appears in several commonly applied metrics and propose a model-agnostic assessment and correction technique. Additionally, we analyze counts of undefined cases in metric calculations, which can lead to misleading evaluations if improperly handled. This work illuminates the previously unrecognized challenge of combinatorics and probability in standard evaluation practices and thereby advances approaches for performing fair and trustworthy classification methods.
