Abstract
Time series forecasting is essential for various domains, yet it faces challenges from non-stationary data (concept drift) and the lack of model transparency. This paper introduces EAMDrift (Ensemble Adaptive Model with a Drift detector), a framework that combines diverse predictors using an interpretable rule-based system. By incorporating a built-in drift detector, the model automatically adapts to changing data patterns. EAMDrift outperforms individual baselines by approximately 20% while maintaining human-readable logic, bridging the gap between high-performance "black box" ensembles and interpretable models.
Introduction
Predicting future values based on historical time series data is critical for applications ranging from server workload management to public health tracking. However, practitioners often encounter two primary obstacles: Concept Drift and the "Black Box" Problem. Real-world data is dynamic; patterns that were once reliable can shift abruptly. While ensemble models often provide the best accuracy, their complexity frequently obscures the reasoning behind their predictions, which is a significant barrier in high-stakes environments like finance or healthcare.
EAMDrift addresses these issues by creating an "ensemble of experts" that is both adaptive and transparent.
Methodology
EAMDrift operates by maintaining a database of diverse forecasting models, including Prophet, Exponential Smoothing, SARIMA, LSTM, and Transformers. The framework's core logic involves selecting the most appropriate "expert" for a given data window based on extracted features.
Feature Extraction and Rule-Based Weighting
For every historical data window, the system extracts hundreds of statistical features (e.g., mean, variance, number of peaks) using the tsfresh library. These are refined via ElasticNet regression to identify the most significant predictors. Instead of a complex neural network, EAMDrift employs RuleFit to generate human-readable rules for model selection. For instance, a rule might state: "If variance is low and mean is high, prioritize the SARIMA model."
Self-Retraining and Drift Detection
To handle non-stationary data, EAMDrift integrates a KSWIN (Kolmogorov-Smirnov Windowing) drift detector. When the statistical distribution of incoming data shifts significantly, the system triggers an automatic retraining process. This allows the model to learn new "concepts" without manual intervention.
External Covariates
The framework can also ingest non-time-series data, such as sentiment analysis from news or social media, providing broader context for its predictions.
Experimental Evaluation
The researchers evaluated EAMDrift across five diverse datasets:
- NB1 & NB2: CPU usage from real-world servers with associated tweet sentiment.
- GCT (Google Cluster Trace): Workload data from Google’s server clusters.
- EPC (Electric Power Consumption): Hourly electricity usage from a Paris household.
- MSV (Microsoft Stock Value): Daily stock closing values combined with financial news sentiment.
Key Results
- Accuracy: EAMDrift outperformed standalone baseline models (e.g., SARIMA, LSTM) by an average of 20%.
- Interpretability vs. Performance: The interpretable version of EAMDrift performed within 1-2% of "black-box" configurations (using SVM or Random Forests), proving that transparency does not require a significant sacrifice in accuracy.
- Adaptability: In the NB1 dataset, the model successfully navigated "bursty" workloads by dynamically shifting weights and triggering retrains as data behavior changed.
Discussion and Future Work
EAMDrift demonstrates that models can be treated as "concept observers," where different architectures specialize in different data patterns (e.g., LSTM for long-term dependencies vs. SARIMA for seasonality). By acting as a "manager" that identifies the most relevant specialist, EAMDrift provides a robust and explainable forecasting solution.
However, some limitations remain. The retraining interval currently requires manual tuning to avoid over-oscillation. Additionally, the computational overhead of running multiple models and extracting features is higher than single-model approaches, though this is mitigated by parallel processing. Future work will focus on automating hyperparameter tuning and expanding the diversity of the model database.
Conclusion
EAMDrift offers a powerful framework for time series forecasting that balances accuracy, adaptability, and interpretability. By making the "why" behind a prediction clear to human users, it fosters trust and utility in critical decision-making processes.
Summary updated