Abstract
This chapter focuses on metalearning approaches that have been applied to data streams. This is an important area, as many real-world data arrive in the form of a stream of observations. We first review some important aspects of the data stream setting, which may involve online learning, non-stationarity, and concept drift.
Introduction: The Challenge of Data Streams
Most machine learning research assumes a "batch" setting where the data is static and the underlying distribution is fixed. However, real-world data—like stock market prices, sensor readings, or EEG signals—arrives as a continuous stream.
Data streams present three unique challenges:
- Non-stationarity: The "rules" of the data change over time (concept drift), meaning a model that worked yesterday might be useless today.
- Resource Constraints: Algorithms must process observations one-by-one, often with limited memory and a requirement to be "ready to predict" at any moment.
- Algorithm Selection: Because the data distribution shifts, no single algorithm remains the "best" forever. The challenge is to recommend the right algorithm for the current state of the stream without the luxury of re-running expensive cross-validation.
Metalearning Methodologies
The authors categorize approaches to algorithm recommendation into three main groups:
Metafeature-Based Approaches
These systems split the stream into intervals. For each interval, they extract "metafeatures" (e.g., statistical properties like skewness, or "landmarkers" which are performance scores of simple, fast classifiers). A meta-model then predicts which complex learner will perform best on the next interval.
Data Stream Ensembles
Instead of picking one "winner," these methods maintain a pool of models.
- Blast (Best Last): A simple but effective strategy that gives 100% weight to whichever model performed best in the most recent window.
- Fading Factors: This uses a weighting function where the importance of a model’s past performance decays exponentially. This allows the system to prioritize recent accuracy while maintaining some "memory" of older data.
Recurring Meta-level Models
Designed for seasonal data (e.g., electricity demand on weekends vs. weekdays), these use a two-layered architecture. An induction layer handles the current classification, while a control layer monitors for drift and decides whether to train a new model or "reactivate" an old, stored model that matches the current concept.
Key Insights
- The "Blast" Paradox: One of the most surprising findings is that the simple Blast baseline (using the best performer from the last interval) is incredibly difficult to beat. Many sophisticated metafeature-based systems fail to consistently outperform this "no-change" strategy.
- Drift as a Metafeature: The output of drift detectors (like DDM or ADWIN) can themselves be used as metafeatures. A "warning" or "alarm" signal from these detectors tells the meta-algorithm that it’s time to switch models.
- Diversity Matters: For ensembles to be effective, the base learners must be diverse. The paper suggests using hierarchical clustering (dendrograms) of algorithm outputs to ensure the ensemble contains models that "fail in different ways."
Empirical Results and Comparisons
The dynamic nature of algorithm performance is evident in real-world datasets. For instance, on the Electricity dataset, the "best" classifier (among Hoeffding Trees, Naive Bayes, SPegasos, and k-NN) changes frequently across observations.
The paper further compares two landmark works in the field, highlighting different strategies for metadata collection and model training.
A significant finding is the "Oracle Gap": a theoretical system that always picks the perfect model significantly outperforms current metalearning systems, suggesting there is still a large margin for improvement in how we recommend algorithms for streams.
Limitations and Future Work
Current metafeature-based approaches are not yet robust enough to consistently beat simple performance-tracking baselines like Blast in highly volatile streams. Furthermore, while AutoML is mature for batch data, there are few tools that can automatically tune hyperparameters or design pipelines during a stream while accounting for drift. Future research should focus on clearer analyses of stream properties (e.g., drift speed, noise level) and the development of high-quality, publicly available real-world stream datasets.
Summary updated