Research Article

Multi-Source Short-Term Electricity Load Forecasting with Explainable Attention-Enhanced PatchTST

Bohan Zhang*
Zhejiang Wanli University

* Corresponding author: [email protected]

Abstract

Reliable short-term prediction of electricity consumption is essential for dispatching power grids and incorporating renewable sources. This work presents an interpretable forecasting system that merges heterogeneous data streams with an attention-augmented PatchTST backbone. Real-world meteorological records from NOAA are combined with electricity demand data, and we design time-adaptive correlation descriptors alongside a binary extreme-weather flag. A one-dimensional Coordinate Attention (CA) mechanism, originally developed for image analysis, is integrated into the PatchTST encoder to enable channel-wise reweighting. Using the UCI Electricity Load dataset for customer MT_329 (2011-2012), our CA-PatchTST attains a MAE of 16.46, surpassing LSTM (18.40) and the unmodified PatchTST (17.59). Ablation tests indicate that incorporating meteorological information is the primary driver of accuracy gain, while the CA module contributes moderate improvement and, crucially, offers visualizable attention maps that clarify the model's behavior under severe weather. The fusion of real NOAA observations lifts forecasting performance by over 50% relative to load-only models. The dynamic correlation features effectively capture seasonal reversals in load–weather dependency across months. Overall, the proposed approach achieves competitive results (MAE 16.46) on the benchmark.

Keywords: Short-term load forecasting; PatchTST; Coordinate attention; Multi-source data fusion; Explainable AI
Published: August 4, 2026
DOI: 10.54254/2755-2721/2026.BA35822
Volume: ACE Vol.251
pp. 118-124
Download PDF

References

  1. Arrieta, A. B., Díaz-Rodríguez, N., Del Ser, J., et al. (2020). Explainable artificial intelligence (XAI): Concepts, taxonomies, opportunities and challenges toward responsible AI.Information Fusion, 58, 82–115.
  2. Chen, Y., Zhang, D., Liu, M., & Li, H. (2020). Short-term load forecasting with deep learning: A survey.Energy and AI, 1, 100006.
  3. NOAA National Centers for Environmental Information. (2026). Integrated surface database (ISD).National Centers for Environmental Information. https://www.ncei.noaa.gov/products/land-based-station/integrated-surface-database
  4. Hochreiter, S., & Schmidhuber, J. (1997). Long short-term memory.Neural Computation, 9(8), 1735–1780.
  5. Hong, T., & Fan, S. (2016). Probabilistic electric load forecasting: A tutorial review.International Journal of Forecasting, 32(3), 914–938.
  6. Hou, Q., Zhou, D., & Feng, J. (2021). Coordinate attention for efficient mobile network design.Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 13713–13722.
  7. Kong, W., Z. Y. Dong, Y. Jia, D. J. Hill, Y. Xu, & Y. Zhang. (2019). Short-term residential load forecasting based on LSTM recurrent neural network.IEEE Transactions on Smart Grid, 10(1), 841-51.
  8. Nie, Y., N. H. Nguyen, P. Sinthong, & J. Kalagnanam. (2023). A time series is worth 64 words: Long-term forecasting with transformers.International Conference on Learning Representations (ICLR).
  9. Repository, UCI Machine Learning. (2015). Electricity load diagrams 2011-2014 data set.Https://archive.ics.uci.edu/ml/datasets/ElectricityLoadDiagrams20112014.
  10. Taylor, J. W., & R. Buizza. (2002). Neural network load forecasting with weather ensemble predictions.IEEE Transactions on Power Systems, 17(3), 626-32.
  11. Vaswani, A., N. Shazeer, N. Parmar, et al. (2017). Attention is all you need.Advances in Neural Information Processing Systems (NeurIPS).