Real-time Water Quality Detection Based on Fluctuation Feature Analysis with the LSTM Model

Lixiang Wang,Huilin Dong,Yuqi Cao,Dibo Hou,Guangxin Zhang
DOI: https://doi.org/10.2166/hydro.2023.127
IF: 3.058
2023-01-01
Journal of Hydroinformatics
Abstract:Signal analysis and anomaly detection for water pollution early warning systems are important and necessary. In view of the nonlinear and volatile characteristics of water quality time series, this paper proposes a new method for water anomaly detection based on fluctuation feature analysis. The method has two steps. First, the water quality time series data are used to calculate the residuals between the observed value and the predicted value with the long short-term memory (LSTM) network. Second, the dynamic features are extracted by sliding time window and described by the Approximate Entropy (ApEn) which are input to the anomaly detection model with Isolation Forest. Compared with traditional anomaly detection methods, the results obtained by the proposed method show better performance in distinguishing water quality anomalies. The proposed method can be applied to real-time water quality anomaly detection and early warning.
What problem does this paper attempt to address?