Incremental Rebalancing Learning on Evolving Data Streams

Alessio Bernardo, Emanuele Della Valle, Albert Bifet

TL;DR

This paper introduces REBALANCESTREAM, a novel online learning method designed to tackle imbalanced data streams by rebalancing them incrementally, one data point at a time. This approach aims to improve classifier performance on evolving data streams where traditional batch rebalancing methods are impractical.

What Problem Does This Paper Address?

The proliferation of connected devices means machine learning models are increasingly faced with "data streams" – continuous, unbounded flows of information. These streams often present two major challenges: concept drift, where the underlying data distribution changes over time without warning, and imbalanced classes, where some categories are far more frequent than others. Standard machine learning algorithms, which typically require all data to be available at once (a "batch"), struggle with both issues. While techniques exist to handle concept drift (like those in the MOA library) and to rebalance static datasets (like SMOTE), there's a gap in methods that can incrementally rebalance data streams as they arrive, adapting to both changing patterns and class imbalances simultaneously.

Methods

The authors propose REBALANCESTREAM, a meta-strategy that integrates existing techniques to address imbalanced data streams. It builds upon the ADWIN change detection algorithm to identify concept drifts. When a drift is detected, REBALANCESTREAM leverages SMOTE (Synthetic Minority Over-sampling Technique) to rebalance the data accumulated since the last detected drift. This rebalanced data is then used to train new models. The core idea is to maintain multiple candidate models and select the best-performing one based on prequential evaluation (a method for evaluating stream learning models by testing on each new instance before training).

They also introduce REBALANCESTREAM+, which runs REBALANCESTREAM and a baseline algorithm (BASE) in parallel. If REBALANCESTREAM's performance degrades significantly compared to BASE, REBALANCESTREAM+ defaults to using BASE's results, offering a robust fallback. The baseline algorithm, BASE, is a standard online learning approach without explicit rebalancing.

Datasets

The paper uses synthetically generated datasets created with the RandomRBFGeneratorDrift tool from the MOA library. Five distinct datasets were generated, each with 100,000 samples, 50 centroids, a speed change of 0.0000001, and ten attributes leading to two classes. The key variation across these datasets lies in the class imbalance level, which is randomly chosen between 0.6:0.4 and 0.9:0.1 and changes periodically. The authors also explored different combinations of mean ($\mu$) and variance ($\sigma^2$) for the Gaussian model used to generate these datasets to test the algorithms under various conditions.

Key Insights and Ideas

  • Incremental rebalancing is crucial for evolving streams: The paper strongly suggests that adapting to class imbalances incrementally is as important as adapting to concept drift for maintaining high performance on data streams.
  • SMOTE and ADWIN are a powerful combination: Integrating SMOTE for rebalancing with ADWIN for drift detection provides an effective way to handle both challenges in a streaming context.
  • The "10% minority class" threshold is a critical point: The authors observe a phenomenon where REBALANCESTREAM's performance can degrade when the minority class drops below 10% of the data, suggesting this is a sensitive threshold for their method.
  • REBALANCESTREAM+ offers robustness: The hybrid approach of REBALANCESTREAM+ provides a safety net, ensuring that performance doesn't drop drastically when the core REBALANCESTREAM method struggles.

Key Results

The experimental results, primarily visualized through line charts and heatmaps, indicate that both REBALANCESTREAM and REBALANCESTREAM+ generally outperform the baseline BASE algorithm. The red lines (BASE) are consistently lower than the black (REBALANCESTREAM) and blue (REBALANCESTREAM+) lines in the provided charts, signifying better performance (higher K-statistic) for the proposed methods. The heatmaps further confirm that REBALANCESTREAM is generally better than BASE across various combinations of mean and variance in the synthetic data generation. However, the paper notes that when the minority class is very small (around 10%), REBALANCESTREAM can sometimes perform worse than BASE, a scenario where REBALANCESTREAM+ might offer an advantage.

Limitations and Future Work

The authors acknowledge a key limitation: understanding why REBALANCESTREAM's performance degrades when the minority class level falls below 10% and finding a solution for this specific scenario. Future work includes evaluating REBALANCESTREAM and REBALANCESTREAM+ on real-world data streams with varying numbers of attributes and classes. Additionally, they plan to compare the computational efficiency (computing time) of their proposed methods against existing ones.

Summary updated

BibTeX
@inproceedings{bernardo2020incremental,
  author = {Alessio Bernardo and Emanuele Della Valle and Albert Bifet},
  title = {{Incremental Rebalancing Learning on Evolving Data Streams}},
  booktitle = {Workshops @ ICDM},
  year = {2020},
  url = {https://openreview.net/forum?id=ZOGA2k75rS},
}
Figure