Short-Term Load Forecasting Using A Particle-Swarm Optimized Multi-Head Attention-Augmented CNN-LSTM Network

Paapa Kwesi Quansah, Edwin Kwesi Ansah TenkorangarXiv 2023 · DOI

Introduction

Short-Term Load Forecasting (STLF)—predicting electricity demand for the next few hours or days—is the backbone of modern power grid management. Accurate forecasts are essential for balancing supply and demand, preventing blackouts, and integrating volatile renewable energy sources like wind and solar. However, STLF is notoriously difficult because electricity usage is non-linear, dynamic, and influenced by complex spatial-temporal patterns. Existing models often suffer from hyperparameter sensitivity, interpretability issues, and high computational overhead.

The PSO-A2C-LNet Architecture

To address these challenges, this research introduces PSO-A2C-LNet, a hybrid deep learning framework that combines Convolutional Neural Networks (CNNs), Bidirectional LSTMs, and Multi-Head Attention. The architecture is designed to capture both local spatial-temporal patterns and long-term historical dependencies.

The proposed PSO-A2C-LNet architecture combining CNN, Bi-LSTM, and Multi-Head Attention.

Core Components

  • Feature Extraction (CNN): A convolutional layer captures local spatial-temporal patterns within the raw load data.
  • Sequential Modeling (Bi-LSTM): Two layers of Bidirectional Long Short-Term Memory (LSTM) networks process the data forward and backward in time to capture long-term dependencies.
  • Multi-Head Attention: This mechanism allows the model to "attend" to the most relevant features in the sequence, effectively filtering out noise and focusing on critical data points.
  • Automated Tuning (PSO): Instead of manual tuning, the authors use Particle Swarm Optimization to autonomously search for optimal hyperparameters such as learning rate, number of epochs, and batch size.

Experimental Evaluation

The model was rigorously tested on three diverse, real-world electricity demand datasets: the Panama Energy Dataset (tropical patterns), the ERCOT Dataset (Texas, US), and the RTE Dataset (France). These datasets provide a mix of different climates and consumer behaviors, serving as a comprehensive benchmark for generalizability.

Key Results

The PSO-A2C-LNet model consistently outperformed vanilla CNNs, standalone LSTMs, and standard hybrid models across all datasets. On the testing dataset, the model achieved a state-of-the-art MAPE of 1.9376%.

Comparison of actual demand vs. predicted demand for the PSO-A2C-LNet and baseline models on a sample day.

Specific performance metrics include:

  • Panama Dataset: $R^2$ score of 0.88 and a MAPE of 1.9%.
  • RTE Dataset: $R^2$ score of 0.86 and a MAPE of 2.0%.

Conclusion and Future Work

The paper demonstrates that combining CNNs, LSTMs, and Attention mechanisms creates a robust forecasting tool. By automating hyperparameter selection with PSO, the authors achieve higher accuracy and better resilience to overfitting than manual tuning allows. Future research will explore advanced data cleaning techniques, privacy-preserving frameworks like Federated Learning, and scalability testing on granular smart-meter datasets for nation-wide deployment.

Summary updated

BibTeX
@misc{quansah2023short,
  author = {Paapa Kwesi Quansah and Edwin Kwesi Ansah Tenkorang},
  title = {{Short-Term Load Forecasting Using A Particle-Swarm Optimized Multi-Head Attention-Augmented CNN-LSTM Network}},
  year = {2023},
  eprint = {2309.03694},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2309.03694},
}
Figure