{"title":"FiTiformer: A fluctuation–trend modulation model for multi-step forecasting of wastewater influent parameters","authors":"Yiqi Liu , Shuyang Ren , Gang Fang","doi":"10.1016/j.jwpe.2026.109600","DOIUrl":null,"url":null,"abstract":"<div><div>Accurate multi-step forecasting of key influent parameters is of great importance for the stable operation, energy optimization and early warning of wastewater treatment plants (WWTPs). However, existing Transformer-based approaches often fail to capture the strong non-stationarity and complex local fluctuations of wastewater data. To address these challenges, we propose a novel forecasting model, termed the Fluctuation-injected Trend inverted Transformer (FiTiformer), which enhances predictions by jointly modeling trend and fluctuation components. In this model, we design a Gated Fluctuation-to-Trend Modulation (GFTM) module that adaptively injects high-frequency fluctuation signals into the trend representation, thereby enhancing robustness under non-stationary conditions. This module is complemented by an inverted Transformer network that captures inter-variable dependencies to extract informative fluctuation features, while a Patch-wise Structural Loss ensures that local patterns are preserved in predictions, rather than focusing solely on global errors. Extensive experiments on the BSM2 benchmark and a full-scale WWTP dataset validate the effectiveness of FiTiformer. On the BSM2 dataset, the model achieves an average R<span><math><msup><mrow></mrow><mrow><mn>2</mn></mrow></msup></math></span> above 0.88 while reducing RMSE by more than 7.4%. On the full-scale WWTP dataset, FiTiformer attains an average R<span><math><msup><mrow></mrow><mrow><mn>2</mn></mrow></msup></math></span> above 0.70 with an RMSE reduction exceeding 8.0%. These results demonstrate that FiTiformer enhances both global trend modeling and local fluctuation preservation, offering reliable and interpretable multi-step forecasting for practical WWTP operations.</div></div>","PeriodicalId":17528,"journal":{"name":"Journal of water process engineering","volume":"83 ","pages":"Article 109600"},"PeriodicalIF":6.6000,"publicationDate":"2026-03-01","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/S2214714426001583","RegionNum":2,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/1/29 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"ENGINEERING, CHEMICAL","Score":null,"Total":0}
引用次数: 0
Abstract
Accurate multi-step forecasting of key influent parameters is of great importance for the stable operation, energy optimization and early warning of wastewater treatment plants (WWTPs). However, existing Transformer-based approaches often fail to capture the strong non-stationarity and complex local fluctuations of wastewater data. To address these challenges, we propose a novel forecasting model, termed the Fluctuation-injected Trend inverted Transformer (FiTiformer), which enhances predictions by jointly modeling trend and fluctuation components. In this model, we design a Gated Fluctuation-to-Trend Modulation (GFTM) module that adaptively injects high-frequency fluctuation signals into the trend representation, thereby enhancing robustness under non-stationary conditions. This module is complemented by an inverted Transformer network that captures inter-variable dependencies to extract informative fluctuation features, while a Patch-wise Structural Loss ensures that local patterns are preserved in predictions, rather than focusing solely on global errors. Extensive experiments on the BSM2 benchmark and a full-scale WWTP dataset validate the effectiveness of FiTiformer. On the BSM2 dataset, the model achieves an average R above 0.88 while reducing RMSE by more than 7.4%. On the full-scale WWTP dataset, FiTiformer attains an average R above 0.70 with an RMSE reduction exceeding 8.0%. These results demonstrate that FiTiformer enhances both global trend modeling and local fluctuation preservation, offering reliable and interpretable multi-step forecasting for practical WWTP operations.
期刊介绍:
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