TL;DR
Streaming automated machine learning (AutoML) is crucial for real-time data applications, but comparing different frameworks has historically been an apples-to-oranges nightmare due to fragmented software ecosystems and varying base learners. SAMLB (Streaming Automated Machine Learning Benchmark) solves this by introducing an open-source, unified benchmarking framework featuring a shared C++ learner pool and a standardized evaluation protocol. The resulting controlled study reveals that no single framework dominates, and performance is heavily dependent on the type of concept drift present in the data.
What Problem Does This Paper Address?
In data stream learning, data arrives sequentially, requiring models to predict and update one instance at a time under strict single-pass constraints. This is vital for applications like high-frequency finance, network monitoring, and sensor systems where data distributions shift over time—a phenomenon known as concept drift.
While several streaming AutoML frameworks have been proposed to automate this process online, evaluating them fairly has been nearly impossible. They are built on different software stacks, use incompatible evaluation protocols, and draw from entirely different pools of base learners. Consequently, it has been impossible to tell whether a framework performs well because of its clever search strategy or simply because it leverages a superior underlying machine learning library. SAMLB addresses this gap by providing a controlled, reproducible environment to isolate and evaluate the actual AutoML search strategies.
Methods
The authors design SAMLB around three core principles to ensure a level playing field:
- Unified API: SAMLB wraps diverse frameworks behind a minimal, three-method Python interface:
predict_one(x)for single-instance prediction,learn_one(x, y)for online updates, andreset()to restore the initial state. - Shared Learner Pool: To eliminate base-learner implementation as a confounding factor, all compatible frameworks draw from an identical pool of linear, instance-based, probabilistic, and tree-based stream learners. These base learners are implemented in highly optimized C++ and exposed to Python via
pybind11. - Prequential Evaluation: The benchmark enforces a standardized "test-then-train" protocol. Every incoming data instance is first used to test the current model's predictive performance before being used to train and update the framework.
Datasets
SAMLB introduces a curated suite of 30 tabular datasets (15 classification and 15 regression streams) sourced from data stream mining and AutoML literature. Rather than collecting data opportunistically, the authors selected streams based on strict criteria: sufficient length to allow multiple AutoML search cycles, diversity in scale and dimensionality, and clear coverage of different drift behaviors (abrupt, gradual, mixed, and stationary).
Key Insights and Ideas
- No Silver Bullet: No single streaming AutoML framework dominates all settings. The ideal framework choice depends heavily on the specific characteristics of the data stream and its drift behavior.
- The Accuracy vs. Macro-F1 Divergence: Optimizing purely for accuracy can mask poor performance on minority classes. While frameworks like ASML excel in raw accuracy by tracking majority classes well, ensemble-based frameworks like EvoAutoML dominate Macro-F1 metrics because their population-wide predictions naturally safeguard minority classes in imbalanced streams.
- Drift Dictates Success: Search strategies respond differently to different types of distributional changes. For instance, ASML's adaptive search handles abrupt and gradual drifts exceptionally well, whereas EvoAutoML's evolutionary bagging approach shines in stationary and mixed drift environments.
- The Power of Dense Vectors in C++: By storing sliding-window instances as dense vectors rather than relying on hash-map-based feature access, SAMLB’s underlying C++ core achieves single-algorithm throughput speeds up to hundreds of times faster than popular Python (River) or Java (CapyMOA) equivalents.
Key Results
The authors evaluated five state-of-the-art frameworks (ASML, AutoClass, EvoAutoML, OAML, and ChaCha) alongside a random baseline:
- Classification: EvoAutoML achieved the highest overall mean accuracy (0.834) and dominated Macro-F1 performance with the best average rank (1.67). However, ASML proved highly consistent, earning the best average rank for raw accuracy (2.07) and winning the highest number of individual datasets (7 out of 15).
- Regression: ASML clearly led the pack, securing the highest mean $R^2$ (0.720) and the best average rank (1.73) across the regression suite.
Limitations and Future Work
While SAMLB marks a major step forward, the authors note several limitations in its current release:
- Default Configurations Only: Frameworks were evaluated using their published default hyperparameters; the benchmark does not yet support tuning meta-parameters like population size or exploration radius.
- Tabular Scope: The benchmark is strictly limited to tabular data streams, leaving text, image, and graph streams for future expansion.
- Resource Profiling Gaps: SAMLB tracks runtime but does not currently profile peak memory consumption—a critical metric for real-world, resource-constrained edge deployments.
Future iterations of SAMLB aim to introduce memory profiling, isolate drift-detection latency, and expand the suite to include multi-label classification, anomaly detection, and clustering tasks.
Summary updated