Cargando…

A watershed water quality prediction model based on attention mechanism and Bi-LSTM

Accurate prediction of water quality contributes to the intelligent management and control of watershed ecology. Water Quality data has time series characteristics, but the existing models only focus on the forward time series when LSTM is introduced and do not consider the effect of the reverse tim...

Descripción completa

Detalles Bibliográficos
Autores principales: Zhang, Qiang, Wang, Ruiqi, Qi, Ying, Wen, Fei
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Springer Berlin Heidelberg 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9163529/
https://www.ncbi.nlm.nih.gov/pubmed/35657549
http://dx.doi.org/10.1007/s11356-022-21115-y
_version_ 1784719941225676800
author Zhang, Qiang
Wang, Ruiqi
Qi, Ying
Wen, Fei
author_facet Zhang, Qiang
Wang, Ruiqi
Qi, Ying
Wen, Fei
author_sort Zhang, Qiang
collection PubMed
description Accurate prediction of water quality contributes to the intelligent management and control of watershed ecology. Water Quality data has time series characteristics, but the existing models only focus on the forward time series when LSTM is introduced and do not consider the effect of the reverse time series on the model. Also did not take into account the different contributions of water quality sequences to the model at different moments. In order to solve this problem, this paper proposes a watershed water quality prediction model called AT-BILSTM. The model mainly contains a Bi-LSTM layer and a temporal attention layer and introduces an attention mechanism after bidirectional feature extraction of water quality time series data to highlight the data series that have a critical impact on the prediction results. The effectiveness of the method was verified with actual datasets from four monitoring stations in Lanzhou section of the Yellow River basin in China. After comparing with the reference model, the results show that the proposed model combines the bidirectional nonlinear mapping capability of Bi-LSTM and the feature weighting feature of the attention mechanism. Taking Fuhe Bridge as an example, compared with the original LSTM model, the RMSE and MAE of the model are reduced to 0.101 and 0.059, respectively, and the R2 is improved to 0.970, which has the best prediction performance among the four cross-sections and can provide a decision basis for the comprehensive water quality management and pollutant control in the basin.
format Online
Article
Text
id pubmed-9163529
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher Springer Berlin Heidelberg
record_format MEDLINE/PubMed
spelling pubmed-91635292022-06-04 A watershed water quality prediction model based on attention mechanism and Bi-LSTM Zhang, Qiang Wang, Ruiqi Qi, Ying Wen, Fei Environ Sci Pollut Res Int Research Article Accurate prediction of water quality contributes to the intelligent management and control of watershed ecology. Water Quality data has time series characteristics, but the existing models only focus on the forward time series when LSTM is introduced and do not consider the effect of the reverse time series on the model. Also did not take into account the different contributions of water quality sequences to the model at different moments. In order to solve this problem, this paper proposes a watershed water quality prediction model called AT-BILSTM. The model mainly contains a Bi-LSTM layer and a temporal attention layer and introduces an attention mechanism after bidirectional feature extraction of water quality time series data to highlight the data series that have a critical impact on the prediction results. The effectiveness of the method was verified with actual datasets from four monitoring stations in Lanzhou section of the Yellow River basin in China. After comparing with the reference model, the results show that the proposed model combines the bidirectional nonlinear mapping capability of Bi-LSTM and the feature weighting feature of the attention mechanism. Taking Fuhe Bridge as an example, compared with the original LSTM model, the RMSE and MAE of the model are reduced to 0.101 and 0.059, respectively, and the R2 is improved to 0.970, which has the best prediction performance among the four cross-sections and can provide a decision basis for the comprehensive water quality management and pollutant control in the basin. Springer Berlin Heidelberg 2022-06-03 2022 /pmc/articles/PMC9163529/ /pubmed/35657549 http://dx.doi.org/10.1007/s11356-022-21115-y Text en © The Author(s), under exclusive licence to Springer-Verlag GmbH Germany, part of Springer Nature 2022 This article is made available via the PMC Open Access Subset for unrestricted research re-use and secondary analysis in any form or by any means with acknowledgement of the original source. These permissions are granted for the duration of the World Health Organization (WHO) declaration of COVID-19 as a global pandemic.
spellingShingle Research Article
Zhang, Qiang
Wang, Ruiqi
Qi, Ying
Wen, Fei
A watershed water quality prediction model based on attention mechanism and Bi-LSTM
title A watershed water quality prediction model based on attention mechanism and Bi-LSTM
title_full A watershed water quality prediction model based on attention mechanism and Bi-LSTM
title_fullStr A watershed water quality prediction model based on attention mechanism and Bi-LSTM
title_full_unstemmed A watershed water quality prediction model based on attention mechanism and Bi-LSTM
title_short A watershed water quality prediction model based on attention mechanism and Bi-LSTM
title_sort watershed water quality prediction model based on attention mechanism and bi-lstm
topic Research Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9163529/
https://www.ncbi.nlm.nih.gov/pubmed/35657549
http://dx.doi.org/10.1007/s11356-022-21115-y
work_keys_str_mv AT zhangqiang awatershedwaterqualitypredictionmodelbasedonattentionmechanismandbilstm
AT wangruiqi awatershedwaterqualitypredictionmodelbasedonattentionmechanismandbilstm
AT qiying awatershedwaterqualitypredictionmodelbasedonattentionmechanismandbilstm
AT wenfei awatershedwaterqualitypredictionmodelbasedonattentionmechanismandbilstm
AT zhangqiang watershedwaterqualitypredictionmodelbasedonattentionmechanismandbilstm
AT wangruiqi watershedwaterqualitypredictionmodelbasedonattentionmechanismandbilstm
AT qiying watershedwaterqualitypredictionmodelbasedonattentionmechanismandbilstm
AT wenfei watershedwaterqualitypredictionmodelbasedonattentionmechanismandbilstm