A Hybrid LSTM–LLM Framework for Electricity Load Forecasting with Adaptive Optimization

Authors

  • Olivia P. Li The Department of Electrical and Electronic Engineering, University of Bath, Bath BA2 7AY, UK
  • Alexis P. Zhao The Department of Energy Science and Engineering, Stanford Doerr School of Sustainability, Stanford University, Stanford, CA 94305, USA
  • Thomas T. Li The Department of Electrical and Computer Engineering, Iowa State University, Ames, IA 50011, USA
  • Qiuduo Zhao The School of Future Technology, Tianjin University, Tianjin 300350, China
  • Da Xie The Department of Electrical Engineering, Shanghai Jiao Tong University, Shanghai 200240, China https://orcid.org/0000-0003-2744-3349

DOI:

https://doi.org/10.37256/jeee.5120269912

Keywords:

electricity load forecasting, Long Short-Term Memory (LSTM), Large Language Models (LLMs), Generative Pre-trained Transformer (GPT)-assisted optimization, time-series prediction, adaptive model tuning, energy forecasting, intelligent energy systems

Abstract

Accurate electricity load forecasting is essential for the reliable operation of modern energy systems, particularly under increasing variability from renewable integration and environmental factors. This paper proposes a hybrid forecasting framework that combines Long Short-Term Memory (LSTM) networks with a GPT-assisted adaptive optimization strategy for short-term load prediction. An initial LSTM model is constructed to capture temporal dependencies in multivariate time-series data, including temperature and humidity. A feedback-driven refinement process is then introduced, in which GPT is utilized as a heuristic optimization component to iteratively adjust model configurations based on observed training behavior and prediction errors. A simulation-based case study is conducted using a dataset designed to reflect realistic load patterns. The results demonstrate consistent improvements across multiple evaluation metrics and show that the proposed method outperforms baseline and benchmark models. The findings suggest that integrating adaptive optimization mechanisms can enhance forecasting accuracy and robustness, while highlighting the potential of large language models as auxiliary components in time-series prediction tasks.

Downloads

Published

2026-06-05

How to Cite

[1]
O. P. Li, A. P. Zhao, T. T. Li, Q. Zhao, and D. Xie, “A Hybrid LSTM–LLM Framework for Electricity Load Forecasting with Adaptive Optimization”, J. Electron. Electric. Eng., vol. 5, no. 1, pp. 240–263, Jun. 2026.