A multi-step water quality prediction model based on the Savitzky-Golay filter and Transformer optimized network

被引:7
作者
Wang, Ruiqi [1 ]
Qi, Ying [1 ]
Zhang, Qiang [1 ]
Wen, Fei [2 ]
机构
[1] Northwest Normal Univ, Dept Comp Sci & Engn, Lanzhou, Gansu, Peoples R China
[2] Gansu Acad Ecoenvironm Sci, Lanzhou, Gansu, Peoples R China
关键词
Savitzky-Golay Filter; Transformer network; Attention mechanism; DILATE; Water quality prediction; Encoder-decoder network; PERFORMANCE;
D O I
10.1007/s11356-023-29920-9
中图分类号
X [环境科学、安全科学];
学科分类号
08 ; 0830 ;
摘要
Effective water quality prediction techniques are essential for the sustainable development of water resources and implementation of emergency response mechanisms. However, the water environment conditions are complex, and the presence of a large amount of noise in the water quality data makes it difficult to reveal the long-term trends or cycles of the data, affecting the acquisition of serial correlation in the data. In addition, the loss function based on the vertical Euclidean distance will produce a prediction lag problem, and it is difficult to make an accurate multi-step prediction of water quality series. This paper presents a multi-step water quality prediction model for watersheds that combines Savitzky-Golay (SG) filter with Transformer optimized networks. Among them, the SG filter highlights data trend change and improves sequence correlation by smoothing the potential noise of original data. The transformer network adopts a sequence-to-sequence framework, which contains a position encoding module and a self-attentive mechanism to perform multi-step prediction while effectively obtaining the sequence correlation. Moreover, the DIstortion Loss including shApe and TimE (DILATE) loss function is introduced into the model to solve the problem of prediction lag from two aspects of shape error and time error to improve the model's generalization ability. An example validates the model with the benchmark model at four monitoring stations in the Lanzhou section of the Yellow River basin in China. The results show that the predictions of the proposed model have the correct shape, temporal positioning, and the best accuracy in a multi-step prediction task for four sites. It can provide a decision-making basis for comprehensive water quality control and pollutant control in the basin.
引用
收藏
页码:109299 / 109314
页数:16
相关论文
共 21 条
[2]   Machine learning methods for better water quality prediction [J].
Ahmed, Ali Najah ;
Othman, Faridah Binti ;
Afan, Haitham Abdulmohsin ;
Ibrahim, Rusul Khaleel ;
Fai, Chow Ming ;
Hossain, Md Shabbir ;
Ehteram, Mohammad ;
Elshafie, Ahmed .
JOURNAL OF HYDROLOGY, 2019, 578
[3]   Evaluating statistical model performance in water quality prediction [J].
Avila, Rodelyn ;
Horn, Beverley ;
Moriarty, Elaine ;
Hodson, Roger ;
Moltchanova, Elena .
JOURNAL OF ENVIRONMENTAL MANAGEMENT, 2018, 206 :910-919
[4]   Large-scale water quality prediction with integrated deep neural network [J].
Bi, Jing ;
Lin, Yongze ;
Dong, Quanxi ;
Yuan, Haitao ;
Zhou, MengChu .
INFORMATION SCIENCES, 2021, 571 (571) :191-205
[5]   Sustainable development in the Yellow River Basin: Issues and strategies [J].
Chen, Yi-ping ;
Fu, Bo-jie ;
Zhao, Yan ;
Wang, Kai-bo ;
Zhao, Meng M. ;
Ma, Ji-fu ;
Wu, Jun-Hua ;
Xu, Chen ;
Liu, Wan-gang ;
Wang, Hong .
JOURNAL OF CLEANER PRODUCTION, 2020, 263
[6]   Channel pruning guided by global channel relation [J].
Cheng, Yingjie ;
Wang, Xiaoqi ;
Xie, Xiaolan ;
Li, Wentao ;
Peng, Shaoliang .
APPLIED INTELLIGENCE, 2022, 52 (14) :16202-16213
[7]   ARIMA models to predict next-day electricity prices [J].
Contreras, J ;
Espínola, R ;
Nogales, FJ ;
Conejo, AJ .
IEEE TRANSACTIONS ON POWER SYSTEMS, 2003, 18 (03) :1014-1020
[8]   A review of catchment-scale water quality and erosion models and a synthesis of future prospects [J].
Fu, Baihua ;
Merritt, Wendy S. ;
Croke, Barry F. W. ;
Weber, Tony R. ;
Jakeman, Anthony J. .
ENVIRONMENTAL MODELLING & SOFTWARE, 2019, 114 :75-97
[9]   Estimating longitudinal dispersion coefficient in natural streams using empirical models and machine learning algorithms [J].
Kargar, Katayoun ;
Samadianfard, Saeed ;
Parsa, Javad ;
Nabipour, Narjes ;
Shamshirband, Shahaboddin ;
Mosavi, Amir ;
Chau, Kwok-wing .
ENGINEERING APPLICATIONS OF COMPUTATIONAL FLUID MECHANICS, 2020, 14 (01) :311-322
[10]  
Le Guen V, 2019, ADV NEUR IN, V32