Predicting ammonia nitrogen in surface water by a new attention-based deep learning hybrid model.

Journal: Environmental research
Published Date:

Abstract

Ammonia nitrogen (NH-N) is closely related to the occurrence of cyanobacterial blooms and destruction of surface water ecosystems, and thus it is of great significance to develop predictive models for NH-N. However, traditional models cannot fully consider the complex nonlinear relationship between NH-N and various relative environmental parameters. The long short-term memory (LSTM) neural network can overcome this limitation. A new hybrid model BC-MODWT-DA-LSTM was proposed based on LSTM combining with the dual-stage attention (DA) mechanism and boundary corrected maximal overlap discrete wavelet transform (BC-MODWT) data decomposition method. By introducing attention mechanism, LSTM could selectively focus on the input data. BC-MODWT could decompose the input data into sublayers to determine the main swings and trends of the input feature series. The BC-MODWT-DA-LSTM hybrid model was superior to other studied models with lower average prediction errors. It could maintain NASH Sutcliffe efficiency coefficient (NSE) values above 0.900 under the lead time up to 7 days, and the area under the receiver operating characteristic (ROC) curve could reach 0.992. The hybrid model also had higher prediction accuracies at the peak spots, indicating that it was capable of early warning when sudden high NH-N pollution occurred. The high forecasting accuracy of the suggested hybrid method proved that further improving LSTM model without introducing more complex topologies was a promising water quality prediction method.

Authors

  • Yuting Li
    Department of Food Science and Nutrition, National Engineering Laboratory of Intelligent Food Technology and Equipment, Key Laboratory for Agro-Products Postharvest Handling of Ministry of Agriculture, Zhejiang Key Laboratory for Agro-Food Processing, Fuli Institute of Food Science, Zhejiang University, Hangzhou 310058, China.
  • Ruying Li
    School of Environmental Science and Engineering, Tianjin University, Tianjin, 300350, PR China. Electronic address: liruying@tju.edu.cn.