Explainable multi-step heating load forecasting: Using SHAP values and temporal attention mechanisms for enhanced interpretability

IF 9.6 Q1 COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE
Alexander Neubauer, Stefan Brandt, Martin Kriegel
{"title":"Explainable multi-step heating load forecasting: Using SHAP values and temporal attention mechanisms for enhanced interpretability","authors":"Alexander Neubauer,&nbsp;Stefan Brandt,&nbsp;Martin Kriegel","doi":"10.1016/j.egyai.2025.100480","DOIUrl":null,"url":null,"abstract":"<div><div>The role of heating load forecasts in the energy transition is significant, given the considerable increase in the number of heat pumps and the growing prevalence of fluctuating electricity generation. While machine learning methods offer promising forecasting capabilities, their black-box nature makes them difficult to interpret and explain. The deployment of explainable artificial intelligence methodologies enables the actions of these machine learning models to be made transparent.</div><div>In this study, a multi-step forecast was employed using an Encoder–Decoder model to forecast the hourly heating load for an multifamily residential building and a district heating system over a forecast horizon of 24-h. By using 24 instead of 48 lagged hours, the simulation time was reduced from 92.75<!--> <!-->s to 45.80<!--> <!-->s and the forecast accuracy was increased. The feature selection was conducted for four distinct methods. The Tree and Deep SHAP method yielded superior results in feature selection. The application of feature selection according to the Deep SHAP values resulted in a reduction of 3.98% in the training time and a 8.11% reduction in the NRMSE. The utilisation of local Deep SHAP values enables the visualisation of the influence of past input hours and individual features. By mapping temporal attention, it was possible to demonstrate the importance of the most recent time steps in a intrinsic way.</div><div>The combination of explainable methods enables plant operators to gain further insights and trustworthiness from the purely data-driven forecast model, and to identify the importance of individual features and time steps.</div></div>","PeriodicalId":34138,"journal":{"name":"Energy and AI","volume":"20 ","pages":"Article 100480"},"PeriodicalIF":9.6000,"publicationDate":"2025-02-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Energy and AI","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2666546825000126","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0

Abstract

The role of heating load forecasts in the energy transition is significant, given the considerable increase in the number of heat pumps and the growing prevalence of fluctuating electricity generation. While machine learning methods offer promising forecasting capabilities, their black-box nature makes them difficult to interpret and explain. The deployment of explainable artificial intelligence methodologies enables the actions of these machine learning models to be made transparent.
In this study, a multi-step forecast was employed using an Encoder–Decoder model to forecast the hourly heating load for an multifamily residential building and a district heating system over a forecast horizon of 24-h. By using 24 instead of 48 lagged hours, the simulation time was reduced from 92.75 s to 45.80 s and the forecast accuracy was increased. The feature selection was conducted for four distinct methods. The Tree and Deep SHAP method yielded superior results in feature selection. The application of feature selection according to the Deep SHAP values resulted in a reduction of 3.98% in the training time and a 8.11% reduction in the NRMSE. The utilisation of local Deep SHAP values enables the visualisation of the influence of past input hours and individual features. By mapping temporal attention, it was possible to demonstrate the importance of the most recent time steps in a intrinsic way.
The combination of explainable methods enables plant operators to gain further insights and trustworthiness from the purely data-driven forecast model, and to identify the importance of individual features and time steps.

Abstract Image

可解释的多步热负荷预测:利用SHAP值和时间注意机制增强可解释性
考虑到热泵数量的大量增加和发电波动的日益普遍,热负荷预测在能源转型中的作用是重要的。虽然机器学习方法提供了有前途的预测能力,但它们的黑箱性质使它们难以解释和解释。可解释的人工智能方法的部署使这些机器学习模型的操作变得透明。在本研究中,采用编码器-解码器模型对多户住宅和区域供热系统在24小时内的小时供热负荷进行了多步预测。利用24小时代替48小时的滞后时间,将模拟时间从92.75 s缩短到45.80 s,提高了预报精度。对四种不同的方法进行特征选择。Tree和Deep SHAP方法在特征选择上取得了较好的结果。根据Deep SHAP值进行特征选择,训练时间减少了3.98%,NRMSE减少了8.11%。利用本地Deep SHAP值,可以可视化过去输入时间和单个特征的影响。通过绘制时间注意图,就有可能以一种内在的方式证明最近的时间步骤的重要性。可解释方法的结合使工厂操作员能够从纯数据驱动的预测模型中获得进一步的见解和可信度,并确定单个特征和时间步骤的重要性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Energy and AI
Energy and AI Engineering-Engineering (miscellaneous)
CiteScore
16.50
自引率
0.00%
发文量
64
审稿时长
56 days
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信