Adaptive online learning with LSTM networks for energy price prediction

Abstract Accurate prediction of electricity prices is crucial for stakeholders in the energy market, particularly for grid operators, energy producers, and consumers. This study focuses on developing a predictive model leveraging Long Short-Term Memory (LSTM) networks to forecast day-ahead electricity prices in the California energy market. The model incorporates a variety of features, including historical price data, weather conditions, and the energy generation mix. A novel custom loss function that integrates Mean Absolute Error (MAE), Jensen–Shannon Divergence (JSD), and a smoothness penalty is introduced to enhance the prediction accuracy and interpretability. Additionally, an adaptive online learning framework is implemented to allow the model to adapt to new data incrementally, ensuring continuous relevance and accuracy. The results demonstrate that the custom loss function can improve the model’s performance, aligning predicted prices more closely with actual values, particularly during peak intervals. The adaptive online learning framework achieves the best overall performance, reducing MSE, MAE, and RMSE by approximately 23.0%, 3.4%, and 12.2%, respectively, compared with the next-best model, namely the static model, which is trained once and kept fixed during testing. The inclusion of the energy generation mix further enhances the model’s predictive capabilities, highlighting the importance of comprehensive feature integration. This research provides a robust framework for electricity price forecasting, which offers valuable insights and tools for better decision-making in dynamic electricity markets.

Authors

Publication Details

Journal
International Journal of Data Science and Analytics
Published
2026-08-11
DOI
https://doi.org/10.1007/s41060-026-01251-1
Primary Topic
Smart Grid Energy Management
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Adaptive online learning with LSTM networks for energy price prediction

Salih Salihoglu, Ramin Moghaddass, Afshin Adadi, Ibrahim Ahmed
International Journal of Data Science and Analytics
Smart Grid Energy Management
article

Adaptive online learning with LSTM networks for energy price prediction

Salih Salihoglu, Ramin Moghaddass, Afshin Adadi, Ibrahim Ahmed
article en

Abstract

Abstract Accurate prediction of electricity prices is crucial for stakeholders in the energy market, particularly for grid operators, energy producers, and consumers. This study focuses on developing a predictive model leveraging Long Short-Term Memory (LSTM) networks to forecast day-ahead electricity prices in the California energy market. The model incorporates a variety of features, including historical price data, weather conditions, and the energy generation mix. A novel custom loss function that integrates Mean Absolute Error (MAE), Jensen–Shannon Divergence (JSD), and a smoothness penalty is introduced to enhance the prediction accuracy and interpretability. Additionally, an adaptive online learning framework is implemented to allow the model to adapt to new data incrementally, ensuring continuous relevance and accuracy. The results demonstrate that the custom loss function can improve the model’s performance, aligning predicted prices more closely with actual values, particularly during peak intervals. The adaptive online learning framework achieves the best overall performance, reducing MSE, MAE, and RMSE by approximately 23.0%, 3.4%, and 12.2%, respectively, compared with the next-best model, namely the static model, which is trained once and kept fixed during testing. The inclusion of the energy generation mix further enhances the model’s predictive capabilities, highlighting the importance of comprehensive feature integration. This research provides a robust framework for electricity price forecasting, which offers valuable insights and tools for better decision-making in dynamic electricity markets.

International Journal of Data Science and AnalyticsVol. 22(1)
Affordable and clean energy
Openalex Percentile: Top 100%
Smart Grid Energy Management
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.

Laika access coming soon