An electricity load forecasting model based on multilayer dilated LSTM network and attention mechanism

Ye Wang, Wenshuai Jiang, Chong Wang, Qiong Song, Tingting Zhang, Qi Dong, Xueling LiFrontiers in Energy Research 2023

Abstract

Electric energy is integral to modern life, but unrestricted expansion leads to energy waste. Accurate electricity load forecasting is vital for grid stability and strategic planning. With the advent of minute-level data acquisition, load series have become longer and more complex, challenging traditional forecasting models. This paper proposes a load forecasting model based on a multilayer dilated long short-term memory (LSTM) neural network. By utilizing a dilated structure, the model effectively extracts information from long time series across different dimensions. An integrated attention mechanism further allows the model to prioritize key historical information. Validated on two real-world datasets, the proposed method demonstrates superior accuracy and stability compared to standard forecasting approaches.

Introduction

Accurate electricity load forecasting is the backbone of a stable power grid. Utilities must balance supply and demand precisely: over-prediction wastes energy, while under-prediction risks blackouts. As data acquisition systems move toward high-frequency sampling (e.g., minute-level), the resulting time series become incredibly long and complex.

Traditional Recurrent Neural Networks (RNNs) and standard Long Short-Term Memory (LSTM) networks struggle with these "long-distance dependencies." They tend to "forget" information from the beginning of a long sequence by the time they reach the end. Furthermore, standard Sequence-to-Sequence (Seq2Seq) models often compress all historical information into a single "context vector," creating a bottleneck that can lose nuanced temporal details necessary for precise forecasting.

Proposed Methodology

The researchers developed a three-part architecture to overcome these hurdles, combining dilated structures with attention mechanisms within a Seq2Seq framework.

Multilayer Dilated LSTM Encoder

Unlike a standard LSTM that processes data step-by-step, a dilated LSTM uses "jumps" or skips. By stacking dilated layers with different jump distances (e.g., $d=2, 4, 1$), the encoder acts like a multi-resolution filter that can focus on both immediate fluctuations and broader cyclical patterns simultaneously. This reduces the number of steps information must travel, preserving long-term memory and preventing signal degradation over time.

Comparison between basic (A) and dilated (B) LSTM network structures.

Attention-Enhanced Seq2Seq Framework

The model utilizes a Seq2Seq framework to map input sequences to output forecasts. To break the information bottleneck of a static context vector, an attention mechanism is integrated. This layer calculates weights for every hidden state in the encoder, allowing the decoder to "pay attention" to specific past events—such as a load spike exactly 24 hours prior—that are most relevant for the current prediction.

The high-level Seq2Seq architecture used as the foundation for the forecasting model.

Experimental Results

The model was validated using two real-world datasets: one featuring 15-minute interval load data and another with 1-hour interval data. The models were fed historical load data alongside exogenous variables including month, day of the week, holiday status, and meteorological data (temperature, rainfall, and humidity).

Key Findings

  • Higher Accuracy: In 1-hour forecasting, the proposed model achieved a Mean Absolute Percentage Error (MAPE) of 1.7895%, significantly lower than standalone LSTM (1.8852%) and standard Seq2Seq (1.9217%) models.
  • Increased Stability: Error curves for the proposed model fluctuated much closer to zero than comparison methods, indicating higher reliability for real-world grid operators.
  • Data Efficiency: The model showed a much smaller performance drop when the historical window was shortened, suggesting it is more efficient at extracting value from limited historical data.

Conclusion

The combination of multilayer dilated LSTMs and attention mechanisms effectively solves the information loss problem inherent in long-sequence forecasting. By keeping signals "fresh" over long distances and prioritizing relevant historical data, this model provides a robust tool for modern power system management. Future research will explore ultra-short-term forecasting and the integration of more granular socio-economic indicators to further refine grid balancing capabilities.

Summary updated

BibTeX
@inproceedings{wang2023electricity,
  author = {Ye Wang and Wenshuai Jiang and Chong Wang and Qiong Song and Tingting Zhang and Qi Dong and Xueling Li},
  title = {{An electricity load forecasting model based on multilayer dilated LSTM network and attention mechanism}},
  booktitle = {Frontiers in Energy Research},
  year = {2023},
  doi = {10.3389/fenrg.2023.1116465},
}
Figure