Towards AutoML in the presence of Drift: first results

Madrid, Jorge, G, Hugo Jair Escalante, Eduardo F. Morales, Wei-Wei Tu, Yu, Yang, Lisheng Sun-Hosoya, Isabelle Guyon, Michèle Sébag

Abstract: International audience

Introduction

Automated Machine Learning (AutoML) has significantly advanced the field by automating algorithm selection and hyperparameter tuning. However, most current systems, such as Auto-Sklearn, operate under the "i.i.d. assumption," which presumes that training and testing data are drawn from the same static distribution. In real-world applications—ranging from user preference shifts to sensor degradation—data is often non-stationary, a phenomenon known as concept drift. This paper presents an adaptive AutoML framework designed for "Lifelong Machine Learning" (LML), where systems autonomously detect and adapt to changes without human intervention.

Methodology: The Predict-Diagnose-Update Loop

The authors propose an extension to Auto-Sklearn that introduces a three-step adaptive cycle to handle evolving data streams. This framework monitors model performance and intervenes when drift is detected.

The Predict-Diagnose-Update loop in a batch-based lifelong learning setting.
  1. Drift Detection: The system integrates the Fast Hoeffding Drift Detection Method (FHDDM). This component monitors the online error rate; a significant spike in error triggers a drift alarm.
  2. Adaptation Strategies: Upon detection, the system employs one of several strategies:
  3. Model Replacement: The existing model is discarded, and a new Auto-Sklearn search is initiated. To improve efficiency, meta-features from previous runs are used to "warm-start" the search.
  4. Model Management (Weight Updating): The system retains the existing ensemble but recalculates model weights based on either the newest batch (WU-latest) or all accumulated data (WU-all).
  5. Add New: An experimental strategy to append new models to the ensemble, though the authors noted technical challenges in the current implementation.

Experimental Setup and Datasets

The framework was evaluated using both classic benchmarks and real-world challenge data. The classic datasets provide a mix of synthetic and real-world scenarios with varying types of drift.

Summary of the classic concept drift benchmark datasets used in the study.

In addition to the benchmarks shown above, the study utilized five undisclosed datasets from the AutoML2 Challenge (PM, RH, RI, RL, RM), which are derived from user click data and characterized by strong temporal dependencies.

Key Results and Insights

The experimental results highlight a critical trade-off between computational cost and predictive accuracy:

  • Performance Gains: Adaptive strategies significantly outperformed static models. For instance, on the Electricity dataset, the "Replacement" strategy achieved 76.44% accuracy, compared to 67.15% for the static base model. On the RL challenge dataset, the Replacement method improved the normalized AUC by 47%.
  • Efficiency of Ensembles: Full model replacement generally yields the highest accuracy but is computationally intensive. Interestingly, the WU-all strategy (re-weighting the existing ensemble) was approximately 5 times faster than replacement while still providing robust performance gains in most scenarios.
  • The Role of Meta-Learning: Meta-learning serves as the bridge for feasible adaptive AutoML. By leveraging knowledge from past tasks, the system can bypass exhaustive searches and immediately prioritize pipelines that were successful on similar historical distributions.
  • Handling Abrupt Drift: Synthetic datasets like Stagger, which feature instantaneous changes, proved the most difficult. In these cases, only full Model Replacement allowed the system to recover effectively.

Limitations and Future Work

As these are "first results," several avenues for improvement remain. The authors noted that the "Add New" strategy requires optimization for dynamic ensemble expansion. Furthermore, while this study used a fixed drift detector (FHDDM), future iterations could implement "Auto-Drift-Detection" to automatically select the best detection algorithm and parameters for a given stream. Finally, transitioning from batch-based processing to true instance-by-instance online AutoML remains a primary goal for the field.

Summary updated

BibTeX
@inproceedings{g2018towards,
  author = {Madrid, Jorge, G and Hugo Jair Escalante and Eduardo F. Morales and Wei-Wei Tu and Yu, Yang and Lisheng Sun-Hosoya and Isabelle Guyon and Michèle Sébag},
  title = {{Towards AutoML in the presence of Drift: first results}},
  booktitle = {SPIRE},
  year = {2018},
}
Figure