Exformer: A Transformer-Based Forecasting Framework with Temporal Knowledge Assistance for Multistep Multivariate Influent Prediction in Wastewater Treatment Plants
{"title":"Exformer: A Transformer-Based Forecasting Framework with Temporal Knowledge Assistance for Multistep Multivariate Influent Prediction in Wastewater Treatment Plants","authors":"Ziqing Ye, Qilin Wang, Yiqi Liu","doi":"10.1021/acsestwater.6c00503","DOIUrl":null,"url":null,"abstract":"<p>Accurate\r\nforecasting of influent flow rates and water\r\nquality is\r\nof great importance to facilitate wastewater treatment plants (WWTPs)\r\ntowards early fault warning and optimal operations. However, due to\r\nthe seasonality, complex multivariate nexus and inherent disturbances,\r\nthe predictive performance of WWTP influent is often unsatisfactory,\r\nparticularly for multistep forecasting. This limitation usually frustrates\r\nthe practical utility of such models for operational guidance and\r\ndecision-making. To address these challenges, this study proposes\r\na Transformer-based forecasting framework called Exformer. The framework\r\nemploys a Channel-Independent (CI) representation strategy to preserve\r\nvariable-specific temporal characteristics and reduce cross-variable\r\ninterference. In addition, a Temporal Knowledge Guided Attention (TKGA)\r\nmechanism incorporates temporal prior knowledge into the attention\r\nprocess to enhance long-range dependency modeling. The proposed framework\r\nis evaluated on both the Benchmark Simulation Model No.2 (BSM2) dataset\r\nand a real-world WWTP dataset collected from Dongguan, China, under\r\nforecasting horizons of 6, 12, 24, and 48 steps. The experimental\r\nresults show that Exformer delivers competitive performance across\r\ndifferent forecasting horizons, with increasingly pronounced advantages\r\nat longer horizons, particularly at 24 and 48 steps. Additional robustness,\r\ninterpretability, reliability and ablation analyses further demonstrate\r\nthe effectiveness of Exformer for practical wastewater influent forecasting\r\napplications.</p>","PeriodicalId":93847,"journal":{"name":"ACS ES&T water","volume":"6 10","pages":"6374–6390"},"PeriodicalIF":4.5000,"publicationDate":"2026-10-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"ACS ES&T water","FirstCategoryId":"1085","ListUrlMain":"https://pubs.acs.org/doi/10.1021/acsestwater.6c00503","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/9/30 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"ENVIRONMENTAL SCIENCES","Score":null,"Total":0}
引用次数: 0
Abstract
Accurate
forecasting of influent flow rates and water
quality is
of great importance to facilitate wastewater treatment plants (WWTPs)
towards early fault warning and optimal operations. However, due to
the seasonality, complex multivariate nexus and inherent disturbances,
the predictive performance of WWTP influent is often unsatisfactory,
particularly for multistep forecasting. This limitation usually frustrates
the practical utility of such models for operational guidance and
decision-making. To address these challenges, this study proposes
a Transformer-based forecasting framework called Exformer. The framework
employs a Channel-Independent (CI) representation strategy to preserve
variable-specific temporal characteristics and reduce cross-variable
interference. In addition, a Temporal Knowledge Guided Attention (TKGA)
mechanism incorporates temporal prior knowledge into the attention
process to enhance long-range dependency modeling. The proposed framework
is evaluated on both the Benchmark Simulation Model No.2 (BSM2) dataset
and a real-world WWTP dataset collected from Dongguan, China, under
forecasting horizons of 6, 12, 24, and 48 steps. The experimental
results show that Exformer delivers competitive performance across
different forecasting horizons, with increasingly pronounced advantages
at longer horizons, particularly at 24 and 48 steps. Additional robustness,
interpretability, reliability and ablation analyses further demonstrate
the effectiveness of Exformer for practical wastewater influent forecasting
applications.