首页|A benchmark-based method for evaluating hyperparameter optimization techniques of neural networks for surface water quality prediction

A benchmark-based method for evaluating hyperparameter optimization techniques of neural networks for surface water quality prediction

扫码查看
Neural networks(NNs)have been used extensively in surface water prediction tasks due to computing algorithm improvements and data accumulation.An essential step in developing an NN is the hyperparameter selection.In practice,it is common to manually determine hyperparameters in the studies of NNs in water resources tasks.This may result in considerable randomness and require significant computation time;therefore,hyperparameter optimization(HPO)is essential.This study adopted five representatives of the HPO techniques in thie surface water quality prediction tasks,including the grid sampling(GS),random search(RS),genetic algorithm(GA),Bayesian optimization(BO)based on the Gaussian process(GP),and the tree Parzen estimator(TPE).For the evaluation of these techniques,this study proposed a method:first,the optimal hyperparameter value sets achieved by GS were regarded as the benchmark;then,the other HPO techniques were evaluated and compared with the benchmark in convergence,optimization orientation,and consistency of the optimized values.The results indicated that the TPE-based BO algorithm was recommended because it yielded stable convergence,reasonable optimization orientation,and the highest consistency rates with the benchmark values.The optimization consistency rates via TPE for the hyperparameters hidden layers,hidden dimension,learning rate,and batch size were 86.7%,73.3%,73.3%,and 80.0%,respectively.Unlike the evaluation of HPO techniques directly based on the prediction performance of the optimized NN in a single HPO test,the proposed benchmark-based HPO evaluation approach is feasible and robust.

Neural networksHyperparameter optimizationSurface water quality predictionBayes optimizationGenetic algorithm

Xuan Wang、Yan Dong、Jing Yang、Zhipeng Liu、Jinsuo Lu

展开 >

School of Environmental and Municipal Engineering,Xi'an University of Architecture and Technology,Xi'an 710055,China

Shaanxi Key Laboratory of Environmental Engineering,Xi'an University of Architecture and Technology,Xi'an 710055,China

State Key Laboratory of Green Building in West China,Xi'an University of Architecture and Technology,Xi'an 710055,China

National Key R&D ProjectShaanxi Province Science Fund for Distinguished Young Scholars

2022YFC3203203S2023-JC-JQ-0036

2024

环境科学与工程前沿
高等教育出版社

环境科学与工程前沿

影响因子:0.545
ISSN:2095-2201
年,卷(期):2024.18(5)