Abstract
As machine learning models are increasingly deployed in high-stakes environments such as finance, healthcare, and criminal justice, ensuring algorithmic fairness has become a critical priority. However, most existing fairness-aware algorithms are designed for static datasets and fail to account for the dynamic nature of real-world data streams. In these environments, "concept drift"—where the underlying data distribution changes over time—can cause a model that was once fair and accurate to become biased or ineffective. This paper introduces EMOSAM (Evolutionary Multi-Objective fairness-aware Self-Adjusting Memory), a framework designed to maintain a Pareto-optimal balance between predictive accuracy and algorithmic fairness in non-stationary data streams.
Introduction
The challenge of maintaining fairness in streaming data is twofold: models must adapt to evolving patterns while simultaneously mitigating biases that may emerge or intensify as the data shifts. Traditional streaming fairness methods often rely on rigid, predefined parameters that do not adapt well to these fluctuations. EMOSAM addresses this by integrating self-adjusting memory classifiers with evolutionary multi-objective optimization, allowing the system to automatically discover the best trade-offs between accuracy and fairness in real-time.
Methodology
The EMOSAM framework is built upon four primary components that work in tandem to handle non-stationary data:
- Weighted SAMKNN Classifier: The foundation of the system is a K-Nearest Neighbor (KNN) algorithm equipped with Self-Adjusting Memory (SAM). This architecture utilizes both short-term memory for current trends and long-term memory for historical patterns. The researchers enhanced this by introducing feature weights, which control the influence of specific attributes on the final classification, providing a mechanism to tune the model's behavior.
- SMPSO (Speed-constrained Multi-objective Particle Swarm Optimisation): Rather than seeking a single "perfect" model, EMOSAM employs an evolutionary algorithm to search for a set of feature weights that maximize accuracy and minimize discrimination simultaneously. This process treats these as conflicting objectives, resulting in a "Pareto front" of diverse, high-performing solutions.
- The HP Filter Trigger: To ensure computational efficiency, the system does not run the optimization process for every new data point. Instead, it utilizes the Hodrick-Prescott (HP) filter—a tool commonly used in macroeconomics—to monitor trends in discrimination. The evolutionary optimization is only triggered when the filter detects a significant rising trend in bias, allowing for real-time responsiveness without excessive overhead.
- Ensemble Selection: To finalize decisions, EMOSAM employs a majority voting scheme across the non-dominated solutions found on the Pareto front. This ensemble approach provides greater robustness than selecting a single model.
Experimental Evaluation
The researchers evaluated EMOSAM across six standard fairness benchmarks, covering domains such as law school admissions (Law), credit risk (Credit), income levels (Adult/Census), and marketing success (Bank/Dutch). These datasets involve sensitive attributes including race, gender, and age.
EMOSAM was compared against seven baseline methods, including fairness-unaware models (standard SAM) and state-of-the-art fairness-aware streaming models like FOMOS and FAS Stream.
Key Findings
- Superior Fairness Mitigation: EMOSAM significantly reduced discrimination in 17 out of 18 comparisons against fairness-unaware methods. Notably, on the Law and Bank datasets, it achieved discrimination rates 16% and 11% lower than standard Hoeffding Trees, respectively.
- Accuracy Preservation: Despite the added constraints of fairness optimization, EMOSAM maintained accuracy levels comparable to, and occasionally exceeding, traditional models that ignore fairness entirely.
- Pareto Dominance: Visual analysis of Error vs. Discrimination scatter plots confirmed that EMOSAM consistently occupied the Pareto front, offering a superior balance of objectives compared to existing algorithms across five of the six datasets.
- The Value of Ensembles: Ablation studies indicated that the majority voting ensemble outperformed single-point selection methods (such as "knee point" selection), suggesting that a diversity of fair models leads to better generalization in streaming contexts.
Discussion and Future Work
EMOSAM demonstrates that fairness in data streams is not a static property but a moving target that requires continuous monitoring and adaptation. By utilizing the HP filter to distinguish between random noise and genuine bias trends, the framework manages computational resources effectively while maintaining high ethical standards.
However, several avenues for future research remain. While the HP filter improves efficiency, the underlying PSO optimization is more intensive than simple decision trees, suggesting a need for even faster evolutionary strategies for massive-scale streams. Additionally, the ensemble-based KNN approach lacks inherent explainability; integrating Explainable AI (XAI) features would help users understand the rationale behind specific decisions. Finally, while this study focused on Statistical Parity, future iterations aim to incorporate more complex metrics, such as Equalized Odds, to provide a more comprehensive view of algorithmic justice.
Summary updated