Using LSTM Neural Network Based on Improved PSO and Attention Mechanism for Predicting the Effluent COD in a Wastewater Treatment Plant

被引:38
作者
Liu, Xin [1 ]
Shi, Qiming [1 ]
Liu, Zhen [1 ]
Yuan, Jia [1 ]
机构
[1] Hebei Univ Engn, Sch Informat & Elect Engn, Handan 056038, Peoples R China
关键词
Attention mechanism; deep learning; particle swarm optimization; prediction; wastewater treatment process; PERFORMANCE; SYSTEM; MODEL;
D O I
10.1109/ACCESS.2021.3123225
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Enhancing the monitoring capabilities of wastewater treatment plant (WWTP) key features can accomplish accurate prediction to help WWTPs develop a plan, which is of great significance to control regional water environmental pollution. Chemical oxygen demand (COD) is one of the key features of wastewater treatment. Traditional monitoring methods are time consuming and have high costs making it difficult to meet the needs of rapid monitoring in practical applications. To address this issue, a method for optimizing a long short term memory (LSTM) neural network model based on adaptive hybrid mutation particle swarm optimization (AHMPSO) and an attention mechanism (AM) is proposed. As the hyperparameters of the LSTM are difficult to select, AHMPSO is used to optimize the LSTM. A nonlinear variable inertia weight with random factors is introduced to balance the global search ability and the local search ability and to improve the convergence speed of the PSO algorithm. In addition, the hybrid mutation strategy is added in the search process to reduce the risk of particles falling into local optimal solutions. Finally, an AM is added to the LSTM model to mine local water quality features to improve the effluent COD prediction accuracy. Compared with other models (LSTM, LSTM-AM, and PSO-LSTM-AM), the RMSE(the root mean square error) of the optimized model decreased by 7.803%-19.499%, the MAE(the mean absolute error) of the optimized model decreased by 9.669%-27.551%, the MAPE(the mean absolute error) of the optimized model decreased by 8.993%-25.996%, and the R-2 (the coefficient of determination) value of the optimized model increased by 3.313%-11.229%. The experimental results show that the optimized model has better performance and achieves a more accurate prediction of the effluent COD.
引用
收藏
页码:146082 / 146096
页数:15
相关论文
共 49 条
[1]   A deep learning approach for real-time detection of atrial fibrillation [J].
Andersen, Rasmus S. ;
Peimankar, Abdolrahman ;
Puthusserypady, Sadasivan .
EXPERT SYSTEMS WITH APPLICATIONS, 2019, 115 :465-473
[2]   Predictive performance of auto-aerated immobilized biomass reactor treating anaerobic effluent of cardboard wastewater enriched with bronopol (2-bromo-2-nitropropan-1,3-diol) via artificial neural network [J].
Bakr, Marwa H. ;
Nasr, Mahmoud ;
Ashmawy, Mostafa ;
Tawfik, Ahmed .
ENVIRONMENTAL TECHNOLOGY & INNOVATION, 2021, 21 (21)
[3]   Automatic and non-invasive Parkinson's disease diagnosis and severity rating using LSTM network [J].
Balaji, E. ;
Brindha, D. ;
Elumalai, Vinodh Kumar ;
Vikrama, R. .
APPLIED SOFT COMPUTING, 2021, 108
[4]   Using artificial neural network for predicting and controlling the effluent chemical oxygen demand in wastewater treatment plant [J].
Bekkari, Naceureddine ;
Zeddouri, Aziez .
MANAGEMENT OF ENVIRONMENTAL QUALITY, 2019, 30 (03) :593-608
[5]   Electricity price prediction based on hybrid model of adam optimized LSTM neural network and wavelet transform [J].
Chang, Zihan ;
Zhang, Yang ;
Chen, Wenbo .
ENERGY, 2019, 187
[6]   Forecasting of Wastewater Treatment Plant Key Features Using Deep Learning-Based Models: A Case Study [J].
Cheng, Tuoyuan ;
Harrou, Fouzi ;
Kadri, Farid ;
Sun, Ying ;
Leiknes, Torove .
IEEE ACCESS, 2020, 8 :184475-184485
[7]   Transforming data into knowledge for improved wastewater treatment operation: A critical review of techniques [J].
Corominas, Ll. ;
Garrido-Baserba, M. ;
Villez, K. ;
Olsson, G. ;
Cortes, U. ;
Poch, M. .
ENVIRONMENTAL MODELLING & SOFTWARE, 2018, 106 :89-103
[8]   Journal bearing seizure degradation assessment and remaining useful life prediction based on long short-term memory neural network [J].
Ding, Ning ;
Li, Hulin ;
Yin, Zhongwei ;
Zhong, Ning ;
Zhang, Le .
MEASUREMENT, 2020, 166
[9]   A Neural Network Model for Decision-Making with Application in Sewage Sludge Management [J].
Facchini, Francesco ;
Ranieri, Luigi ;
Vitti, Micaela .
APPLIED SCIENCES-BASEL, 2021, 11 (12)
[10]   Trajectory control of electro-hydraulic position servo system using improved PSO-PID controller [J].
Feng, Hao ;
Ma, Wei ;
Yin, Chenbo ;
Cao, Donghui .
AUTOMATION IN CONSTRUCTION, 2021, 127