Short-term electricity load forecasting based on large language models and weighted external factor optimization

Peijin Li, Zhijian Hu, Yichen Shen, Xiaotong Cheng, Mohannad AlhazmiSustainable 2025

Abstract

Accurate short-term electricity load forecasting is essential for the stable and efficient operation of modern power systems. This paper proposes a novel forecasting framework that integrates a time-decay weighted average of historical loads with external factor adjustments derived from structured data (weather and calendar) and unstructured textual sources (news). A key innovation lies in the dual role played by the Generative Pre-trained Transformer (GPT), which is used both to extract semantic features from news texts and to perform adaptive self-tuning mechanism that dynamically refines external factor scores. The model is validated through a case study using real-world data from New York State. Results show that the optimized prediction significantly improves forecasting accuracy, reducing the mean absolute error (MAE) by 90.7% and the root mean square error (RMSE) by 88.5% compared to the initial estimate. This work demonstrates the practical potential of large language models in energy forecasting and offers a scalable approach for integrating natural language understanding into quantitative prediction systems • Introduction of large language models (LLMs) for external factor optimization in load forecasting. • Development of a dual-layer forecasting framework combining time-decay weighted averaging and external factor adjustments. • Proposal of a self-learning correction mechanism based on GPT for dynamic factor adjustment. • Improvement of short-term load forecasting robustness for sustainable energy management. • Pioneering application of LLM technology in the field of electricity load forecasting.
BibTeX
@inproceedings{li2025short,
  author = {Peijin Li and Zhijian Hu and Yichen Shen and Xiaotong Cheng and Mohannad Alhazmi},
  title = {{Short-term electricity load forecasting based on large language models and weighted external factor optimization}},
  booktitle = {Sustainable},
  year = {2025},
  doi = {10.1016/j.seta.2025.104449},
}

Loading related content...

Figure