Introduction
Machine learning models deployed in real-world scenarios often face "concept drift," where data distributions change over time. While much "Fair ML" research focuses on static, offline datasets, real-time data streams—such as credit transactions or social media feeds—present unique challenges. Models that are fair at deployment can quickly become biased as the underlying population shifts.
This paper introduces Fair Sampling over Stream ($FS^2$), a novel algorithm designed to maintain fairness in evolving data streams. Additionally, the authors propose Fairness Bonded Utility (FBU), a unified evaluation framework that simplifies the complex trade-off between fairness and accuracy.
The Challenge of Online Data Streams
Processing data streams involves three primary hurdles:
- Infinite Data: Models must process samples "on arrival" without storing the entire history.
- Concept Drift: Changes in the relationship between features and labels can introduce bias dynamically.
- The Trade-off Dilemma: Comparing a gain in fairness against a drop in accuracy lacks a standardized metric, often leaving practitioners with ambiguous results.
Methodology
Fair Sampling over Stream ($FS^2$)
$FS^2$ addresses bias by rebalancing data streams in a fairness-aware manner. Unlike traditional methods like SMOTE, which may inadvertently increase bias by over-generating samples from privileged subgroups, $FS^2$ employs a Cluster-Filter-Synthesize approach.
The algorithm uses ADWIN for drift detection, triggering model updates when significant changes in accuracy or fairness occur. It clusters similar instances, filters out noisy "boundary" samples using Silhouette scores, and applies weighted synthesis to ensure marginalized groups are accurately represented without introducing noise.
Fairness Bonded Utility (FBU)
To resolve the trade-off dilemma, FBU maps model performance onto a 2D coordinate system (Bias vs. Performance). It establishes a "trade-off baseline" using pseudo-models that represent a zero-normalization principle.
Models are categorized into five intuitive regions:
- Win-Win (1): Improvement in both fairness and accuracy.
- Good (2): A superior trade-off compared to the baseline.
- Inverted (3): Accuracy improves at the cost of fairness.
- Poor (4): Performance falls below the baseline in at least one metric.
- Lose-Lose (5): Degradation in both fairness and accuracy.
Experimental Results
The researchers evaluated $FS^2$ across four datasets: Bank Telemarketing (BNK), Give Me Some Credit (GMSC), NYPD felony predictions, and a synthetic dataset designed for extreme drift.
Key findings include:
- Performance Leader: $FS^2$ outperformed four state-of-the-art baselines (e.g., FAHT, FABBOO) in 12 out of 16 evaluations.
- Superior Trade-offs: Using the FBU metric, $FS^2$ achieved "good" or "win-win" trade-offs 79% of the time, compared to 58% for the next best competitor.
- Bias Reduction: On the BNK dataset, $FS^2$ achieved a Balanced Accuracy of 81% while maintaining a very low bias (Cumulative Statistical Parity Difference of 0.02), significantly outperforming C-SMOTE (bias of 0.34).
Conclusion and Future Work
$FS^2$ demonstrates that fairness in data streams requires active, fairness-aware rebalancing rather than blind oversampling. While effective, the method's performance is sensitive to window size, and the clustering steps introduce computational overhead. Future research will explore adapting these techniques for multi-class classification and intersecting sensitive attributes.
Summary updated