eForecaster: Unifying Electricity Forecasting with Robust, Flexible, and Explainable Machine Learning Algorithms

Zhaoyang Zhu, Weiqi Chen, Rui Xia, Tian Zhou, Peisong Niu, Bingqing Peng, Wenwei Wang, Hengbo Liu, Ziqing Ma, Qingsong Wen, Liang Sun

Electricity forecasting is a mission-critical operation for power grid stability and financial efficiency. However, real-world deployment faces significant hurdles: noisy sensor data, highly diverse forecasting scenarios (from industrial bus loads to volatile wind power), and a lack of model interpretability that prevents grid operators from trusting AI-driven decisions. To address these challenges, Alibaba’s DAMO Academy developed eForecaster, a unified AI platform that streamlines the journey from raw data to explainable forecasts.

The Three-Phase Framework

eForecaster employs a modular architecture designed to handle the complexities of the power industry. The system is divided into three distinct phases: pre-modeling for robustness, in-modeling for flexibility, and post-modeling for explainability.

The end-to-end eForecaster framework, illustrating the flow from multi-source data collection through effective modeling to final grid applications.

1. Pre-Modeling: Ensuring Data Robustness

Real-world data is often "dirty," containing outliers and missing values. Instead of simple filtering, eForecaster utilizes advanced algorithms like RobustSTL and RobustPeriod. These tools decompose time series into trend, seasonality, and noise components, allowing the system to automatically fix sensor errors while preserving legitimate spikes caused by holidays or extreme weather.

2. In-Modeling: The Pipeline Composer

To handle diverse scenarios, the platform features a Pipeline Composer. This AutoML-style interface automatically selects the optimal combination of features and models. A key innovation is "alignment feature engineering," which groups similar historical intervals (e.g., comparing a specific Monday's load to previous Mondays with similar weather) to better capture volatile patterns. The model library includes both gradient-boosted decision trees (GBDTs) like LightGBM and state-of-the-art deep learning architectures like FEDformer.

3. Post-Modeling: Explainability and Domain Expertise

To bridge the "trust gap," eForecaster provides built-in explainability tools. It uses feature attribution to identify exactly which factors—such as temperature drops or production schedules—influenced a specific prediction. Furthermore, a rule-based post-processing layer allows human experts to inject domain knowledge (e.g., known maintenance plans) back into the AI's output.

Real-World Impact and Results

The system was evaluated using massive datasets from several Chinese provincial grids (including Jiangxi, Henan, and Shandong) covering system loads, bus loads, and renewable energy output.

  • Significant Error Reduction: eForecaster reduced the Mean Absolute Error (MAE) by 39.8% to 77.0% compared to standard baselines like LSTM or standalone LightGBM.
  • Grid-Level Reliability: In the Jiangxi province test, eForecaster achieved an MAE of 81.5, a dramatic improvement over the 355.8 recorded by a standard LSTM model.
  • Scalability: Since late 2021, the platform has been deployed to manage over 1,000 industrial buses and 400 wind and solar farms, significantly reducing the manual labor required for grid operations.

Conclusion

By unifying data cleaning, flexible modeling, and explainability, eForecaster provides a robust solution for the high-stakes world of electricity forecasting. While future work aims to automate the detection of "concept drift" (changing consumption patterns), the current system has already demonstrated its ability to narrow the trust gap between AI and human operators, leading to more stable and efficient power grids.

Summary updated

BibTeX
@inproceedings{zhu2023eforecaster,
  author = {Zhaoyang Zhu and Weiqi Chen and Rui Xia and Tian Zhou and Peisong Niu and Bingqing Peng and Wenwei Wang and Hengbo Liu and Ziqing Ma and Qingsong Wen and Liang Sun},
  title = {{eForecaster: Unifying Electricity Forecasting with Robust, Flexible, and Explainable Machine Learning Algorithms}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i13.26853},
}
Figure