{"title":"Research on eXplainable artificial intelligence in the CNN-LSTM hybrid model for energy forecasting","authors":"Chao Fan, Huanxin Chen","doi":"10.1016/j.jobe.2025.113150","DOIUrl":null,"url":null,"abstract":"<div><div>At present, data-driven approaches have achieved satisfactory results in energy forecasting for building cooling and air conditioning systems, particularly using hybrid deep learning models based on Convolutional Neural Networks (CNN) and Long Short-Term Memory (LSTM). However, these complex hybrid deep learning models often struggle to offer sufficient explainability, making it difficult for building professionals to understand the models and thereby reducing their trust in them. This study developed a CNN-LSTM hybrid model for predicting energy consumption in building refrigeration and air conditioning systems. To preserve the positional information of input features, the pooling layers in the CNN module were removed. The modified model still achieved high prediction accuracy, with R<sup>2</sup> = 0.9729. Subsequently, a comparative study of four eXplainable artificial intelligence (XAI) methods was conducted for the hybrid model. Among them, Gradient-weighted Class Activation Mapping (Grad-CAM) and Gradient-weighted Absolute Class Activation Mapping (Grad-Absolute-CAM) provided more reasonable global explanations. Additionally, Grad-Absolute-CAM exhibited superior consistency in local explanations. An ablation study was conducted based on the feature importance rankings provided by the four XAI methods. Through comprehensive comparison, the 11 most influential features for energy consumption prediction were identified. This study partially fills the research gap in explainability of hybrid models and highlights the potential of XAI in feature selection and improving energy forecasting. This has significant implications for developing more explainable, accurate, and efficient prediction models.</div></div>","PeriodicalId":15064,"journal":{"name":"Journal of building engineering","volume":"111 ","pages":"Article 113150"},"PeriodicalIF":6.7000,"publicationDate":"2025-06-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of building engineering","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2352710225013877","RegionNum":2,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"CONSTRUCTION & BUILDING TECHNOLOGY","Score":null,"Total":0}
引用次数: 0
Abstract
At present, data-driven approaches have achieved satisfactory results in energy forecasting for building cooling and air conditioning systems, particularly using hybrid deep learning models based on Convolutional Neural Networks (CNN) and Long Short-Term Memory (LSTM). However, these complex hybrid deep learning models often struggle to offer sufficient explainability, making it difficult for building professionals to understand the models and thereby reducing their trust in them. This study developed a CNN-LSTM hybrid model for predicting energy consumption in building refrigeration and air conditioning systems. To preserve the positional information of input features, the pooling layers in the CNN module were removed. The modified model still achieved high prediction accuracy, with R2 = 0.9729. Subsequently, a comparative study of four eXplainable artificial intelligence (XAI) methods was conducted for the hybrid model. Among them, Gradient-weighted Class Activation Mapping (Grad-CAM) and Gradient-weighted Absolute Class Activation Mapping (Grad-Absolute-CAM) provided more reasonable global explanations. Additionally, Grad-Absolute-CAM exhibited superior consistency in local explanations. An ablation study was conducted based on the feature importance rankings provided by the four XAI methods. Through comprehensive comparison, the 11 most influential features for energy consumption prediction were identified. This study partially fills the research gap in explainability of hybrid models and highlights the potential of XAI in feature selection and improving energy forecasting. This has significant implications for developing more explainable, accurate, and efficient prediction models.
期刊介绍:
The Journal of Building Engineering is an interdisciplinary journal that covers all aspects of science and technology concerned with the whole life cycle of the built environment; from the design phase through to construction, operation, performance, maintenance and its deterioration.