Dual-stream representation learning with large language models for electricity demand forecasting

Electricity demand forecasting is crucial for the sustainable management of electricity markets and the reliable operation of power systems, particularly in the context of rapidly urbanizing and energy-intensive cities. Accurate load prediction supports efficient energy scheduling, reduces operational inefficiencies, and contributes to lower carbon emissions by enabling better integration of clean and distributed energy resources. Given the rise in electricity consumption corresponding to population growth, precision and accuracy in predicting electricity demand over time are increasingly significant for achieving energy-efficient and resilient urban infrastructures. In this direction, the current study presents a novel hybrid framework that integrates advanced data pre-processing, dual-path feature extraction, and large language transformer modeling to enhance the accuracy of load predictions in smart grid environments. The methodology begins with gaussian smoothing to mitigate noise and rectify inconsistencies in raw consumption data. A dual-stream module simultaneously analyses time-series patches while calculating key statistical summaries, producing robust patch embeddings and distinct prompt tokens. The prompt tokens act as contextual signals for a partially fine-tuned Generative Pre-trained Transformer (GPT-2), while a prototype-based patch reprogramming module continuously enhances the patch embeddings by aligning them with a collection of learnable prototype vectors. This design allows the transformer’s self-attention mechanism to effectively capture both local fluctuations and long-term temporal dependencies present in electricity demand. Thorough experiments conducted on a curated regional dataset illustrating electricity load patterns across the four southern states of India reveal that the proposed method outperforms traditional deep learning and hybrid techniques, achieving an average Root Mean Squared Error (RMSE) of 1.054 and a Mean Absolute Error (MAE) of 0.8579. The proposed framework demonstrates the desired generalization capacity with parameters efficient adaptation of large language models for electricity forecasting, thereby making it suitable for load generation, management, and planning activities. The findings offer new perspectives on how data-driven methods might be combined with large language models to improve energy forecasting and achieve sustainability.

Authors

Institutions

Publication Details

Journal
Engineering Applications of Artificial Intelligence
Published
2026-09-11
DOI
https://doi.org/10.1016/j.engappai.2026.116174
Primary Topic
Energy Load and Power Forecasting
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Dual-stream representation learning with large language models for electricity demand forecasting

Sanchit Nanda, Jatin Bedi, Siddhant
Engineering Applications of Artificial Intelligence
Energy Load and Power Forecasting
article

Dual-stream representation learning with large language models for electricity demand forecasting

Sanchit Nanda, Jatin Bedi, Siddhant
article en

Abstract

Electricity demand forecasting is crucial for the sustainable management of electricity markets and the reliable operation of power systems, particularly in the context of rapidly urbanizing and energy-intensive cities. Accurate load prediction supports efficient energy scheduling, reduces operational inefficiencies, and contributes to lower carbon emissions by enabling better integration of clean and distributed energy resources. Given the rise in electricity consumption corresponding to population growth, precision and accuracy in predicting electricity demand over time are increasingly significant for achieving energy-efficient and resilient urban infrastructures. In this direction, the current study presents a novel hybrid framework that integrates advanced data pre-processing, dual-path feature extraction, and large language transformer modeling to enhance the accuracy of load predictions in smart grid environments. The methodology begins with gaussian smoothing to mitigate noise and rectify inconsistencies in raw consumption data. A dual-stream module simultaneously analyses time-series patches while calculating key statistical summaries, producing robust patch embeddings and distinct prompt tokens. The prompt tokens act as contextual signals for a partially fine-tuned Generative Pre-trained Transformer (GPT-2), while a prototype-based patch reprogramming module continuously enhances the patch embeddings by aligning them with a collection of learnable prototype vectors. This design allows the transformer’s self-attention mechanism to effectively capture both local fluctuations and long-term temporal dependencies present in electricity demand. Thorough experiments conducted on a curated regional dataset illustrating electricity load patterns across the four southern states of India reveal that the proposed method outperforms traditional deep learning and hybrid techniques, achieving an average Root Mean Squared Error (RMSE) of 1.054 and a Mean Absolute Error (MAE) of 0.8579. The proposed framework demonstrates the desired generalization capacity with parameters efficient adaptation of large language models for electricity forecasting, thereby making it suitable for load generation, management, and planning activities. The findings offer new perspectives on how data-driven methods might be combined with large language models to improve energy forecasting and achieve sustainability.

Engineering Applications of Artificial IntelligenceVol. 183
Thapar Institute of Engineering & Technology (IN)
Sustainable cities and communities
Openalex Percentile: Top 20%
Energy Load and Power Forecasting
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.