Adaptive Deep Forest for Online Learning from Drifting Data Streams

Lukasz Korycki, Bartosz KrawczykarXiv 2020

Abstract

The Adaptive Deep Forest (ADF) is a novel architecture designed to bridge the gap between deep learning and online stream mining. By integrating Adaptive Random Forests into a multi-grained cascade structure, ADF enables hierarchical feature learning from high-dimensional data (e.g., images and text) while maintaining resilience to concept drift in non-stationary data streams. Experimental results across 21 datasets demonstrate that ADF outperforms state-of-the-art streaming classifiers, particularly on complex, high-dimensional tasks.

Introduction

Most machine learning models assume data stationarity, where the underlying rules governing the data do not change. However, real-world data streams—such as social media feeds or sensor networks—are frequently non-stationary, exhibiting "concept drift" where patterns evolve over time. While shallow adaptive algorithms like Hoeffding Trees handle drift effectively, they struggle with high-dimensional data. Conversely, Deep Neural Networks (DNNs) excel at complex feature extraction but suffer from catastrophic forgetting and are difficult to adapt to streaming environments without costly retraining. The Adaptive Deep Forest (ADF) aims to provide the best of both worlds: hierarchical feature learning and the agility of adaptive streaming classifiers.

Methodology

ADF transforms the gcForest (Multi-Grained Cascade Forest) architecture into an online, adaptive system. The architecture consists of three primary components:

  1. Adaptive Random Forests (ARF): ADF replaces standard decision trees with ARFs. These are designed for streaming data, utilizing the Hoeffding bound for incremental growth and the ADWIN algorithm for drift detection and tree replacement.
  2. Multi-Grained Scanning: To capture spatial or temporal relationships (e.g., in images), ADF uses sliding windows of varying sizes to extract "sub-instances." These are processed by an initial layer of ARFs to generate class probability vectors.
  3. Cascade Layers with Dynamic Depth: Probability vectors pass through cascading sublayers that refine the representation. ADF employs dynamic depth selection, using ADWIN-based accuracy tracking to determine the most reliable layer for prediction at any given time, allowing the model's depth to adapt to the stream's current state.
The Adaptive Deep Forest (ADF) architecture, showing the multi-grained scanning and cascading sublayers.

Experimental Setup

The authors evaluated ADF on 21 data streams categorized into:

  • Shallow (9 streams): Standard benchmarks like ELEC, POKER, and WEATHER.
  • Deep-1D (4 streams): Textual and time-series data including AGNEWS and SEMG.
  • Deep-2D (8 streams): Visual data including CIFAR10, MNIST, and FASHION.

To simulate real-world conditions in stationary datasets, the authors introduced semi-synthetic concept drift by shuffling classes and using sigmoidal functions to simulate moderate incremental changes over time.

Results and Discussion

ADF outperformed 13 state-of-the-art streaming classifiers, including baseline ARFs and ensembles like Leveraging Bagging. The performance advantage was most pronounced in high-dimensional "Deep" streams. For instance, on the BBC text dataset, ADF achieved a Kappa score of ~0.86, compared to ARF's ~0.50.

Key insights from the study include:

  • Resilience to Drift: Accuracy visualizations showed that ADF recovers from sudden concept drifts more effectively than standard ensembles, maintaining a higher saturation point of accuracy.
  • Hierarchical Feature Learning: The success of the multi-grained scanning and cascading layers confirms that tree-based models can achieve deep-learning-like feature extraction without the hyperparameter complexities of backpropagation.
  • Computational Trade-offs: The main drawback is runtime; ADF was approximately four times slower than the second-slowest ensemble (DWM) due to the overhead of maintaining multiple forests across several layers.

Conclusion

ADF demonstrates that deep architectures can be successfully applied to streaming data without the limitations of neural networks. While the current sequential implementation faces runtime bottlenecks, the inherently parallelizable nature of random forests offers a path toward real-time viability. Future work will focus on scaling the algorithm through parallel computing and improving knowledge propagation between layers to enhance convergence speed in complex datasets.

Summary updated

BibTeX
@misc{korycki2020adaptive,
  author = {Lukasz Korycki and Bartosz Krawczyk},
  title = {{Adaptive Deep Forest for Online Learning from Drifting Data Streams}},
  year = {2020},
  eprint = {2010.07340},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2010.07340},
}
Figure