An Attention-Based CNN-LSTM Method for Effluent Wastewater Quality Prediction

被引:12
作者
Li, Yue [1 ,2 ]
Kong, Bin [1 ,2 ]
Yu, Weiwei [1 ,2 ]
Zhu, Xingliang [1 ,2 ]
机构
[1] Chinese Acad Sci, Hefei Inst Phys Sci, Hefei 230031, Peoples R China
[2] Grad Sch USTC, Sci Isl Branch, Hefei 230026, Peoples R China
来源
APPLIED SCIENCES-BASEL | 2023年 / 13卷 / 12期
关键词
effluent wastewater quality prediction; neural network; sliding window; attention mechanism; MODEL;
D O I
10.3390/app13127011
中图分类号
O6 [化学];
学科分类号
0703 ;
摘要
Wastewater treatment is a pivotal step in water resource recycling. Predicting effluent wastewater quality can help wastewater treatment plants (WWTPs) establish efficient operations so as to save resources. We propose CNN-LSTM-Attention (CLATT), an attention-based effluent wastewater quality prediction model, which uses a convolutional neural network (CNN) as an encoder and a long short-term memory network (LSTM) as a decoder. An attention mechanism is used to aggregate the information at adjacent sampling times. A sliding window method is proposed to solve the problem of the prediction performance of the model decreasing with time. We conducted the experiment using data collected from a WWTP in Fujian, China. Our results show that the accuracy of prediction is improved, with MSE decreasing by 0.25, MAPE decreasing by 5% and LER decreasing by 7%, after using the sliding window method. Compared with other methods, CLATT achieves the fastest prediction speed among all the methods based on LSTM and the most accurate prediction performance, with MSE increasing up to 0.92, MAPE up to 0.08 and LER up to 0.11. Furthermore, we performed an ablation study on the proposed method to validate the rationality of the major part of the model, and the results show that the LSTM significantly improves the predictive performance of the model, and the CNN and the attention mechanism also improve the accuracy of the prediction.
引用
收藏
页数:20
相关论文
共 25 条
[1]   High Performance Text Recognition using a Hybrid Convolutional-LSTM Implementation [J].
Breuel, Thomas M. .
2017 14TH IAPR INTERNATIONAL CONFERENCE ON DOCUMENT ANALYSIS AND RECOGNITION (ICDAR), VOL 1, 2017, :11-16
[2]   Optimization of a sequencing batch reactor for biological nitrogen removal [J].
Coelho, MAZ ;
Russo, C ;
Araújo, OQF .
WATER RESEARCH, 2000, 34 (10) :2809-2817
[3]   New mathematical procedure for the automatic estimation of influent characteristics in WWTPs [J].
Grau, P. ;
Beltran, S. ;
de Gracia, M. ;
Ayesa, E. .
WATER SCIENCE AND TECHNOLOGY, 2007, 56 (08) :95-106
[4]   Activated Sludge Model No. 3 [J].
Gujer, W ;
Henze, M ;
Mino, T ;
van Loosdrecht, M .
WATER SCIENCE AND TECHNOLOGY, 1999, 39 (01) :183-193
[5]   A short-term load forecasting model of multi-scale CNN-LSTM hybrid neural network considering the real-time electricity price [J].
Guo, Xifeng ;
Zhao, Qiannan ;
Zheng, Di ;
Ning, Yi ;
Gao, Ye .
ENERGY REPORTS, 2020, 6 :1046-1053
[6]   Deep Residual Learning for Image Recognition [J].
He, Kaiming ;
Zhang, Xiangyu ;
Ren, Shaoqing ;
Sun, Jian .
2016 IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2016, :770-778
[7]  
Hochreiter S, 1997, NEURAL COMPUT, V9, P1735, DOI [10.1162/neco.1997.9.1.1, 10.1007/978-3-642-24797-2]
[8]   A Novel NODE Approach Combined with LSTM for Short-Term Electricity Load Forecasting [J].
Huang, Songtao ;
Shen, Jun ;
Lv, Qingquan ;
Zhou, Qingguo ;
Yong, Binbin .
FUTURE INTERNET, 2023, 15 (01)
[9]   Predicting Effluent Quality in Full-Scale Wastewater Treatment Plants Using Shallow and Deep Artificial Neural Networks [J].
Jafar, Raed ;
Awad, Adel ;
Jafar, Kamel ;
Shahrour, Isam .
SUSTAINABILITY, 2022, 14 (23)
[10]   A new statistical framework for parameter subset selection and optimal parameter estimation in the activated sludge model [J].
Kim, Y. S. ;
Kim, M. H. ;
Yoo, C. K. .
JOURNAL OF HAZARDOUS MATERIALS, 2010, 183 (1-3) :441-447