Abstract
Accurate prediction of effluent water quality is essential for the intelligent and sustainable operation of wastewater treatment plants (WWTPs). However, this task remains challenging due to the strong nonlinearity, long-term temporal dependencies, and severe fluctuations inherent in influent characteristics. In this study, a novel data-driven framework termed the Multi-Scale Temporal Representation-Enhanced Informer (MTRE-Informer), is proposed to predict key effluent quality indicators, including total nitrogen (TN), total phosphorus (TP), and chemical oxygen demand (COD). To ensure data quality and computational efficiency, a generative recurrent learning framework is first employed for anomaly detection and correction, followed by variance inflation factor (VIF)-based feature selection to mitigate multicollinearity. Furthermore, feature contribution analysis is conducted to improve model interpretability. Subsequently, the core MTRE-Informer architecture utilizes hierarchical multi-scale temporal representation learning to simultaneously capture local patterns and long-term dependencies within the complex dynamics of the wastewater treatment process. Experimental results demonstrate that the MTRE-Informer achieves robust and stable predictive performance across diverse operational datasets. For TN prediction, the proposed framework attains a coefficient of determination () of 0.9637 and a mean absolute percentage error (MAPE) of 3.39%. Compared with baseline approaches, the improvement ranges from 3.8% to 14.2%, validating its superior capability. To further enhance model robustness, an anomaly detection and correction strategy based on a generative recurrent learning framework is employed. In addition, feature contribution analysis and VIF-based feature selection are conducted to improve interpretability, mitigate multicollinearity, and enhance computational efficiency. Overall, this framework provides a reliable and practical solution for real-time effluent quality prediction, facilitating the intelligent management of WWTPs.
1. Introduction
Wastewater treatment plants (WWTPs) play a pivotal role in mitigating the adverse environmental impacts of wastewater discharge, thereby supporting sustainable societal and economic development [1]. Operationally, WWTPs are inherently complex and highly nonlinear systems, characterized by significant fluctuations in influent flow, pollutant concentrations, and internal biochemical and hydraulic dynamics [2]. Beyond these operational complexities, conventional WWTPs face pressing sustainability challenges, such as high energy consumption, intensive chemical inputs, and substantial greenhouse gas emissions [3]. These issues, often exacerbated by aging infrastructure and storm-induced infiltration, underscore the urgent need for resilient and intelligent management strategies.
To ensure operational stability and regulatory compliance, the accurate prediction of key effluent quality indicators—particularly total nitrogen (TN), total phosphorus (TP) and chemical oxygen demand (COD)—is essential for assessing treatment efficiency [4]. Elevated effluent COD severely depletes dissolved oxygen in receiving waters, while excessive TN and TP discharges drive eutrophication and pose potential public health risks. However, forecasting these indicators remains a formidable challenge due to the intricate interplay of short-term local disturbances and long-term temporal dependencies within the treatment process. Traditional manual control and mechanistic models often struggle with the sluggish responsiveness required for dynamic conditions. Consequently, there is an urgent need for advanced data-driven approaches capable of capturing hierarchical multi-scale temporal representations. This necessity motivates the development of the proposed MTRE-Informer, designed to effectively extract multi-scale features and handle long-term dependencies for intelligent WWTP management [5].
Traditional wastewater treatment relies on a combination of physicochemical and biological processes, such as flocculation, aeration, and biological oxidation [6], but it faces challenges such as complex and variable influent water quality and the prevalent sluggishness and inadequate responsiveness of manual control systems. Mechanistic modeling of activated sludge systems, utilizing differential equations, was introduced in 1962. Over subsequent decades, Activated Sludge Models (ASMs) evolved into the predominant paradigm for simulating wastewater treatment [7]. As an alternative, machine learning (ML) has emerged as a robust tool for predicting effluent water quality [8]. ML algorithms can effectively extract nonlinear relationships from complex datasets, significantly improving predictive performance over traditional mechanistic models [9]. In wastewater treatment, machine learning algorithms such as support vector regression (SVR), artificial neural networks (ANNs), extreme gradient boosting (XGBoost), and random forests have been widely applied. For instance, an RF-based model achieved a K-fold cross-validation of 0.8966 in predicting nitrous oxide (N2O) emissions using 12 months of monitoring data from a WWTP. In water quality index (WQI) classification tasks, boosting algorithms like CATBoost reached an accuracy of 94.51% based on a nine-year dataset comprising 1679 samples. Furthermore, hybrid architectures such as the TCN-LSTM model have been developed to simulate hourly effluent total nitrogen (TN) concentrations, achieving a 33.1% accuracy improvement over standalone models for multi-step forecasting within an eight-hour horizon. These studies highlight that while traditional machine learning can achieve an or accuracy near 0.90 in specific contexts, their performance often fluctuates depending on the target variables and the dynamic characteristics of the datasets [10,11,12,13].
Following recent innovations in machine learning, deep learning algorithms have found increasing application in wastewater treatment. Specifically, deep learning-based models for predicting water quality parameters utilize both supervised [14] and unsupervised learning approaches [15]. Unsupervised methods, exemplified by Partitioning Around MeDOIds (PAM) and Expectation–Maximization (EM) clustering, have been successfully applied to analyze wastewater discharges and surface water quality in the Yangtze River Basin. These approaches are instrumental in identifying pollution patterns and spatiotemporal correlations [16]. Conversely, supervised deep learning architectures predominantly feature in predictive tasks. These models can be broadly categorized into CNN-based, RNN-based, and Transformer-based approaches. For time-series regression, architectures such as Convolutional Neural Networks (CNNs) [17] and Temporal Convolutional Networks (TCNs) [18] are extensively utilized for regression on time-series datasets. For instance, researchers proposed a TCN for COD prediction in irrigation channels, outperforming RNNs with lower MSE, MAE, and higher [19]. However, CNN-based models often struggle with limited receptive fields, which can lead to information loss and hinder the effective capture of long-term temporal dependencies. In contrast, RNN-based models, such as recurrent neural networks (RNNs) [20], Long Short-Term Memory (LSTM) [21], and Bidirectional LSTMs (BiLSTM) [22,23,24], are more amenable to accommodating time-series wastewater data without strong reliance on contemporaneous inputs. Yet, standard RNNs suffer from long-term dependency issues and vanishing gradients [25]. To address this, Long Short-Term Memory (LSTM) networks employ gating mechanisms to alleviate vanishing gradients and capture temporal dependencies [10]. Nevertheless, LSTMs still face challenges such as gradient explosion and high computational costs when processing extended sequences for extreme long-term forecasting.
To address the intricate nonlinear dynamics and medium- to long-term forecasting challenges in wastewater processes, Transformer-based models have gained prominence [26]. These frameworks extract global temporal features from input sequences via encoders, integrate multivariate information, and generate future predictions through decoders. While the standard Transformer excels in long-sequence processing via multihead self-attention, its high computational complexity and memory usage often constrain its utility in time-series forecasting [27]. To mitigate these limitations, the Informer model, a variant of Transformer, incorporates sparse attention mechanisms, leading to a substantial reduction in computational overhead within attention layers [28]. Furthermore, the Informer model, incorporating data preprocessing, embedding, training, and evaluation workflows, has effectively quantified nonlinear relationships between air quality parameters and meteorological factors [29]. Informer excels in extracting pivotal insights from large time-series datasets, adeptly capturing long-term trends while maintaining reduced computational overhead. Nevertheless, it exhibits limitations in capturing subtle short-term fluctuations and may inadvertently overlook incomplete information or short-range dependencies [30].
Single-algorithm predictive models may capture only partial information from the target system. Conversely, integrating multiple deep learning architectures into hybrid frameworks can leverage more comprehensive data insights, consequently enhancing predictive precision. For instance, combining LSTM’s temporal feature extraction with CNN’s spatial capabilities has yielded superior classification of human activity images, outperforming traditional methods in parameter efficiency and accuracy [31]. Similarly, in water quality variable prediction, CNN-LSTM hybrids have demonstrated superior accuracy and stability compared to standalone models [32]. Empirical validation of TCN-LSTM hybrids has shown a 33.1% improvement in effluent TN prediction over individual components [11]. To address Informer’s limitations, serial ensemble strategies, such as the LSTM–Informer hybrid, have demonstrated superior performance in long-term power load forecasting, achieving reductions of 0.58 and 0.38 in MSE and MAE, respectively, compared to standalone LSTM [33]. Despite these advancements, such combined architectures are still confronted with challenges, including the aforementioned potential gradient explosion in LSTMs for extended sequences and Informer’s propensity to neglect short-term dependencies. To address these persistent limitations, this study proposes a unified framework: the Multi-Scale Temporal Representation-Enhanced Informer (MTRE-Informer). This approach synergizes the three paradigms by leveraging TCN for precise local feature extraction, LSTM (RNN-based) to bridge short-term temporal sequences, and Informer (Transformer-based) to resolve global long-range dependencies, thereby providing a comprehensive and robust solution for WWTP prediction.
Specifically, the proposed MTRE-Informer establishes a hierarchical multi-scale temporal representation to balance multi-scale local fluctuations with long-term global dependencies. The overall methodology encompasses the following critical components: First, to ensure data reliability, the dataset is preprocessed using a generative adversarial network (GAN)-based anomaly detection and recurrent neural network (RNN)-based repair mechanism, followed by a meticulous variance inflation factor (VIF) feature selection to mitigate multicollinearity. Second, within the predictive architecture, a TCN module is employed to extract multi-scale local temporal features and expand the receptive field from multivariate inputs. Subsequently, an LSTM layer captures sequential dynamics, effectively bridging the structural transition from local to global timescales. Finally, an Informer module is integrated to resolve global dependencies. By capitalizing on the ProbSparse attention mechanism, this module substantially enhances forecasting efficacy for long-span targets while minimizing computational overhead. Experimental results demonstrate that this synergistic integration provides a robust, reliable, and highly interpretable solution for complex, nonlinear WWTP effluent prediction.
The primary contributions of this work are summarized as follows:
- First, we propose the MTRE-Informer, a novel hierarchical deep learning architecture that synergistically integrates TCN, LSTM, and Informer paradigms. Unlike incremental combinations, this framework is specifically designed to balance multi-scale local fluctuations with long-term global dependencies in complex wastewater systems.
- Second, a comprehensive data preprocessing and feature optimization pipeline is established. By integrating a GAN-RNN mechanism for anomaly correction with VIF-based feature selection, this approach not only guarantees high-quality inputs but also effectively mitigates multicollinearity, thereby significantly enhancing both model interpretability and computational efficiency.
- Third, we provide a comprehensive validation of the proposed model using real-world WWTP data. The results demonstrate that the MTRE-Informer significantly outperforms various baseline models, offering a reliable and interpretable solution for intelligent wastewater treatment management.
2. Materials and Methods
2.1. Dataset Acquisition and Details
Data for developing the deep learning models were collected from the Supervisory Control and Data Acquisition (SCADA) system at a full-scale wastewater treatment plant in Beijing, China, with measurements recorded at 2 h intervals. All monitoring instruments were operated and maintained by the plant’s technical department in accordance with the Chinese National Environmental Monitoring Standards. The dataset comprises 23 key parameters, encompassing influent and effluent water quality metrics—such as total nitrogen (TN), total phosphorus (TP), chemical oxygen demand (COD), and ammonia nitrogen (NH3-N)—alongside operational variables, including dissolved oxygen (DO) in both anoxic and aerobic zones, mixed liquor suspended solids (MLSSs), and flow rates. The dataset includes 5539 data points collected from January 2023 to April 2024. This 16-month temporal coverage encompasses diverse environmental conditions and operational variability, ensuring the strong representativeness of the dataset. Specifically, it captures significant seasonal temperature shifts characteristic of the region, varying influent flow dynamics between dry and wet seasons, and typical fluctuations in influent pollutant concentrations, including occasional shock loads. Such high operational variability provides a robust foundation for training and evaluating the model’s reliability under complex, real-world scenarios. The descriptive statistics of these parameters are presented in Table 1. The effluent data for COD, TP, and TN were set as prediction targets, while other indicators, after a thorough data cleaning and screening process, were used as input features.
Table 1.
Statistics of wastewater treatment plant-related data.
While standard random splitting or k-fold cross-validation is common in traditional machine learning [34,35], preserving chronological order is paramount for time-series forecasting to prevent future data leakage. Therefore, a sequential data splitting strategy was adopted in this study. Specifically, the dataset was divided into three parts: the first 80% was used as the training set, the subsequent 10% served as the validation set for hyperparameter turning, and the final 10% was reserved as the testing set to evaluate the model’s performance.
2.2. GAN-RNN Framework for Anomaly Detection and Correction
The dataset for this study comprises 5539 data points. To ensure the continuity required for establishing time-series relationships, median interpolation was used to confirm there were no missing values. Given the significant variations in the volume of online data for different influent, effluent, and treatment process parameters, the collected online dataset was then normalized [36]:
where is the normalized data; is the measured data; is the mean value of the measured data; and is the standard deviation of the measured data.
Generative adversarial network (GAN) is a deep learning model with two competing neural networks: a generator and a discriminator. The generator creates synthetic data that looks real, while the discriminator tries to tell the difference between this synthetic data and authentic data. They are trained in a continuous adversarial process, with the generator aiming to produce better fakes to deceive the discriminator, and the discriminator improving its ability to distinguish between real and fake data [37]. The model is trained through a min-max game, optimizing the following formula:
Using reconstruction error across all features, the GAN model identifies anomalous sequences. A sequence-level threshold is set at the 95th percentile of the mean squared error (MSE). After 50 training epochs, both the generator and discriminator losses stabilize. The RNN model is then trained on non-anomalous sequences to reconstruct and repair the detected anomalies. The model shows a good fit and high reconstruction quality, with the loss decreasing from 0.2687 to 0.0036. This GAN+RNN strategy effectively repairs anomalies, preserves the integrity of the target variables, and demonstrates strong versatility and scalability.
Table 2 presents the anomaly detection results for 10 features generated by the GAN analysis. The MLSS2 feature shows the highest number of anomalies and MLSS1. These results suggest that discrepancies in MLSS measurements may be caused by sensor noise or process fluctuations within the wastewater treatment system. Figure 1 shows the repair of MLSS2, the feature with the most anomalies. The re-paired values effectively smooth out the anomalous data points, making them more consistent with expected process behavior and reducing noise. This provides more reliable feature correlations for subsequent tasks.
Table 2.
Detected anomalous features.
Figure 1.
Comparison of MLSS2 distribution before and after outlier correction.
2.3. Feature Selection
In regression analysis, multicollinearity is a phenomenon where independent variables are highly correlated, which can lead to unstable parameter estimates and affect a model’s interpretability and predictive accuracy [38]. To address this issue, the variance inflation factor (VIF) is employed as a quantitative metric to evaluate multicollinearity and identify an optimal subset of predictors with minimal redundancy. In the VIF process, each predictor is regressed against all other predictors using a linear model via ordinary least squares regression. After determining the coefficient of determination () from the fitted linear model, the VIF is calculated using the following formula [39]:
where is the for predictor .
Statistically, a VIF value exceeding 10 corresponds to a multiple correlation coefficient () greater than 0.9 among the predictors. This indicates severe multicollinearity, where over 90% of a feature’s variance can be linearly predicted by the others. Such redundancy can artificially inflate the variance of model weights, degrade interpretability, and lead to unstable optimization during neural network training. Therefore, consistent with established statistical practices, a strict threshold of VIF > 10 was applied in this study to eliminate highly redundant features and ensure the robustness of the MTRE-Informer model. Figure 2 displays the features used in the model after feature selection.
Figure 2.
Feature selected after VIF filtering.
While alternative feature selection methods like principal component analysis and Lasso regression are common, they present limitations for this study. Principal component analysis reduces data complexity by transforming original variables into a new mathematical space. However, this transformation loses the clear physical meaning of the raw features, which would restrict the subsequent interpretability analysis using the SHAP method. Similarly, LASSO regression tends to arbitrarily retain a single variable from a group of highly correlated features while shrinking the coefficients of others to zero. This approach might inadvertently discard critical localized sensor data, such as dissolved oxygen levels at specific aeration zones. In contrast, VIF directly measures feature correlations while fully preserving the physical identity of the original wastewater parameters. This retention of engineering meaning is critical for our framework, as it lays a solid foundation for subsequent interpretability analysis and the elucidation of underlying biochemical mechanisms.
2.4. Model Details
2.4.1. TCN Model
A Temporal Convolutional Network (TCN) is a neural network architecture used for processing time-series data [40]. It is primarily constructed by stacking multiple residual units. Each residual module contains two convolutional units and one nonlinear mapping unit. Each convolutional unit consists of a one-dimensional dilated causal convolution, weight normalization, a ReLU activation function, and a Dropout operation. The dilated causal convolution produces the network’s output by performing a causal convolutional operation on the input. The dilated causal convolution is as follows:
where is the output at time , is the input at time , is the weight of the convolution kernel, and is the size of the convolution kernel.
Dilated convolution effectively expands the receptive field by introducing gaps between the kernel elements, while keeping the number of parameters and computational complexity constant, allowing it to cover a longer history of information. It is defined by the following formula:
where is the dilation rate; when , it corresponds to a standard convolution.
Weight normalization improves training stability, while the ReLU function and Dropout mechanisms enable the network to capture complex patterns and prevent overfitting, respectively. In cases of mismatched dimensions, a convolutional mapping is automatically used to ensure proper feature fusion and maintain dimensional consistency. This structure gives TCN both strong expressive power and good generalization performance for time-series data.
2.4.2. LSTM Model
The LSTM network is a special type of RNN architecture. One of the main advantages of LSTM over traditional RNNs is its ability to effectively handle large amounts of information over a longer period of time. As illustrated in Figure 3, the LSTM network is composed of multiple memory cells, with each cell equipped with three key gates—the input gate, the forget gate, and the output gate—which control the flow of information into and out of the cell [41]. These gates allow the LSTM to retain and selectively update information over time. When the model’s input is , LSTM uses the following equations to calculate the neural network’s output . The specific equations are as follows.
Figure 3.
The architecture of the LSTM model.
The input gate is as follows:
where , , , and are the weight matrices and bias vectors related to the input gate, respectively.
The forget gate is as follows:
where and are the weight matrix and bias vector of the forget gate.
The cell state is updated:
The output gate is as follows:
where and are the weight matrix and bias vector of the output gate.
2.4.3. Informer Model
The Informer model is an efficient variant of the Transformer architecture specifically designed for long-sequence time-series forecasting. While preserving the Transformer encoder–decoder structure, Informer introduces two key improvements: ProbSparse self-attention and self-attention distilling, which together significantly reduce computational complexity and memory consumption [42]. Unlike the conventional self-attention mechanism, which computes attention weights for all Query–Key pairs with a quadratic complexity . Informer exploits the intrinsic long-tail distribution of attention scores in time-series data. Empirical observations indicate that only a small fraction of queries contribute dominantly to the attention output, while the majority are relatively redundant. Based on this property, Informer proposes the ProbSparse self-attention mechanism, which selectively preserves the most informative queries. For comparison, the standard scaled dot-product attention is defined as follows:
where , , and represent the Query, Key, and Value matrices, respectively, and is the dimensionality of the attention head. For a given query vector , the attention distribution over keys can be expressed as follows:
To quantify the sparsity of the attention distribution, Informer measures the divergence between . Another related uniform distribution is represented by . After removing constants, the sparsity metric for each query is expressed as follows:
Only the top-U queries with the largest sparsity scores are selected to compute full attention, where . Consequently, the overall computational complexity is reduced from to .
In addition, Informer introduces a self-attention distilling mechanism to further compress the temporal dimension. Specifically, a one-dimensional convolution layer followed by an ELU activation and a max-pooling operation is applied between successive attention blocks:
This distilling operation progressively shortens the sequence length, enhances robustness, and significantly reduces memory usage. In this study, the Informer encoder consists of three ProbSparse multihead self-attention blocks with distilling layers embedded between them, as illustrated in Figure 4.
Figure 4.
Structure of the Informer encoder.
The decoder in the Informer model employs a generative approach for prediction, capable of directly outputting multi-step forecast results. This method completes long-sequence predictions in a single forward pass, thereby improving efficiency and avoiding the cumulative error issues commonly seen in the Transformer’s long-term time-series predictions [43].
2.5. Hybrid Deep Learning Models
The structure of the hybrid deep learning model is shown in Figure 5. In the MTRE-Informer model, the bottom TCN module c establishes a hierarchical multi-scale temporal representation through causal and dilated convolutions, capturing essential local dynamic information. These intermediate features are then fed into the LSTM layer, where gating mechanisms further capture short-term temporal correlations and mitigate the vanishing gradient problem. Finally, the LSTM output features are passed to the top-level Informer model. The Informer, through its encoder–decoder structure and attention mechanism, integrates the features from the previous two layers to solve the long-term dependency problem and achieve accurate prediction by combining global temporal patterns. The algorithm was developed in Spyder 6.0.3 using Python 3.12 and utilized packages from PyTorch 2.5.1, Seaborn 0.13.2, NumPy 2.4.4, Matplotlib 3.10.0, and Pandas 2.2.3. All models were trained and evaluated on a high-performance computing platform equipped with a 12-core AMD Ryzen 9 7845HX processor, an NVIDIA RTX 4060 GPU with 8 GB of VRAM, and 16 GB of memory.
Figure 5.
Flowchart of the MTRE-Informer.
Following data preprocessing, the models were developed using 19 input parameters. The prediction task in this study is configured as a one-step-ahead forecasting with a 2 h horizon, which directly aligns with the sampling frequency of the online sensors. To ensure the model effectively captures the dynamic characteristics of the wastewater treatment process, the input sequence length was set to 48 time steps, representing 96 h of historical data. This window size encompasses four complete diurnal cycles, exceeding the typical hydraulic retention time of the WWTP. This temporal coverage ensures that the MTRE-Informer adequately captures long-term temporal dependencies, influent fluctuations, and underlying complex operational dynamics prior to predicting the subsequent effluent state.
Following an iterative process of hyperparameter tuning, the final model architectures and training configurations were established as follows: the TCN structure included three hidden layers with 32, 64, and 128 neurons, respectively; the LSTM structure contained two hidden layers, each with 128 neurons; and the Informer module used a model dimension of 512, with 8 attention heads, 3 encoder layers, and 2 decoder layers. For training, the learning rate, dropout rate, and batch size were set to 0.001, 0.3, and 64, respectively. Additionally, a dynamic learning rate scheduler (ReduceLROnPlateau) with a decay factor of 0.5, coupled with an early stopping mechanism, was employed to optimize convergence and prevent overfitting.
2.6. Model Evaluation and Interpretability
2.6.1. Performance Metrics
We used four evaluation metrics to assess model accuracy—mean squared error (MSE), mean absolute error (MAE), coefficient of determination (), and mean absolute percentage error (MAPE)—to assess the accuracy and predictive capability of the water quality prediction model [36]. In all the formulas, n represents the sample size, is the actual value, is the predicted value, and is the mean of the actual values. The calculation equations used are as follows:
Generally, an value approaching 1 and MAPE, MAE, and MSE values approaching 0 indicate a better fit between the predicted and observed data.
To quantify the predictive uncertainty and evaluate the model’s reliability, the Monte Carlo dropout technique was implemented during the testing phase. By maintaining the dropout rate of 0.3 used during training active at test time, we performed 50 stochastic forward passes to generate a predictive distribution. This approach allows for the estimation of 95% prediction intervals without altering the base architecture.
2.6.2. Model Interpretation Using Shapley Additive Explanations (SHAP)
To decode the underlying decision-making process of the developed hybrid deep learning framework, the Shapley additive explanations (SHAP) technique was introduced as a post hoc interpretation strategy [44]. Originating from cooperative game theory, this framework offers a mathematically rigorous way to distribute the overall prediction output among the interacting input features, akin to allocating payouts to players in a coalition [45]. In this context, the calculated Shapley value explicitly quantifies an individual predictor’s impact on the forecasting target. Consequently, variables possessing larger absolute SHAP values are deemed to exert a more substantial influence on the final prediction. A primary strength of the SHAP methodology is its capacity to dynamically illustrate how fluctuations in specific feature values drive corresponding changes in the model’s predictions. From a mathematical perspective, this additive feature attribution method is formulated as follows:
where represents the explanatory model; is the constant base value; defines the total number of input features; denotes the calculated Shapley value for the variable; and acts as a binary flag, taking the value of 1 or 0 to show if a specific feature is included or excluded during the calculation.
3. Results and Discussions
3.1. Prediction Performance of MTRE-Informer
Figure 6 presents the prediction results of MTRE-Informer on the training, validation, and test sets. Among the three effluent quality indicators, namely TN, TP, and COD, the highest predictive accuracy was observed for TN. As shown in Figure 6a, the data points across the three sets are tightly clustered around the 1:1 reference line, indicating a strong correlation. The values for TN prediction on the training, testing, and validation sets were 0.9758, 0.9201, and 0.9087, respectively. This represents an approximately 12% improvement over the TCN-LSTM hybrid model, demonstrating the capacity of the Informer structure to enhance predictive stability. For TP prediction, the Informer hybrid model also showed strong performance, as seen in Figure 6b, with values of 0.8963, 0.9543, and 0.8364 for the training, testing, and validation sets. These results meet the accuracy requirements for practical engineering applications. It is worth noting the distinct grid-like discrete distribution observed in the scatter plots of Figure 6b. This phenomenon is not a modeling artifact, but rather a direct reflection of the physical precision limits and quantization effects of the online sensors. Because the actual concentrations of TP are extremely low, specifically fluctuating between 0.02 and 0.14 mg/L, the limited measurement resolution of the online instruments forces the recorded data into fixed step intervals. Consequently, the observation data inherently clusters into discrete vertical bands. Despite these sensor limitations, the MTRE-Informer model captures the core temporal trends, achieving an of 0.9543 on the testing set. While the predictive accuracy for COD was comparatively lower than that for TN and TP—primarily due to the presence of high-frequency extreme outliers—the hybrid model successfully captured the overall variation trend and agreed well with the observations.
Figure 6.
Correlation scatter plots of MTRE-Informer for (a) TN, (b) TP, and (c) COD on the training, testing, and validation sets. The scatter points represent predictions versus observations; the dashed lines denote the y = x reference lines. Colors distinguish the training (blue), testing (pink), and validation (orange) sets.
The results suggest that the MTRE-Informer model is capable of learning the temporal characteristics of effluent quality data with good stability. For variables such as COD that contain a large number of abnormal observations, the model still provides reliable prediction results. In many traditional time-series methods, the presence of outliers often leads to noticeable performance degradation. By integrating the Informer structure, the proposed model reduces the influence of noise and maintains accuracy under conditions of frequent missing values and outliers [46]. In addition, the comparable prediction errors observed on the training, testing, and validation datasets indicate that the model achieves satisfactory predictive stability.
Uncertainty quantification via Monte Carlo dropout demonstrated that for TN prediction, approximately 94.5% of the true target values fell within the 95% prediction intervals. Furthermore, the average width of these intervals remained narrow during stable operational periods, indicating high model confidence, while appropriately widening during peak fluctuations. These quantitative uncertainty metrics characterize the model’s reliability under complex wastewater treatment plant dynamics.
3.2. Comparison Between Different Models
Figure 7 and Table 3 provide a comparative analysis of the proposed MTRE-Informer model against three baseline models: XGBoost, TCN-LSTM, and Autoformer. The results clearly demonstrate that the hybrid model outperforms all baselines in predicting effluent TN, TP, and COD. As shown in Figure 7, the MTRE-Informer achieved an of 0.9637 for TN prediction, substantially surpassing XGBoost (0.8488), TCN-LSTM (0.8520), and Autoformer (0.8900). The quantitative performance gap reveals that the proposed framework achieved improvements of 9.5%, 9.2%, and 6.1% over XGBoost, TCN-LSTM, and Autoformer, respectively. Moreover, the hybrid model consistently reported the lowest error values in terms of MAPE, MAE, and MSE, underscoring its robustness and stability in modeling complex nonlinear wastewater dynamics.
Figure 7.
Comparison of MTRE-Informer, XGBoost, TCN-LSTM, and Autoformer models for time-series prediction of WWTP; (a) TN; (b) TP; and (c) COD.
Table 3.
Optimal hyperparameter configurations for each model.
This superior performance confirms the efficacy of the proposed hierarchical architecture, demonstrating its ability to simultaneously resolve multi-scale local fluctuations and long-term global dependencies inherent in real-world wastewater dynamics.
To ensure a rigorous and unbiased comparison, the Bayesian hyperparameter optimization framework, Optuna, was systematically applied to all evaluated models. By defining a uniform objective to minimize validation loss across 100 independent optimization trials per model, the optimal predictive capacity of each benchmark was established prior to evaluation. Table 3 summarizes the tuned hyperparameters and their final values, which contributed to the best model performance. For Autoformer model, using a model dimension (d-model = 256) and multiple attention heads (n-heads = 4) together with three encoder and two decoder layers improves the capacity to represent long-range dependencies, while ProbSparse attention and self-attention distilling reduce computational and memory costs, consistent with the Informer design. For the TCN-LSTM backbone, stacking TCN channels ({32, 64, 128}) with a small kernel size and increasing dilation rates enlarges the effective receptive fields to capture multi-scale temporal patterns without excessive parameters; the subsequent two-layer LSTM with 128 hidden units balances expressivity and training stability on noisy engineering time series. The XGBoost baseline uses a robust tree-ensemble configuration that controls overfitting via subsampling and a low learning rate, thereby ensuring it is a competitive non-deep benchmark.
Furthermore, to provide a more straightforward and detailed visualization of the model’s temporal tracking capability, Figure 8 illustrates a 2D true-versus-predicted line plot for effluent TN on the testing set. As the representative target, this plot clearly demonstrates that the MTRE-Informer accurately captures the dynamic fluctuations and chronological peaks of the actual effluent variations, effectively overcoming the visual occlusion present in the 3D multi-model comparison.
Figure 8.
The 2D true-versus-predicted line plot of the MTRE-Informer model for effluent TN on the testing set.
3.3. Comparative Analysis of Individual and Hybrid Models
Table 4 presents the ablation study results by comparing the performance of the proposed MTRE-Informer against its individual constituent networks for effluent TN prediction.
Table 4.
Statistical performance comparison of deep learning methods on the overall dataset.
According to the results for effluent TN shown in Table 4, the TCN model achieved an value of 0.8993, with an MAPE of 3.9669%, an MAE of 0.1807, and an MSE of 0.0627, demonstrating strong baseline performance. The LSTM model’s value dropped slightly to 0.8483, while its MAPE increased to 4.3786%, with MAE and MSE values of 0.2240 and 0.1568, respectively. This degradation likely occurs because complex gating mechanisms struggle with the high noise and strong nonlinearities inherent in raw wastewater data when applied in isolation. The Informer model achieved an of 0.9104, with error metrics (MAPE 4.3755%, MAE 0.2047, MSE 0.1035) that were superior to the LSTM model, thanks to its sparse attention mechanism.
Following the consistent optimization protocol using Optuna for all tested models, the hybrid MTRE-Informer demonstrated superior predictive capability compared to all individual models. The integrated framework achieved the highest of 0.9637, representing an improvement ranging from 5.8% to 13.6% over the individual networks, while concurrently minimizing overall error metrics and reducing the MAPE to 2.4791%.
Our proposed model, with its 2 h prediction horizon, demonstrates enhanced reliability and effectiveness compared to prior model development reports [47]. In summary, the Informer module, through its efficient ProbSparse attention and sequence-compression strategies, not only overcomes the limitations of the TCN-LSTM model but also significantly boosts the performance of the entire hybrid model in handling complex water quality prediction tasks. With its high accuracy and reliability, it serves as a practical solution for effluent quality monitoring.
3.4. Feature Analysis
Predicting effluent quality in complex wastewater treatment processes involves numerous input parameters. Figure 9 presents a radar chart illustrating the performance comparison of the MTRE-Informer model in predicting TN, TP, and COD before and after applying VIF-based feature selection. The results indicate that feature selection improved both computational efficiency and prediction accuracy, evidenced by increased coefficients of determination and reduced error metrics across all tasks. Specifically, the for TN prediction increased from 0.9006 to 0.9442. Additionally, the training duration for the COD prediction task decreased from 1200 to 929 s.
Figure 9.
Performance comparison of the MTRE-Informer model before and after VIF-based feature selection for (a) TN, (b) TP, and (c) COD prediction tasks.
By mitigating multicollinearity, this VIF-based strategy simplifies the model architecture, reduces the risk of overfitting, and focuses computational resources on the most predictive features. Consequently, this method optimizes the predictive performance of the hybrid model and provides reliable technical support for intelligent operational management [47].
3.5. Model Interpretability and Biochemical Process Insights
Statistical feature selection is important, but we must also understand how the MTRE-Informer makes its internal decisions. This helps ensure the model predictions match real biochemical rules. Deep learning models are often difficult to interpret. To solve this problem, we applied the Shapley additive explanations method. This technique measures the overall impact of each feature. It also provides a sensitivity analysis to link the data-driven results directly to physical processes. Figure 10 displays the SHAP summary plots for the three effluent indicators.
Figure 10.
The SHAP values of the model input parameters for effluent TN, TP, and COD predictions.
For TN prediction, the global analysis shows that Influent-TP and Aerobic-DO4 are the most important parameters, yielding mean absolute SHAP values of 0.2975 and 0.2476, respectively. Visual inspection reveals that elevated levels of Aerobic-DO4 consistently generate positive SHAP values, thereby driving the predicted effluent TN higher. This relationship accurately captures real operational mechanisms. In an actual plant, excess dissolved oxygen carried by internal recycling will block the anoxic denitrification process. Furthermore, the strong sensitivity to Influent-TP reflects how incoming nutrients usually change together. This proves the model can effectively capture sudden changes in the overall influent load.
Regarding TP prediction, Influent-COD has the largest global impact with a mean absolute SHAP value of 0.0071. Influent-NH3 closely follows with a value of 0.0067. The visual plot clearly shows that high influent organic loads correspond to negative SHAP values. These negative values help predict lower effluent TP. This data-driven pattern is highly consistent with the fundamental mechanism of enhanced biological phosphorus removal (EBPR)—sufficient carbon sources promote phosphorus release by polyphosphate-accumulating organisms (PAOs) in the anaerobic phase—which is a prerequisite for luxury phosphorus uptake in subsequent aerobic stages. Such alignment confirms that the model captures underlying biochemical behaviors rather than merely overfitting to statistical noise. For the prediction of effluent COD, aeration dynamics play a critical role. Aerobic-DO1 and Aerobic-DO4 emerge as the top features, yielding mean absolute SHAP values of 0.4756 and 0.4068. This high sensitivity to dissolved oxygen at both the beginning and the end of the aeration tank reflects the actual requirement of heterotrophic bacteria for organic carbon oxidation. By tracking these specific features, the MTRE-Informer proves its capability to monitor the overall degradation efficiency across the entire aerobic process, providing actionable insights for real-time aeration control.
3.6. Ablation Study on Data Preprocessing
An ablation study was conducted to evaluate the impact of the proposed GAN-RNN preprocessing step. The evaluation results of four different data preprocessing strategies are summarized in Table 5. These strategies include a baseline using raw data without anomaly correction, a Moving Average (MA) filter for statistical smoothing [48], an Isolation Forest (iForest) with linear interpolation for machine learning-based anomaly detection [49], and the proposed GAN-RNN framework.
Table 5.
Ablation study results of MTRE-Informer under different data preprocessing strategies.
The results in Table 5 show that the model trained on raw data yielded the lowest accuracy because sensor noise and outliers introduced significant interference. The MA method slightly improved the prediction accuracy by reducing sharp spikes. However, it tended to over-smooth normal process fluctuations, resulting in the loss of useful dynamic information. While the iForest algorithm improved outlier detection compared to the MA method, the subsequent linear interpolation failed to capture the complex nonlinear relationships of the missing data points. Consequently, this approach yielded lower predictive accuracy, characterized by an of 0.9418 and an MAPE of 2.8933% for TN prediction.
The MTRE-Informer combined with the GAN-RNN preprocessing pipeline achieved the highest accuracy across all indicators, reaching an of 0.9637 for TN. This confirms that the GAN-RNN strategy effectively removes sensor noise and accurately reconstructs the missing sequences while preserving the essential multi-scale characteristics of the wastewater treatment process. Overall, these comparative results demonstrate the efficacy of the GAN-RNN step in enhancing model performance over conventional preprocessing techniques.
4. Discussion
This study developed a hybrid deep learning model based on MTRE-Informer to predict key effluent quality indicators from a wastewater treatment plant, including TN, TP and COD. By integrating TCN’s local temporal feature extraction, LSTM’s long-term dependency modeling, and Informer’s sparse attention mechanism, the model demonstrated high efficacy in processing complex, nonlinear time-series data. Experimental results showed reliable predictive performance on the training, testing, and validation sets. Notably, the model achieved the highest value of 0.9637 and lowest error metrics, including an MAPE of 2.4791%, an MAE of 0.1562, and an MSE of 0.0467 for TN prediction, with the value showing a relative improvement ranging from 3.8% to 14.2% when compared against various baseline models, such as XGBoost, TCN-LSTM and Autoformer.
These results indicate that a well-designed hybrid architecture can robustly handle large fluctuations in influent and operating conditions. Consequently, this model provides technical support for proactive and intelligent operational management in wastewater treatment plants. The model’s robustness and adaptability to extreme values suggest its potential for deployment across diverse plant scales and process types to simulate and optimize operations under dynamic environments.
The feasibility of real-world deployment is supported by the model’s computational efficiency. The MTRE-Informer demonstrates remarkably low computational overhead when executed on a widely accessible computing platform equipped with an AMD Ryzen 9 processor, an NVIDIA RTX 4060 GPU, and 16 GB of memory. Accelerated by the VIF-based feature selection, the offline training is highly efficient. For example, training the model to predict the COD indicator requires only 929 s across the entire dataset. Furthermore, the online inference phase is rapid, with an average processing time of less than 30 milliseconds to generate a single-step prediction from new sensor inputs. Given that WWTP online sensors typically update at intervals ranging from several minutes to an hour, this millisecond-level inference speed ensures that the model can readily support real-time monitoring and intelligent process control without relying on high-performance computing clusters.
However, the current study relied on a single dataset from one specific WWTP in Beijing. Although this dataset covers a wide operational range from January 2023 to April 2024, the generalizability of the MTRE-Informer across different treatment scales and process types requires further investigation. Future work will involve multi-site validation and the exploration of transfer learning techniques to enhance the model’s adaptability and robustness in diverse operational environments.
Furthermore, future research will focus on integrating this prediction framework with a process control module. This integration enables the adaptive optimization of key operational parameters such as aeration rates, sludge return ratios, and chemical dosing. To illustrate this in practice, the 2 h ahead predictions can act as early-warning signals. For example, if the model predicts that effluent concentrations will soon exceed safety limits, the system can proactively adjust these parameters two hours in advance. This proactive approach helps to prevent water quality violations and optimize energy use. Although physically connecting the model to actual plant hardware is beyond the scope of this study, this conceptual framework demonstrates how our model serves as a technical foundation for future automated control loops, ultimately enhancing the efficiency and accuracy of online wastewater treatment control.
Author Contributions
Writing—original draft, visualization, and numerical simulations; formal analysis, J.W.; conceptualization and manuscript revision, X.Z. and Y.L.; data processing and analysis, Y.W. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by the Horizontal Project entitled: Development of numerical algorithms for drift-diffusion equations under Neumann boundary conditions, Grant No. 2023HXFWLIXY001, 2023.01–2024.12.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
The data supporting this study’s findings are available from the corresponding author upon reasonable request.
Acknowledgments
We would like to express our sincere gratitude to Jiashuo Meng for his valuable guidance. We are also deeply grateful to the numerous members of the College of Science for their contributions in collecting the data used in this manuscript.
Conflicts of Interest
The authors declare no conflicts of interest.
Correction Statement
This article has been republished with a minor correction to the Funding statement. This change does not affect the scientific content of the article.
References
- Rajkumar, M.; Presley, S.D.; Thiyagarajulu, N.; Thangaraj, R.; Kannan, S. Recent advances in nanotechnology: A new paradigm toward wastewater treatment. In Bioremediation of Emerging Contaminants in Water; ACS Publication: Washington, DC, USA, 2024; Volume 2, pp. 89–110. [Google Scholar] [CrossRef] [Scilit]
- Zhang, Q.H.; Yang, W.N.; Ngo, H.H.; Guo, W.S.; Jin, P.K.; Dzakpasu, M.; Yang, S.J.; Wang, Q.; Wang, X.C.; Ao, D. Current status of urban wastewater treatment plants in China. Environ. Int. 2016, 92–93, 11–22. [Google Scholar] [CrossRef] [Scilit]
- Xia, B.; Li, S.; Shen, W.; Mi, M.; Zhuang, Y.; Zhang, L. Sewage leakage challenges urban wastewater management as evidenced by the Yangtze River basin of China. npj Clean Water 2024, 7, 99. [Google Scholar] [CrossRef] [Scilit]
- Pan, Z.; Zhou, J.; Lin, Z.; Wang, Y.; Zhao, P.; Zhou, J.; Liu, S.; He, X. Effects of COD/TN ratio on nitrogen removal efficiency, microbial community for high saline wastewater treatment based on heterotrophic nitrification-aerobic denitrification process. Bioresour. Technol. 2020, 301, 122726. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Preisner, M.; Neverova-Dziopak, E.; Kowalewski, Z. Mitigation of eutrophication caused by wastewater discharge: A simulation-based approach. Ambio 2021, 50, 413–424. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Renfrew, D.; Vasilaki, V.; Katsou, E. Indicator based multi-criteria decision support systems for wastewater treatment plants. Sci. Total Environ. 2024, 915, 169903. [Google Scholar] [CrossRef] [Scilit]
- Xu, B.; Pooi, C.K.; Yeap, T.S.; Leong, K.Y.; Soh, X.Y.; Huang, S.; Shi, X.; Mannina, G.; Ng, H.Y. Hybrid model composed of machine learning and ASM3 predicts performance of industrial wastewater treatment. J. Water Process Eng. 2024, 65, 105888. [Google Scholar] [CrossRef] [Scilit]
- Lu, X.; Huang, S.; Liu, H.; Yang, F.; Zhang, T.; Wan, X. Research on intelligent chemical dosing system for phosphorus removal in wastewater treatment plants. Water 2024, 16, 1623. [Google Scholar] [CrossRef] [Scilit]
- Ye, G.; Wan, J.; Deng, Z.; Wang, Y.; Chen, J.; Zhu, B.; Ji, S. Prediction of effluent total nitrogen and energy consumption in wastewater treatment plants: Bayesian optimization machine learning methods. Bioresour. Technol. 2024, 395, 130361. [Google Scholar] [CrossRef] [Scilit]
- Xu, X.; Wei, A.; Tang, S.; Liu, Q.; Shi, H.; Sun, W. Prediction of nitrous oxide emission of a municipal wastewater treatment plant using LSTM-based deep learning models. Environ. Sci. Pollut. Res. 2024, 31, 2167–2186. [Google Scholar] [CrossRef] [Scilit]
- Xie, Y.; Chen, Y.; Wei, Q.; Yin, H. A hybrid deep learning approach to improve real-time effluent quality prediction in wastewater treatment plant. Water Res. 2024, 250, 121092. [Google Scholar] [CrossRef] [Scilit]
- Wang, Z.; Wei, A.; Tang, K.; Shi, H.; Zou, J.; Hu, H.; Zhu, Y. Enhanced accuracy and interpretability of nitrous oxide emission prediction of wastewater treatment plants through machine learning of univariate time series: A novel approach of learning feature reconstruction. J. Water Process Eng. 2025, 71, 107263. [Google Scholar] [CrossRef] [Scilit]
- Zeng, W.; Guo, Z.; Shen, Y.; Bashir, A.K.; Yu, K.; Al-Otaibi, Y.D.; Gao, X. Data-driven management for fuzzy sewage treatment processes using hybrid neural computing. Neural Comput. Appl. 2023, 35, 23781–23794. [Google Scholar] [CrossRef] [Scilit]
- Nasir, N.; Kansal, A.; Alshaltone, O.; Barneih, F.; Sameer, M.; Shanableh, A.; Al-Shamma’A, A. Water quality classification using machine learning algorithms. J. Water Process Eng. 2022, 48, 102920. [Google Scholar] [CrossRef] [Scilit]
- Ahmed, A.N.; Othman, F.B.; Afan, H.A.; Ibrahim, R.K.; Fai, C.M.; Hossain, M.S.; Ehteram, M.; Elshafie, A. Machine learning methods for better water quality prediction. J. Hydrol. 2019, 578, 124084. [Google Scholar] [CrossRef] [Scilit]
- Bayane, I.; Leander, J.; Karoumi, R. An unsupervised machine learning approach for real-time damage detection in bridges. Eng. Struct. 2024, 308, 117971. [Google Scholar] [CrossRef] [Scilit]
- Guo, Z.; Du, B.; Wang, J.; Shen, Y.; Li, Q.; Feng, D.; Gao, X.; Wang, H. Data-driven prediction and control of wastewater treatment process through the combination of convolutional neural network and recurrent neural network. RSC Adv. 2020, 10, 13410–13419. [Google Scholar] [CrossRef] [Scilit]
- Dudukcu, H.V.; Taskiran, M.; Taskiran, Z.G.; Yildirim, T. Temporal convolutional networks with RNN approach for chaotic time series prediction. Appl. Soft Comput. 2023, 133, 109945. [Google Scholar] [CrossRef] [Scilit]
- Limouni, T.; Yaagoubi, R.; Bouziane, K.; Guissi, K.; Baali, E.H. Accurate one step and multistep forecasting of very short-term PV power using LSTM-TCN model. Renew. Energy 2023, 205, 1010–1024. [Google Scholar] [CrossRef] [Scilit]
- Ahmed, M.; Mumtaz, R.; Anwar, Z. An enhanced water quality index for water quality monitoring using remote sensing and machine learning. Appl. Sci. 2022, 12, 12787. [Google Scholar] [CrossRef] [Scilit]
- Mahesh, N.; Babu, J.J.; Nithya, K.; Arunmozhi, S.A. Water quality prediction using LSTM with combined normalizer for efficient water management. Desalination Water Treat. 2024, 317, 100183. [Google Scholar] [CrossRef] [Scilit]
- Lin, H.; Zhang, S.; Li, Q.; Li, Y.; Li, J.; Yang, Y. A new method for heart rate prediction based on LSTM-BiLSTM-Att. Measurement 2023, 207, 112384. [Google Scholar] [CrossRef] [Scilit]
- Xu, B.; Pooi, C.K.; Tan, K.M.; Huang, S.; Shi, X.; Ng, H.Y. A novel long short-term memory artificial neural network (LSTM)-based soft-sensor to monitor and forecast wastewater treatment performance. J. Water Process Eng. 2023, 54, 104041. [Google Scholar] [CrossRef] [Scilit]
- Wang, Z.; Man, Y.; Hu, Y.; Li, J.; Hong, M.; Cui, P. A deep learning based dynamic COD prediction model for urban sewage. Environ. Sci. Water Res. Technol. 2019, 5, 2210–2218. [Google Scholar] [CrossRef] [Scilit]
- Ren, Y.; Wang, S.; Xia, B. Deep learning coupled model based on TCN-LSTM for particulate matter concentration prediction. Atmos. Pollut. Res. 2023, 14, 101703. [Google Scholar] [CrossRef] [Scilit]
- Yang, K.; Shi, B. Water pressure prediction in a water supply network using the informer framework. J. Water Resour. Plan. Manag. 2025, 151, 04025001. [Google Scholar] [CrossRef] [Scilit]
- Wang, K.; Qi, X.; Liu, H. Photovoltaic power forecasting based LSTM-convolutional network. Energy 2019, 189, 116225. [Google Scholar] [CrossRef] [Scilit]
- Li, Z.; Peng, Y.; Li, J.; Tang, Z. Composite foundation settlement prediction based on LSTM–transformer model for CFG. Appl. Sci. 2024, 14, 732. [Google Scholar] [CrossRef] [Scilit]
- Ma, S.; He, J.; He, J.; Feng, Q.; Bi, Y. Forecasting air quality index in Yan’an using temporal encoded informer. Expert Syst. Appl. 2024, 255, 124868. [Google Scholar] [CrossRef] [Scilit]
- Ma, J.; Dan, J. Long-term structural state trend forecasting based on an fft-informer model. Appl. Sci. 2023, 13, 2553. [Google Scholar] [CrossRef] [Scilit]
- Mandela, N.; Sonia; Mistry, N.; Nagpal, A. Efficient Dark Web traffic classification using a hybrid CNN-LSTM model. Int. J. Inf. Technol. 2025, 31, 1–17. [Google Scholar] [CrossRef] [Scilit]
- Yaqub, M.; Asif, H.; Kim, S.; Lee, W. Modeling of a full-scale sewage treatment plant to predict the nutrient removal efficiency using a long short-term memory (LSTM) neural network. J. Water Process Eng. 2020, 37, 101388. [Google Scholar] [CrossRef] [Scilit]
- Cao, Y.; Liu, G.; Luo, D.; Bavirisetti, D.P.; Xiao, G. Multi-timescale photovoltaic power forecasting using an improved stacking ensemble algorithm based LSTM-Informer model. Energy 2023, 283, 128669. [Google Scholar] [CrossRef] [Scilit]
- Zhang, Y.; Gao, X.; Smith, K.; Inial, G.; Liu, S.; Conil, L.B.; Pan, B. Integrating water quality and operation into prediction of water production in drinking water treatment plants by genetic algorithm enhanced artificial neural network. Water Res. 2019, 164, 114888. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Wong, T.T.; Yeh, P.Y. Reliable accuracy estimates from k-fold cross validation. IEEE Trans. Knowl. Data Eng. 2019, 32, 1586–1594. [Google Scholar] [CrossRef] [Scilit]
- An, T.; Feng, K.; Cheng, P.; Li, R.; Zhao, Z.; Xu, X.; Zhu, L. Adaptive prediction for effluent quality of wastewater treatment plant: Improvement with a dual-stage attention-based LSTM network. J. Environ. Manag. 2024, 359, 120887. [Google Scholar] [CrossRef] [Scilit]
- Katzef, M.; Cullen, A.C.; Alpcan, T.; Leckie, C. Generative adversarial networks for anomaly detection on decentralised data. Annu. Rev. Control. 2022, 53, 329–337. [Google Scholar] [CrossRef] [Scilit]
- Corizzo, R.; Ceci, M.; Japkowicz, N. Anomaly detection and repair for accurate predictions in geo-distributed big data. Big Data Res. 2019, 16, 18–35. [Google Scholar] [CrossRef] [Scilit]
- Jacob, J.; Varadharajan, R. Simultaneous raise regression: A novel approach to combating collinearity in linear regression models. Qual. Quant. 2023, 57, 4365–4386. [Google Scholar] [CrossRef] [Scilit]
- Cai, C.; Li, Y.; Su, Z.; Zhu, T.; He, Y. Short-term electrical load forecasting based on VMD and GRU-TCN hybrid network. Appl. Sci. 2022, 12, 6647. [Google Scholar] [CrossRef] [Scilit]
- Niu, D.; Wu, F.; Dai, S.; He, S.; Wu, B. Detection of long-term effect in forecasting municipal solid waste using a long short-term memory neural network. J. Clean. Prod. 2021, 290, 125187. [Google Scholar] [CrossRef] [Scilit]
- Zheng, Q.; Tian, X.; Yu, Z.; Jin, B.; Jiang, N.; Ding, Y.; Yang, M.; Elhanashi, A.; Saponara, S.; Kpalma, K. Application of complete ensemble empirical mode decomposition based multi-stream informer (CEEMD-MsI) in PM2.5 concentration long-term prediction. Expert. Syst. Appl. 2024, 245, 123008. [Google Scholar] [CrossRef] [Scilit]
- Markovics, D.; Mayer, M.J. Comparison of machine learning methods for photovoltaic power forecasting based on numerical weather prediction. Renew. Sustain. Energy Rev. 2022, 161, 112364. [Google Scholar] [CrossRef] [Scilit]
- Arrieta, A.B.; Díaz-Rodríguez, N.; Del Ser, J.; Bennetot, A.; Tabik, S.; Barbado, A.; Garcia, S.; Gil-Lopez, S.; Molina, D.; Benjamins, R.; et al. Explainable Artificial Intelligence (XAI): Concepts, taxonomies, opportunities and challenges toward responsible AI. Inf. Fusion 2020, 58, 82–115. [Google Scholar] [CrossRef] [Scilit]
- Aas, K.; Jullum, M.; Løland, A. Explaining individual predictions when features are dependent: More accurate approximations to Shapley values. Artif. Intell. 2021, 298, 103502. [Google Scholar] [CrossRef] [Scilit]
- Yang, K.; Tang, Y.; Zhang, S.; Zhang, Z. A deep learning approach to state of charge estimation of lithium-ion batteries based on dual-stage attention mechanism. Energy 2022, 244, 123233. [Google Scholar] [CrossRef] [Scilit]
- Wang, Y.; Zhang, P.; Xie, Y.; Chen, L.; Cai, Y. Machine learning insights into the evolution of flood resilience: A synthesized framework study. J. Hydrol. 2024, 643, 131991. [Google Scholar] [CrossRef] [Scilit]
- Su, Y.; Cui, C.; Qu, H. Self-attentive moving average for time series prediction. Appl. Sci. 2022, 12, 3602. [Google Scholar] [CrossRef] [Scilit]
- Liu, X.; Gong, Z.; Zhang, X. Research on Anomaly Detection in Wastewater Treatment Systems Based on a VAE-LSTM Fusion Model. Water 2025, 17, 2842. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.









