Enhancing explainability in AI-based energy forecasting through clustering and data selection

Explainable Artificial Intelligence (XAI) seeks to enhance the interpretability of Artificial Intelligence (AI) systems, ensuring that algorithmic decisions and their underlying data are comprehensible to non-technical stakeholders. While advanced Machine Learning (ML) models, such as deep neural networks, have significantly improved AI capabilities, their complexity poses challenges for XAI, particularly in handling large datasets required for training and interpretation. In particular, the application of Shapley Additive Explanations (SHAP), although widely recognized for its effectiveness, often incurs a high computational cost when applied to large-scale data. Addressing this issue, our previous work proposed a novel approach that leverages K-Means clustering to identify representative data instances, applied after the forecasting phase to refine SHAP-based explanations and reduce computational costs while preserving their fidelity. This extended study further optimizes the clustering strategy and evaluates its applicability across broader use cases in sustainable energy systems. We apply our method to forecast photovoltaic (PV) generation in buildings, a critical aspect for energy management in e-mobility and smart grids. The results show that clustering reduces execution time by more than 50 % compared to random sampling while maintaining comparable explanatory stability. These findings highlight the potential of data-driven clustering techniques in enhancing the explainability of ML models in energy forecasting, contributing to more accessible and practical AI solutions for real-world applications. • K-Means-based approach proposed to optimize explainability in XAI models. • Considerable data reduction without compromising the quality of explanations in complex machine learning solutions. • Application in forecasting photovoltaic energy generation for sustainable management of electric mobility. • Results that support the solution’s ability to reduce execution time while maintaining accuracy significantly. • Improving AI interpretability in real-world smart energy scenarios.

Authors

Institutions

Publication Details

Journal
Sustainable Energy Grids and Networks
Published
2025-11-05
DOI
https://doi.org/10.1016/j.segan.2025.102043
Citations
1
Primary Topic
Explainable Artificial Intelligence (XAI)
Type
article
Field-Weighted Citation Impact
2.48
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Enhancing explainability in AI-based energy forecasting through clustering and data selection

Tiago Pinto, Arsénio Reis, Brígida Teixeira, João Barroso et al.
1 citations
Sustainable Energy Grids and Networks
Explainable Artificial Intelligence (XAI)
2.48
article

Enhancing explainability in AI-based energy forecasting through clustering and data selection

Tiago Pinto, Arsénio Reis, Brígida Teixeira, João Barroso, Zita Vale, Luís Valina
article en
1 citations

Abstract

Explainable Artificial Intelligence (XAI) seeks to enhance the interpretability of Artificial Intelligence (AI) systems, ensuring that algorithmic decisions and their underlying data are comprehensible to non-technical stakeholders. While advanced Machine Learning (ML) models, such as deep neural networks, have significantly improved AI capabilities, their complexity poses challenges for XAI, particularly in handling large datasets required for training and interpretation. In particular, the application of Shapley Additive Explanations (SHAP), although widely recognized for its effectiveness, often incurs a high computational cost when applied to large-scale data. Addressing this issue, our previous work proposed a novel approach that leverages K-Means clustering to identify representative data instances, applied after the forecasting phase to refine SHAP-based explanations and reduce computational costs while preserving their fidelity. This extended study further optimizes the clustering strategy and evaluates its applicability across broader use cases in sustainable energy systems. We apply our method to forecast photovoltaic (PV) generation in buildings, a critical aspect for energy management in e-mobility and smart grids. The results show that clustering reduces execution time by more than 50 % compared to random sampling while maintaining comparable explanatory stability. These findings highlight the potential of data-driven clustering techniques in enhancing the explainability of ML models in energy forecasting, contributing to more accessible and practical AI solutions for real-world applications. • K-Means-based approach proposed to optimize explainability in XAI models. • Considerable data reduction without compromising the quality of explanations in complex machine learning solutions. • Application in forecasting photovoltaic energy generation for sustainable management of electric mobility. • Results that support the solution’s ability to reduce execution time while maintaining accuracy significantly. • Improving AI interpretability in real-world smart energy scenarios.

Sustainable Energy Grids and NetworksVol. 44
Instituto de Engenharia de Sistemas e Computadores Investigação e Desenvolvimento (PT), University of Trás-os-Montes and Alto Douro (PT), Intelligent Systems Research (United States) (US), INESC TEC (PT), Polytechnic Institute of Porto (PT)
Openalex Percentile: Top 8%
Explainable Artificial Intelligence (XAI)
2.48
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.