TL;DR
This paper disambiguates the vague term "sampling bias" by formalizing two distinct variants: Sample Size Bias (SSB) and Underrepresentation Bias (URB). Through extensive benchmarking, the authors reveal that small or imbalanced datasets often lead to an underestimation of true discrimination and provide actionable recommendations, such as prioritizing robust metrics like AUC and ZOL over Equal Opportunity when data is limited.
What Problem Does This Paper Address?
As machine learning (ML) systems increasingly govern critical life outcomes—from hiring to judicial sentencing—ensuring fairness has moved from a niche concern to a core engineering requirement. However, the community often uses the term "sampling bias" as a catch-all for any data-related disparity. This lack of precision makes it difficult to diagnose why a model is unfair: is it because the overall dataset is too small, or because specific sub-populations are missing?
If we cannot accurately measure discrimination due to biases in the sampling process itself, our attempts to mitigate that discrimination are built on shaky ground. The authors aim to provide a formal framework to isolate these effects and understand how they distort common fairness metrics and mitigation strategies.
Methods
The researchers first provide formal mathematical definitions for two types of bias:
- Sample Size Bias (SSB): The difference in discrimination measured when training on a finite sample size $m$ versus an infinite population.
- Underrepresentation Bias (URB): The bias resulting specifically from a disparity in the representation ratios of sensitive groups (e.g., gender or race) compared to their actual proportions in the population.
They conducted an extensive empirical study using:
- Classifiers: Logistic Regression, Decision Trees, Random Forests, and K-Nearest Neighbors.
- Fairness Metrics: False Positive Rate (FPR), Equal Opportunity (EO/TPR), Zero-One Loss (ZOL), Area Under the Curve (AUC), and Statistical Disparity (SD).
- Mitigation Techniques: Reweighing (pre-processing) and the GerryFairClassifier (in-processing).
- Data Augmentation: Comparing random oversampling against selective augmentation (only adding positive-outcome samples for the underrepresented group).
Datasets
The study utilizes three widely recognized benchmark datasets in the fairness literature:
- Adult Income Dataset: Predicting whether an individual's income exceeds $50k/year.
- COMPAS: Predicting criminal recidivism (notorious for its documented racial bias).
- Dutch Census: A large-scale dataset used for socio-economic predictions.
Key Insights and Ideas
- The Robustness of Trade-off Metrics: Metrics that consider the trade-off between precision and recall (like AUC and ZOL) are significantly more resilient to small sample sizes and group imbalances than "hard" threshold metrics like Equal Opportunity.
- The Underestimation Paradox: Contrary to the common belief that small datasets amplify discrimination, the authors found that models trained on very limited data often underestimate the true level of discrimination present in the population.
- Why? As shown in Figure 3 (/figures/art_a46f694e2000488f8033cfbf4f30dba6), in very small samples, the model may not yet find the sensitive attribute (like sex) statistically significant, leading to lower measured disparity that only emerges as the dataset grows.
- The Augmentation Trap: Simply collecting more data for an underrepresented group can actually increase measured discrimination if those new samples follow the same biased distribution as the original data.
- Mitigation Dilution: The effectiveness of fairness interventions (like Reweighing) is heavily diluted when training sets are small or imbalanced. Mitigation works best when the model has enough data to learn the underlying patterns of each sub-group effectively.
Key Results
The magnitude of SSB and URB is directly tied to the initial disparity in the data. As shown in Figure 1 (/figures/art_ed05f0db88f046f0a41b5f75b5ebc74e), SSB is most volatile at small training sizes (under 100 samples) and gradually stabilizes as $m$ increases.
In the URB experiments, the bias is highest when the training group proportions are furthest from the population reference. Interestingly, Figure 6 (/figures/art_d11b76622bbf4d05818aebf59e08852e) demonstrates that while most metrics fluctuate wildly with group percentage changes, AUC and ZOL remain remarkably stable even in extremely imbalanced scenarios.
Limitations and Future Work
The paper primarily focuses on tabular datasets and binary classification tasks. While these are standard in fairness research, the dynamics of SSB and URB might differ in high-dimensional spaces like computer vision or natural language processing.
The authors suggest that future work should explore more sophisticated data augmentation strategies beyond simple oversampling—such as using generative models to create synthetic samples that break the "unfair link" between sensitive attributes and outcomes, rather than just reinforcing existing biased distributions.
Summary updated