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

IF 9.6 Q1 COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE Energy and AI Pub Date : 2025-05-01 Epub Date: 2025-02-13 DOI:10.1016/j.egyai.2025.100480
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-05-01","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":"2025/2/13 0:00:00","PubModel":"Epub","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

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
可解释的多步热负荷预测:利用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
期刊最新文献
Development of physics-consistent conditional diffusion model to overcome data scarcity in critical heat flux Forecasting battery capacity with dynamic transitions in operational conditions DeepTherm: A unified deep learning approach to thermochemistry prediction for gas-phase molecules Advancing multi-generation energy system optimization through artificial intelligence-driven configuration optimization: a novel framework for simultaneous component selection and parameter adjustment Industrial data-driven machine learning framework for wafer quality-based decision making toward smart solar-cell manufacturing
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1