{"title":"一种基于注意力的并行模型滑动窗分解水质预测算法","authors":"Yahong Yang , Pengtang Zhang , Yali Wang","doi":"10.1016/j.jwpe.2025.108751","DOIUrl":null,"url":null,"abstract":"<div><div>Accurate forecasting of effluent water quality is essential for enhancing the safety and economic efficiency of wastewater treatment plants (WWTPs) due to the volatility and time-varying nature of effluent water quality. Representative neural networks, such as Long Short-Term Memory (LSTM), have been extensively employed in time-series prediction. However, as the volume of water quality data increases, these models become unstable, making accurate prediction challenging. This study proposes a hybrid prediction method, DVIBM, based on optimized decomposition for forecasting effluent water quality. DVIBM integrates the Dung Beetle Optimization (DBO) algorithm, Variational Mode Decomposition (VMD), Informer, Bidirectional Long Short-Term Memory (BiLSTM) network, and the multi-scale attention mechanism (MUSE). The DBO algorithm is employed to optimize the hyperparameters <span><math><mi>α</mi></math></span> and <span><math><mi>k</mi></math></span> in VMD, within a sliding window framework, to determine the decomposition bandwidth and the number of modes. The original water quality time-series is decomposed into multiple sub-series, with future data excluded during the process to effectively extract features while preventing data leakage. DVIBM couples Informer and BiLSTM via the MUSE attention mechanism, adaptively fusing multi-scale long- and short-term features, thereby reducing error accumulation and propagation in cascaded or single-architecture. Across varying sliding-window parameter combinations and time steps, as well as in ablation comparisons, DVIBM achieves MAE/MSE/R<sup>2</sup> of 0.104/0.017/0.975 for effluent TN and 0.071/0.008/0.969 for TP, significantly outperforming the benchmark models. Global and local interpretability analyses of effluent TN and TP are conducted using the SHAP (Shapley Additive Explanations) algorithm, providing theoretical support for the interpretability of wastewater treatment systems.</div></div>","PeriodicalId":17528,"journal":{"name":"Journal of water process engineering","volume":"78 ","pages":"Article 108751"},"PeriodicalIF":6.7000,"publicationDate":"2025-09-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"An attention-based parallel model with sliding window decomposition algorithm for water quality prediction\",\"authors\":\"Yahong Yang , Pengtang Zhang , Yali Wang\",\"doi\":\"10.1016/j.jwpe.2025.108751\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>Accurate forecasting of effluent water quality is essential for enhancing the safety and economic efficiency of wastewater treatment plants (WWTPs) due to the volatility and time-varying nature of effluent water quality. Representative neural networks, such as Long Short-Term Memory (LSTM), have been extensively employed in time-series prediction. However, as the volume of water quality data increases, these models become unstable, making accurate prediction challenging. This study proposes a hybrid prediction method, DVIBM, based on optimized decomposition for forecasting effluent water quality. DVIBM integrates the Dung Beetle Optimization (DBO) algorithm, Variational Mode Decomposition (VMD), Informer, Bidirectional Long Short-Term Memory (BiLSTM) network, and the multi-scale attention mechanism (MUSE). The DBO algorithm is employed to optimize the hyperparameters <span><math><mi>α</mi></math></span> and <span><math><mi>k</mi></math></span> in VMD, within a sliding window framework, to determine the decomposition bandwidth and the number of modes. The original water quality time-series is decomposed into multiple sub-series, with future data excluded during the process to effectively extract features while preventing data leakage. DVIBM couples Informer and BiLSTM via the MUSE attention mechanism, adaptively fusing multi-scale long- and short-term features, thereby reducing error accumulation and propagation in cascaded or single-architecture. Across varying sliding-window parameter combinations and time steps, as well as in ablation comparisons, DVIBM achieves MAE/MSE/R<sup>2</sup> of 0.104/0.017/0.975 for effluent TN and 0.071/0.008/0.969 for TP, significantly outperforming the benchmark models. Global and local interpretability analyses of effluent TN and TP are conducted using the SHAP (Shapley Additive Explanations) algorithm, providing theoretical support for the interpretability of wastewater treatment systems.</div></div>\",\"PeriodicalId\":17528,\"journal\":{\"name\":\"Journal of water process engineering\",\"volume\":\"78 \",\"pages\":\"Article 108751\"},\"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/S2214714425018240\",\"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/S2214714425018240","RegionNum":2,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"ENGINEERING, CHEMICAL","Score":null,"Total":0}
An attention-based parallel model with sliding window decomposition algorithm for water quality prediction
Accurate forecasting of effluent water quality is essential for enhancing the safety and economic efficiency of wastewater treatment plants (WWTPs) due to the volatility and time-varying nature of effluent water quality. Representative neural networks, such as Long Short-Term Memory (LSTM), have been extensively employed in time-series prediction. However, as the volume of water quality data increases, these models become unstable, making accurate prediction challenging. This study proposes a hybrid prediction method, DVIBM, based on optimized decomposition for forecasting effluent water quality. DVIBM integrates the Dung Beetle Optimization (DBO) algorithm, Variational Mode Decomposition (VMD), Informer, Bidirectional Long Short-Term Memory (BiLSTM) network, and the multi-scale attention mechanism (MUSE). The DBO algorithm is employed to optimize the hyperparameters and in VMD, within a sliding window framework, to determine the decomposition bandwidth and the number of modes. The original water quality time-series is decomposed into multiple sub-series, with future data excluded during the process to effectively extract features while preventing data leakage. DVIBM couples Informer and BiLSTM via the MUSE attention mechanism, adaptively fusing multi-scale long- and short-term features, thereby reducing error accumulation and propagation in cascaded or single-architecture. Across varying sliding-window parameter combinations and time steps, as well as in ablation comparisons, DVIBM achieves MAE/MSE/R2 of 0.104/0.017/0.975 for effluent TN and 0.071/0.008/0.969 for TP, significantly outperforming the benchmark models. Global and local interpretability analyses of effluent TN and TP are conducted using the SHAP (Shapley Additive Explanations) algorithm, providing theoretical support for the interpretability of wastewater treatment systems.
期刊介绍:
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