Online Fairness-Aware Learning with Imbalanced Data Streams

Vasileios Iosifidis, Wenbin Zhang, Eirini NtoutsiarXiv 2021

Abstract

Machine learning models deployed in streaming environments face the simultaneous challenges of concept drift, class imbalance, and algorithmic bias. This paper introduces FABBOO (Online Fairness and Class Imbalance-Aware Boosting), a novel framework designed to maintain fair and accurate classifiers in real-time. By monitoring cumulative discrimination and class ratios, FABBOO dynamically adjusts instance weights and decision boundaries. Experimental results across eight real-world datasets and one synthetic dataset show that FABBOO significantly outperforms state-of-the-art fairness-aware learners, improving balanced accuracy by up to 14.2% and fairness metrics by over 89%.

Introduction

In dynamic streaming environments—such as credit scoring or network monitoring—models must adapt to shifting data distributions (concept drift) while ensuring equitable outcomes. Existing fairness-aware stream learners often overlook class imbalance, where one outcome is significantly rarer than others. This oversight leads to a "fairness trap": a model may appear fair simply because it fails to learn the minority class effectively, rejecting nearly all individuals in that group to maximize raw accuracy.

Furthermore, most current methods evaluate fairness within small, isolated data chunks. This ignores how minor biases can accumulate into significant systemic discrimination over the long term. FABBOO addresses these gaps by integrating class imbalance monitoring with cumulative fairness tracking.

The FABBOO Framework

FABBOO builds upon Online Smooth Boosting (OSBoost) and utilizes Adaptive Hoeffding Trees (AHT) as weak learners to handle concept drift. The architecture consists of several specialized components that interact to ensure both utility and equity.

An overview of the FABBOO architecture, showing the interplay between classification, training, and the imbalance/discrimination detectors.

Core Components

  1. Online Class Imbalance Monitor (OCIS): This component tracks the ratio of positive to negative classes across the entire stream history using a decay factor ($\lambda$) to balance historical trends with new arrivals.
  2. Cumulative Fairness Monitoring: FABBOO tracks fairness metrics (e.g., Statistical Parity or Equal Opportunity) cumulatively from the start of the stream, preventing the model from "forgetting" past biases.
  3. Dynamic Boundary Adjustment: If the discrimination detector identifies unfair treatment of a protected group, the framework adjusts the decision boundary ($\theta^t$) for that specific group using a sliding window of recent confidence scores.

Weighting for Balance

Unlike standard boosting, FABBOO adjusts instance weights based on the current imbalance status. If the stream lacks positive instances, the weight of new positive arrivals is increased to force the learners to prioritize them.

The FABBOO training procedure, highlighting how instance weights ($w_{i+1}$) are adjusted based on the Online Class Imbalance Status (OCIS).

Experimental Evaluation

The researchers evaluated FABBOO against eight real-world datasets (including Adult Census, Compas, and NYPD felony data) and a synthetic dataset designed with injected concept drifts and varying imbalance levels.

Key Results

FABBOO demonstrated superior performance across all critical metrics:

  • Balanced Accuracy: Achieved a relative increase of 11.2% - 14.2% over baselines.
  • Fairness (Statistical Parity): Improved by 89.4% - 96.6% compared to fairness-agnostic models.
  • Recall: Increased by 42.5% - 49.6%, proving the model successfully learns the minority class rather than defaulting to rejection.
  • Robustness: The framework remained stable even when minority and majority roles swapped during fluctuating synthetic streams.

Discussion and Future Work

A key insight of this research is that discrimination is often a cumulative issue rather than a snapshot problem. By focusing on cumulative metrics, FABBOO ensures long-term lifecycle fairness. However, the authors note that the current boundary adjustment is a post-processing step; future work aims to embed these adjustments directly into the training phase. Additionally, the framework currently assumes fixed protected attributes, suggesting a need for future iterations that can handle evolving protected group definitions within a stream.

Conclusion

FABBOO provides a robust solution for fair stream learning by explicitly addressing the intersection of class imbalance and algorithmic bias. Its ability to maintain high balanced accuracy while drastically reducing cumulative discrimination makes it a vital tool for ethical AI deployment in real-time applications.

Summary updated

BibTeX
@misc{iosifidis2021online,
  author = {Vasileios Iosifidis and Wenbin Zhang and Eirini Ntoutsi},
  title = {{Online Fairness-Aware Learning with Imbalanced Data Streams}},
  year = {2021},
  eprint = {2108.06231},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2108.06231},
}
Figure