New ensemble methods for evolving data streams

Albert Bifet, Geoffrey Holmes, Bernhard Pfahringer, Richard Kirkby, Ricard Gavaldà

Introduction

In the era of big data, information often arrives in the form of continuous, high-speed data streams. Unlike static datasets, these streams are frequently non-stationary, characterized by "concept drift"—a phenomenon where the underlying statistical properties of the data change over time. Traditional machine learning models, which assume a fixed data distribution, often fail as their learned patterns become obsolete. This paper introduces two innovative ensemble learning methods, ADWIN Bagging and Adaptive-Size Hoeffding Tree (ASHT) Bagging, designed to maintain high accuracy by dynamically adapting to evolving data while respecting the computational constraints of real-time processing.

Proposed Methods

The authors propose two distinct strategies to handle drift within an ensemble framework:

  1. Adaptive-Size Hoeffding Tree (ASHT) Bagging: This method introduces diversity through structural constraints. The ensemble consists of Hoeffding Trees with varying maximum sizes (number of split nodes). Smaller trees adapt rapidly to sudden changes because they reach their capacity and reset more frequently. Conversely, larger trees provide higher accuracy during stable periods. This "portfolio" approach ensures that some models in the ensemble are always tuned to the most recent data distribution.
  2. ADWIN Bagging: This method integrates the Adaptive Windowing (ADWIN) algorithm, a sophisticated change detector that requires no prior knowledge of the drift rate. ADWIN monitors the error rate of the ensemble; when a significant change is detected, the worst-performing model is discarded and replaced with a new one trained on the most recent data window.

Evaluation Framework

To rigorously test these methods, the authors developed a formal framework for simulating drift using a sigmoid function. This allows for precise control over the timing, duration, and aggressiveness of concept shifts. The algorithms were evaluated on massive datasets of up to 10 million instances, including synthetic generators and real-world benchmarks like Forest Covertype and Poker-Hand.

Performance Analysis

Accuracy of ensemble methods over time, highlighting the superior performance of BAG ADWIN and ASHT BAG. Source, p. 8

Accuracy of ensemble methods over time, highlighting the superior performance of BAG ADWIN and ASHT BAG.

Experimental results demonstrate that the proposed ensemble methods consistently outperform standard single-model approaches and traditional bagging. As shown in the accuracy plot above, BAG ADWIN and ASHT BAG maintain higher performance levels across long-running streams, effectively recovering from accuracy drops caused by concept drift. While standard Hoeffding Trees (HT) and Naive Bayes show significant degradation as concepts shift, the adaptive ensembles successfully pivot to the new data patterns.

Resource Efficiency and Trade-offs

Memory usage comparison, showing the trade-off between accuracy and resource consumption. Source, p. 8

Memory usage comparison, showing the trade-off between accuracy and resource consumption.

While ensemble methods provide superior predictive power, they introduce a trade-off in terms of resource consumption. The memory analysis reveals that ensemble approaches, particularly OZA BAG, exhibit substantial memory growth as more instances are processed. However, BAG ADWIN and ASHT BAG demonstrate a more controlled increase in memory usage compared to standard bagging, though they remain more resource-intensive than single-model drift detection methods like HT DDM. For environments with extreme resource constraints, HT DDM offers a balanced alternative, though it sacrifices some accuracy compared to the full ensemble methods.

Conclusion

The introduction of ASHT and ADWIN Bagging represents a significant step forward in stream mining. By leveraging structural diversity and automated change detection, these methods provide a robust solution for learning from non-stationary data. Both algorithms are implemented in the open-source MOA (Massive Online Analysis) framework, facilitating further research into complex meta-learning strategies for prediction combination in evolving environments.

Summary updated

BibTeX
@inproceedings{bifet2009new,
  author = {Albert Bifet and Geoffrey Holmes and Bernhard Pfahringer and Richard Kirkby and Ricard Gavaldà},
  title = {{New ensemble methods for evolving data streams}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2009},
  doi = {10.1145/1557019.1557041},
}
Figure