基于BiLSTM和KAN的污水处理厂出水水质实时预测模型

IF 6.7 2区 工程技术 Q1 ENGINEERING, CHEMICAL
Siyu Liu , Zhaocai Wang
{"title":"基于BiLSTM和KAN的污水处理厂出水水质实时预测模型","authors":"Siyu Liu ,&nbsp;Zhaocai Wang","doi":"10.1016/j.jwpe.2025.108750","DOIUrl":null,"url":null,"abstract":"<div><div>Predicting effluent water quality in wastewater treatment plants (WWTPs) is essential for operation optimization, resource efficiency, and regulatory compliance. However, traditional methods struggle with complex temporal dynamics and nonlinear interactions, and current research lacks unified approaches for feature interaction, noise robustness, and multiscale modeling. In this study, we introduce a hybrid model combining bidirectional long short-term memory (BiLSTM) and Kolmogorov-Arnold networks (KAN), alongside a feature-selection mechanism that fuses Spearman, Kendall, and maximal information coefficient (MIC) metrics to identify key water-quality drivers. The feature-selection strategy integrates three methods to capture both monotonic and non-monotonic associations, reducing noise by focusing on impactful predictors. The model synergistically combines BiLSTM's bidirectional temporal feature extraction (capturing past-future context of time-series data) with KAN's strong nonlinear approximation power (modeling complex interactions via spline-based univariate function combinations, based on the Kolmogorov-Arnold theorem), optimizing spatiotemporal feature integration through a dynamic weighted gating mechanism. Experimental results show that, compared with benchmark models such as long short-term memory (LSTM), the model reduces the root mean square error (RMSE) in predicting effluent chemical oxygen demand (COD) by 7.67 % to 45.17 % and improves the coefficient of determination (R<sup>2</sup>) by 0.96 % to 14.76 %, demonstrating superior forecasting performance. Temporal differential analysis uncovers water quality fluctuations within a day, while multiscale forecasting achieves R<sup>2</sup> &gt; 0.92, validating the model's ability to capture dynamic changes and perform nonlinear mapping. This study further applies SHapley Additive Explanation (SHAP) and Local Interpretable Model-agnostic Explanations (LIME) for interpretability: SHAP identifies key drivers while LIME clarifies how these variables influence specific predictions, aiding operational adjustments. Noise-injection tests confirm robustness, ensuring reliability under sensor drift. This framework offers a comprehensive, interpretable, and resilient solution for real-time WWTP control (e.g., dynamic carbon source dosing) and advances smart water management.</div></div>","PeriodicalId":17528,"journal":{"name":"Journal of water process engineering","volume":"78 ","pages":"Article 108750"},"PeriodicalIF":6.7000,"publicationDate":"2025-09-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Real-time effluent water quality prediction model based on BiLSTM and KAN for wastewater treatment plants\",\"authors\":\"Siyu Liu ,&nbsp;Zhaocai Wang\",\"doi\":\"10.1016/j.jwpe.2025.108750\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>Predicting effluent water quality in wastewater treatment plants (WWTPs) is essential for operation optimization, resource efficiency, and regulatory compliance. However, traditional methods struggle with complex temporal dynamics and nonlinear interactions, and current research lacks unified approaches for feature interaction, noise robustness, and multiscale modeling. In this study, we introduce a hybrid model combining bidirectional long short-term memory (BiLSTM) and Kolmogorov-Arnold networks (KAN), alongside a feature-selection mechanism that fuses Spearman, Kendall, and maximal information coefficient (MIC) metrics to identify key water-quality drivers. The feature-selection strategy integrates three methods to capture both monotonic and non-monotonic associations, reducing noise by focusing on impactful predictors. The model synergistically combines BiLSTM's bidirectional temporal feature extraction (capturing past-future context of time-series data) with KAN's strong nonlinear approximation power (modeling complex interactions via spline-based univariate function combinations, based on the Kolmogorov-Arnold theorem), optimizing spatiotemporal feature integration through a dynamic weighted gating mechanism. Experimental results show that, compared with benchmark models such as long short-term memory (LSTM), the model reduces the root mean square error (RMSE) in predicting effluent chemical oxygen demand (COD) by 7.67 % to 45.17 % and improves the coefficient of determination (R<sup>2</sup>) by 0.96 % to 14.76 %, demonstrating superior forecasting performance. Temporal differential analysis uncovers water quality fluctuations within a day, while multiscale forecasting achieves R<sup>2</sup> &gt; 0.92, validating the model's ability to capture dynamic changes and perform nonlinear mapping. This study further applies SHapley Additive Explanation (SHAP) and Local Interpretable Model-agnostic Explanations (LIME) for interpretability: SHAP identifies key drivers while LIME clarifies how these variables influence specific predictions, aiding operational adjustments. Noise-injection tests confirm robustness, ensuring reliability under sensor drift. This framework offers a comprehensive, interpretable, and resilient solution for real-time WWTP control (e.g., dynamic carbon source dosing) and advances smart water management.</div></div>\",\"PeriodicalId\":17528,\"journal\":{\"name\":\"Journal of water process engineering\",\"volume\":\"78 \",\"pages\":\"Article 108750\"},\"PeriodicalIF\":6.7000,\"publicationDate\":\"2025-09-18\",\"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/S2214714425018239\",\"RegionNum\":2,\"RegionCategory\":\"工程技术\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"ENGINEERING, CHEMICAL\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of water process engineering","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2214714425018239","RegionNum":2,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"ENGINEERING, CHEMICAL","Score":null,"Total":0}
引用次数: 0

摘要

预测污水处理厂(WWTPs)的出水水质对于优化操作、资源效率和法规遵从性至关重要。然而,传统的方法难以处理复杂的时间动态和非线性相互作用,目前的研究缺乏统一的特征相互作用、噪声鲁棒性和多尺度建模方法。在这项研究中,我们引入了一个结合双向长短期记忆(BiLSTM)和Kolmogorov-Arnold网络(KAN)的混合模型,以及融合Spearman、Kendall和最大信息系数(MIC)指标的特征选择机制,以识别关键的水质驱动因素。特征选择策略集成了三种方法来捕获单调和非单调关联,通过关注有影响的预测因子来降低噪声。该模型将BiLSTM的双向时间特征提取(捕获时间序列数据的过去-未来背景)与KAN强大的非线性逼近能力(基于Kolmogorov-Arnold定理,通过基于样条的单变量函数组合建模复杂的相互作用)协同结合,通过动态加权门通机制优化时空特征集成。实验结果表明,与长短期记忆(LSTM)等基准模型相比,该模型预测出水化学需氧量(COD)的均方根误差(RMSE)降低了7.67% ~ 45.17%,决定系数(R2)提高了0.96% ~ 14.76%,具有较好的预测效果。时间差分分析揭示了一天内的水质波动,而多尺度预测达到R2 >; 0.92,验证了模型捕捉动态变化和执行非线性映射的能力。本研究进一步应用SHapley加性解释(SHAP)和局部可解释模型不可知论解释(LIME)的可解释性:SHAP确定关键驱动因素,而LIME澄清这些变量如何影响具体预测,帮助操作调整。噪声注入测试证实了鲁棒性,确保了传感器漂移下的可靠性。该框架为实时污水处理厂控制(例如,动态碳源加药)提供了全面、可解释和有弹性的解决方案,并推进了智能水管理。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Real-time effluent water quality prediction model based on BiLSTM and KAN for wastewater treatment plants
Predicting effluent water quality in wastewater treatment plants (WWTPs) is essential for operation optimization, resource efficiency, and regulatory compliance. However, traditional methods struggle with complex temporal dynamics and nonlinear interactions, and current research lacks unified approaches for feature interaction, noise robustness, and multiscale modeling. In this study, we introduce a hybrid model combining bidirectional long short-term memory (BiLSTM) and Kolmogorov-Arnold networks (KAN), alongside a feature-selection mechanism that fuses Spearman, Kendall, and maximal information coefficient (MIC) metrics to identify key water-quality drivers. The feature-selection strategy integrates three methods to capture both monotonic and non-monotonic associations, reducing noise by focusing on impactful predictors. The model synergistically combines BiLSTM's bidirectional temporal feature extraction (capturing past-future context of time-series data) with KAN's strong nonlinear approximation power (modeling complex interactions via spline-based univariate function combinations, based on the Kolmogorov-Arnold theorem), optimizing spatiotemporal feature integration through a dynamic weighted gating mechanism. Experimental results show that, compared with benchmark models such as long short-term memory (LSTM), the model reduces the root mean square error (RMSE) in predicting effluent chemical oxygen demand (COD) by 7.67 % to 45.17 % and improves the coefficient of determination (R2) by 0.96 % to 14.76 %, demonstrating superior forecasting performance. Temporal differential analysis uncovers water quality fluctuations within a day, while multiscale forecasting achieves R2 > 0.92, validating the model's ability to capture dynamic changes and perform nonlinear mapping. This study further applies SHapley Additive Explanation (SHAP) and Local Interpretable Model-agnostic Explanations (LIME) for interpretability: SHAP identifies key drivers while LIME clarifies how these variables influence specific predictions, aiding operational adjustments. Noise-injection tests confirm robustness, ensuring reliability under sensor drift. This framework offers a comprehensive, interpretable, and resilient solution for real-time WWTP control (e.g., dynamic carbon source dosing) and advances smart water management.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
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学术文献互助群
群 号:604180095
Book学术官方微信