Deep Learning for Time-Series Forecasting With Exogenous Variables in Energy Consumption: A Performance and Interpretability Analysis

The rise of decentralized energy sources and renewables demands advanced grid planning, with short-term load forecasting (STLF) playing a crucial role. Energy demand in smart grids is highly variable and influenced by external factors, making accurate forecasting challenging. While deep learning models excel in time-series forecasting, their ability to integrate exogenous variables remains uncertain. This study evaluates different deep learning architectures for STLF, including recurrent (Long Short-Term Memory, LSTM), probabilistic (Deep Autoregressive, DeepAR), attention-based (Temporal Fusion Transformer, TFT), and foundation models (TimeLLM), each designed to capture temporal dependencies differently. The "Smart Meters in London" dataset, comprising 1.6 million energy consumption records enriched with weather and socio-demographic data, was used for evaluation. Results show that incorporating exogenous variables reduces forecasting error, with TFT achieving a test MAE of 1.643, RMSE of 2.903, and sMAPE of 18.8% on a lower-variability subset, leveraging long-range dependencies for enhanced predictions. DeepAR outperformed other models on the larger, noisier dataset, achieving a test MAE of 1.699, RMSE of 3.310, and sMAPE of 18.8%, demonstrating strong generalization. LSTM performed reasonably well but struggled to utilize exogenous information, leading to higher forecasting errors. TimeLLM, despite tailored prompting for time-series forecasting, failed to outperform task-specific models, with a test MAE of 2.193, RMSE of 3.473, and sMAPE of 22.89%, highlighting the challenges of adapting foundation models trained on different modalities to structured time-series forecasting. Beyond predictive accuracy, interpretability analysis challenges the assumption that attention mechanisms reliably capture feature importance. Performance degradation analysis revealed that perturbing features ranked highly by SHAP values and permutation feature importance led to sharper error increases than attention-based rankings, with permutation demonstrating the strongest correlation with prediction errors. These findings underscore the role of Explainable AI (XAI) in time-series forecasting, emphasizing the need for robust interpretability frameworks to ensure transparency in deep learning-based predictions.

Authors

Institutions

Publication Details

Journal
IEEE Access
Published
2025-01-01
DOI
https://doi.org/10.1109/access.2025.3570618
Citations
3
Primary Topic
Energy Load and Power Forecasting
Type
article
Field-Weighted Citation Impact
2.19

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Deep Learning for Time-Series Forecasting With Exogenous Variables in Energy Consumption: A Performance and Interpretability Analysis

Gonzalo Nápoles, Yamisleydi Salgueiro, A. Mohammadi
3 citations
IEEE Access
Energy Load and Power Forecasting
2.19
article

Deep Learning for Time-Series Forecasting With Exogenous Variables in Energy Consumption: A Performance and Interpretability Analysis

Gonzalo Nápoles, Yamisleydi Salgueiro, A. Mohammadi
article en
3 citations

Abstract

The rise of decentralized energy sources and renewables demands advanced grid planning, with short-term load forecasting (STLF) playing a crucial role. Energy demand in smart grids is highly variable and influenced by external factors, making accurate forecasting challenging. While deep learning models excel in time-series forecasting, their ability to integrate exogenous variables remains uncertain. This study evaluates different deep learning architectures for STLF, including recurrent (Long Short-Term Memory, LSTM), probabilistic (Deep Autoregressive, DeepAR), attention-based (Temporal Fusion Transformer, TFT), and foundation models (TimeLLM), each designed to capture temporal dependencies differently. The "Smart Meters in London" dataset, comprising 1.6 million energy consumption records enriched with weather and socio-demographic data, was used for evaluation. Results show that incorporating exogenous variables reduces forecasting error, with TFT achieving a test MAE of 1.643, RMSE of 2.903, and sMAPE of 18.8% on a lower-variability subset, leveraging long-range dependencies for enhanced predictions. DeepAR outperformed other models on the larger, noisier dataset, achieving a test MAE of 1.699, RMSE of 3.310, and sMAPE of 18.8%, demonstrating strong generalization. LSTM performed reasonably well but struggled to utilize exogenous information, leading to higher forecasting errors. TimeLLM, despite tailored prompting for time-series forecasting, failed to outperform task-specific models, with a test MAE of 2.193, RMSE of 3.473, and sMAPE of 22.89%, highlighting the challenges of adapting foundation models trained on different modalities to structured time-series forecasting. Beyond predictive accuracy, interpretability analysis challenges the assumption that attention mechanisms reliably capture feature importance. Performance degradation analysis revealed that perturbing features ranked highly by SHAP values and permutation feature importance led to sharper error increases than attention-based rankings, with permutation demonstrating the strongest correlation with prediction errors. These findings underscore the role of Explainable AI (XAI) in time-series forecasting, emphasizing the need for robust interpretability frameworks to ensure transparency in deep learning-based predictions.

IEEE AccessVol. 13
University of Talca (CL), Tilburg University (NL)
Agencia Nacional de Investigación y Desarrollo
Affordable and clean energy
Openalex Percentile: Top 12%
Energy Load and Power Forecasting
2.19
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.