Water Quality Prediction Based on the KF-LSTM Encoder-Decoder Network: A Case Study with Missing Data Collection

被引:6
作者
Cai, Hao [1 ]
Zhang, Chen [1 ]
Xu, Jianlong [1 ]
Wang, Fei [1 ]
Xiao, Lianghong [2 ]
Huang, Shanxing [2 ]
Zhang, Yufeng [2 ]
机构
[1] Shantou Univ, Dept Comp Sci, Shantou, Peoples R China
[2] Guangdong Prov Shantou Ecol Environm Monitoring Ce, Shantou 515057, Peoples R China
关键词
Kalman filter; LSTM; encoder-decoder; time series prediction; water quality prediction; attention mechanism; NEURAL-NETWORKS; MODEL; TIME;
D O I
10.3390/w15142542
中图分类号
X [环境科学、安全科学];
学科分类号
08 ; 0830 ;
摘要
This paper focuses on water quality prediction in the presence of a large number of missing values in water quality monitoring data. Current water quality monitoring data mostly come from different monitoring stations in different water bodies. As the duration of water quality monitoring increases, the complexity of water quality data also increases, and missing data is a common and difficult to avoid problem in water quality monitoring. In order to fully exploit the valuable features of the monitored data and improve the accuracy of water quality prediction models, we propose a long short-term memory (LSTM) encoder-decoder model that combines a Kalman filter (KF) with an attention mechanism. The Kalman filter in the model can quickly complete the reconstruction and pre-processing of hydrological data. The attention mechanism is added between the decoder and the encoder to solve the problem that traditional recursive neural network models lose long-range information and fully exploit the interaction information among high-dimensional covariate data. Using original data from the Haimen Bay water quality monitoring station in the Lianjiang River Basin for analysis, we trained and tested our model using detection data from 1 January 2019 to 30 June 2020 to predict future water quality. The results show that compared with traditional LSTM models, KF-LSTM models reduce the average absolute error (MAE) by 10%, the mean square error (MSE) by 21.2%, the root mean square error (RMSE) by 13.2%, while increasing the coefficient of determination (R2) by 4.5%. This model is more suitable for situations where there are many missing values in water quality data, while providing new solutions for real-time management of urban aquatic environments.
引用
收藏
页数:22
相关论文
共 53 条
  • [1] Machine learning methods for better water quality prediction
    Ahmed, Ali Najah
    Othman, Faridah Binti
    Afan, Haitham Abdulmohsin
    Ibrahim, Rusul Khaleel
    Fai, Chow Ming
    Hossain, Md Shabbir
    Ehteram, Mohammad
    Elshafie, Ahmed
    [J]. JOURNAL OF HYDROLOGY, 2019, 578
  • [2] Ahmed Hafiz, 2022, 2022 International Conference on Innovations in Science, Engineering and Technology (ICISET)., P555, DOI 10.1109/ICISET54810.2022.9775853
  • [3] Aklilu E.G., 2021, S AFR J CHEM ENG, V37, P12, DOI [10.1016/j.sajce.2021.03.006, DOI 10.1016/J.SAJCE.2021.03.006]
  • [4] Band-Structure Engineering of TiO2 Photocatalyst by AuSe Quantum Dots for Efficient Degradation of Malachite Green and Phenol
    Alasri, Tayseer M.
    Ali, Shaimaa L.
    Salama, Reda S.
    Alshorifi, Fares T.
    [J]. JOURNAL OF INORGANIC AND ORGANOMETALLIC POLYMERS AND MATERIALS, 2023, 33 (06) : 1729 - 1740
  • [5] Comparison of ARIMA model and XGBoost model for prediction of human brucellosis in mainland China: a time-series study
    Alim, Mirxat
    Ye, Guo-Hua
    Guan, Peng
    Huang, De-Sheng
    Zhou, Bao-Sen
    Wu, Wei
    [J]. BMJ OPEN, 2020, 10 (12):
  • [6] Robust estimation of traffic density with missing data using an adaptive-R extended Kalman filter
    Bakibillah, A. S. M.
    Tan, Yong Hwa
    Loo, Junn Yong
    Tan, Chee Pin
    Kamal, M. A. S.
    Pu, Ziyuan
    [J]. APPLIED MATHEMATICS AND COMPUTATION, 2022, 421
  • [7] A Machine-Learning Approach for Prediction of Water Contamination Using Latitude, Longitude, and Elevation
    Banerjee, Kakoli
    Bali, Vikram
    Nawaz, Nishad
    Bali, Shivani
    Mathur, Sonali
    Mishra, Ram Krishn
    Rani, Sita
    [J]. WATER, 2022, 14 (05)
  • [8] A noise-immune Kalman filter for short-term traffic flow forecasting
    Cai, Lingru
    Zhang, Zhanchang
    Yang, Junjie
    Yu, Yidan
    Zhou, Teng
    Qin, Jing
    [J]. PHYSICA A-STATISTICAL MECHANICS AND ITS APPLICATIONS, 2019, 536
  • [9] A Review of the Artificial Neural Network Models for Water Quality Prediction
    Chen, Yingyi
    Song, Lihua
    Liu, Yeqi
    Yang, Ling
    Li, Daoliang
    [J]. APPLIED SCIENCES-BASEL, 2020, 10 (17):
  • [10] Application of artificial neural networks to the forecasting of dissolved oxygen content in the Hungarian section of the river Danube
    Csabragi, Anita
    Molnar, Sandor
    Tanos, Peter
    Kovacs, Jozsef
    [J]. ECOLOGICAL ENGINEERING, 2017, 100 : 63 - 72