Dual purpose of Shapley Additive Explanation (SHAP) in model explanation and feature selection for artificial intelligence-based digital twin of wastewater treatment plant

IF 6.3 2区 工程技术 Q1 ENGINEERING, CHEMICAL
Vahid Nourani , Mahsa Dehghan , Aida H. Baghanam , Sameh A. Kantoush
{"title":"Dual purpose of Shapley Additive Explanation (SHAP) in model explanation and feature selection for artificial intelligence-based digital twin of wastewater treatment plant","authors":"Vahid Nourani ,&nbsp;Mahsa Dehghan ,&nbsp;Aida H. Baghanam ,&nbsp;Sameh A. Kantoush","doi":"10.1016/j.jwpe.2025.107947","DOIUrl":null,"url":null,"abstract":"<div><div>In this study, artificial intelligence (AI) black-box models called feedforward neural network (FFNN) as shallow learning and long short-term memory (LSTM) as deep learning were used to evaluate the biological oxygen demand of effluent (BOD<sub>eff</sub>) and chemical oxygen demand (COD<sub>eff</sub>) of the Tabriz wastewater treatment plant (WWTP). Daily data of the treatment plant from 2015 to 2021 were utilized for this modeling. Given the importance of selecting effective input parameters for modeling, four scenarios were employed for optimal input selection. The first scenario was based on the correlation coefficient (CC) method, the second on the mutual information (MI) method, the third utilized the Shapley additive explanation (SHAP) method for ranking the parameters, and the fourth scenario applied newly proposed hybrid MI-SHAP method for a two-step selection of input parameters. In MI-SHAP method, the number of inputs was first reduced using the MI method, and then the remaining parameters were ranked by the SHAP algorithm and used in the modeling process. This procedure significantly reduced the SHAP runtime. The explainable artificial intelligence (XAI) algorithm named SHAP was also used to visualize and illustrate how parameters influence the modeling results. To evaluate the results provided by the SHAP, another algorithm of the XAI, called accumulated local effects (ALE), was used. Through the use of XAI to illustrate the contribution of each input to the results, it was determined that BOD<sub>eff</sub> and COD<sub>eff</sub> with a one-day lag (BOD<sub>eff(t-1)</sub> and COD<sub>eff(t-1)</sub>) were the most influential features in the FFNN and LSTM. These parameters contribute approximately 54 % and 65 % of the total impact on the modeling outcomes in FFNN, and 56 % and 60 % in LSTM modeling, respectively.</div></div>","PeriodicalId":17528,"journal":{"name":"Journal of water process engineering","volume":"75 ","pages":"Article 107947"},"PeriodicalIF":6.3000,"publicationDate":"2025-05-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of water process engineering","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2214714425010190","RegionNum":2,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"ENGINEERING, CHEMICAL","Score":null,"Total":0}
引用次数: 0

Abstract

In this study, artificial intelligence (AI) black-box models called feedforward neural network (FFNN) as shallow learning and long short-term memory (LSTM) as deep learning were used to evaluate the biological oxygen demand of effluent (BODeff) and chemical oxygen demand (CODeff) of the Tabriz wastewater treatment plant (WWTP). Daily data of the treatment plant from 2015 to 2021 were utilized for this modeling. Given the importance of selecting effective input parameters for modeling, four scenarios were employed for optimal input selection. The first scenario was based on the correlation coefficient (CC) method, the second on the mutual information (MI) method, the third utilized the Shapley additive explanation (SHAP) method for ranking the parameters, and the fourth scenario applied newly proposed hybrid MI-SHAP method for a two-step selection of input parameters. In MI-SHAP method, the number of inputs was first reduced using the MI method, and then the remaining parameters were ranked by the SHAP algorithm and used in the modeling process. This procedure significantly reduced the SHAP runtime. The explainable artificial intelligence (XAI) algorithm named SHAP was also used to visualize and illustrate how parameters influence the modeling results. To evaluate the results provided by the SHAP, another algorithm of the XAI, called accumulated local effects (ALE), was used. Through the use of XAI to illustrate the contribution of each input to the results, it was determined that BODeff and CODeff with a one-day lag (BODeff(t-1) and CODeff(t-1)) were the most influential features in the FFNN and LSTM. These parameters contribute approximately 54 % and 65 % of the total impact on the modeling outcomes in FFNN, and 56 % and 60 % in LSTM modeling, respectively.
Shapley加性解释(SHAP)在基于人工智能的污水处理厂数字孪生模型解释和特征选择中的双重用途
本研究采用前馈神经网络(FFNN)作为浅学习,长短期记忆(LSTM)作为深度学习的人工智能(AI)黑箱模型,对大不里士污水处理厂(WWTP)的出水生物需氧量(BODeff)和化学需氧量(CODeff)进行了评价。该模型使用了该处理厂2015 - 2021年的日常数据。考虑到选择有效的输入参数对建模的重要性,采用四种情况进行最优输入选择。第一种方案基于相关系数法(CC),第二种方案基于互信息法(MI),第三种方案采用Shapley加性解释(SHAP)方法对参数进行排序,第四种方案采用新提出的混合MI-SHAP方法对输入参数进行两步选择。在MI-SHAP方法中,首先使用MI方法减少输入数量,然后使用SHAP算法对剩余参数进行排序并用于建模过程。这个过程大大减少了SHAP运行时。名为SHAP的可解释人工智能(XAI)算法也被用于可视化和说明参数如何影响建模结果。为了评估SHAP提供的结果,使用了XAI的另一种算法,称为累积局部效应(ALE)。通过使用XAI来说明每个输入对结果的贡献,确定具有一天滞后的BODeff和CODeff(BODeff(t-1)和CODeff(t-1))是FFNN和LSTM中最具影响力的特征。这些参数对FFNN建模结果的总影响分别约占54%和65%,在LSTM建模中分别占56%和60%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Journal of water process engineering
Journal of water process engineering Biochemistry, Genetics and Molecular Biology-Biotechnology
CiteScore
10.70
自引率
8.60%
发文量
846
审稿时长
24 days
期刊介绍: The Journal of Water Process Engineering aims to publish refereed, high-quality research papers with significant novelty and impact in all areas of the engineering of water and wastewater processing . Papers on advanced and novel treatment processes and technologies are particularly welcome. The Journal considers papers in areas such as nanotechnology and biotechnology applications in water, novel oxidation and separation processes, membrane processes (except those for desalination) , catalytic processes for the removal of water contaminants, sustainable processes, water reuse and recycling, water use and wastewater minimization, integrated/hybrid technology, process modeling of water treatment and novel treatment processes. Submissions on the subject of adsorbents, including standard measurements of adsorption kinetics and equilibrium will only be considered if there is a genuine case for novelty and contribution, for example highly novel, sustainable adsorbents and their use: papers on activated carbon-type materials derived from natural matter, or surfactant-modified clays and related minerals, would not fulfil this criterion. The Journal particularly welcomes contributions involving environmentally, economically and socially sustainable technology for water treatment, including those which are energy-efficient, with minimal or no chemical consumption, and capable of water recycling and reuse that minimizes the direct disposal of wastewater to the aquatic environment. Papers that describe novel ideas for solving issues related to water quality and availability are also welcome, as are those that show the transfer of techniques from other disciplines. The Journal will consider papers dealing with processes for various water matrices including drinking water (except desalination), domestic, urban and industrial wastewaters, in addition to their residues. It is expected that the journal will be of particular relevance to chemical and process engineers working in the field. The Journal welcomes Full Text papers, Short Communications, State-of-the-Art Reviews and Letters to Editors and Case Studies
×
引用
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学术官方微信