首页|期刊导航|水生态学杂志|基于时序生成对抗网络的水质特征数据生成与时变过程预测

基于时序生成对抗网络的水质特征数据生成与时变过程预测OA

Generating Water Quality Data and Predicting Time-Varying Processes Using a Time-Series Generative Adversarial Network

中文摘要英文摘要

以桂林漓江为研究对象,提出结合时间序列生成对抗网络(TimeGAN)和Transformer的深度学习模型,以实现数据稀缺区域的水质特征增强和时变过程精确预测,为小样本数据环境下的水质时序特征预测提供理论和技术支持.对2020年1月至2022年12月漓江龙溪站点的水文与水质数据进行预处理,通过TimeGAN生成分布相似的合成数据,再结合生成数据与原始数据训练Transformer模型,以TN为核心指标开展预测验证.结果表明:(1)TimeGAN生成数据通过t-SNE降维,数据的覆盖率达90.7%,有效学习并保留了原始数据的分布特征;(2)TimeGAN-Transformer能够有效捕捉水文、水质样本数据的动态特征,实现关键水质指标时变过程的精确预测,均方根误差(RMSE)、平均绝对误差(MAE)和对称平均绝对百分比误差(SMAPE)分别为0.110、0.083和0.045,决定系数R2达0.94;(3)相较于Transformer模型,TimeGAN-Transformer模型在水质预测中的精度显著提升,RMSE、MAE和SMAPE分别降低了 33.3%、38.0%和36.6%,显著提高了深度学习模型的预测精度和鲁棒性.

The accuracy of water quality predictions by deep learning models has been constrained by the quantity and quality of water quality data.In regions with scarce data or limited sample size,models fail to capture data features adequately,resulting in a notable decline in prediction accuracy.In this study,Lijiang River in Guilin City was selected for research,and a deep learning model combining a Time-se-ries Generative Adversarial Network(TimeGAN)with a Transformer model was constructed,aiming to enhance water quality data and more accurately predict time-varying processes in data-scarce regions.At first,the hydrological and water quality data from the Longxi station of the Lijiang River from January 2020 to December 2022 were preprocessed.Then,synthetic data with similar distributions were generated using TimeGAN.Subsequently,a Transformer model was trained by combining the generated data with the original data.The time series for total nitrogen(TN),a key water quality parameter,was used to test the accuracy of our modeling approach.Results show:(1)The data generated by TimeGAN were dimen-sionally reduced using t-SNE(t-Distributed Stochastic Neighbor Embedding),achieving a coverage rate of 90.7%and effectively capturing and preserving the distribution characteristics of the original dataset.(2)The TimeGAN-Transformer model effectively captured the dynamic features of hydrological and wa-ter quality sample data,enabling precise prediction of the temporal variation of key water quality indica-tors.The model achieved Root Mean Square Error(RMSE),Mean Absolute Error(MAE),and Symmetric Mean Absolute Percentage Error(SMAPE)values of 0.110,0.083,and 0.045,respectively,and the coeffi-cient of determination R2 reached 0.94.(3)Compared to the Transformer model,the deep learning model developed in the study significantly enhanced prediction accuracy in water quality forecasting,reducing RMSE,MAE,and SMAPE by 33.3%,38.0%,and 36.6%,respectively.This improvement markedly in-creased both predictive accuracy and robustness of the model.In conclusion,the model enhances water quality features in data-scarce regions and more precisely predicts temporal processes.The findings of this study provide theoretical and technical support for predicting water quality time series in environ-ments with limited sample data.

许睿;贺玉洁;万航;蒋严波;韦纯忠

桂林电子科技大学计算机与信息安全学院,广西桂林 541004桂林电子科技大学计算机与信息安全学院,广西桂林 541004南方海洋科学与工程广东省实验室<广州>,广东 广州 511458广西北投环保水务集团有限公司广西壮族自治区智慧水务工程研究中心,广西南宁 530029广西北投环保水务集团有限公司广西壮族自治区智慧水务工程研究中心,广西南宁 530029

资源环境

水质预测总氮深度学习数据增强时间序列生成对抗网络

water quality predictiontotal nitrogendeep learningenhanced data generationtime-se-ries generative adversarial network

《水生态学杂志》 2026 (4)

108-117,10

广西重点研究计划(AB24010027,2024AB21089)广西自然科学基金面上项目(2024JJA170094)国家自然科学基金(52379067).

10.15928/j.1674-3075.202412170001

评论