Back to Search
Start Over
A benchmark-based method for evaluating hyperparameter optimization techniques of neural networks for surface water quality prediction
- Source :
- Frontiers of Environmental Science & Engineering; May 2024, Vol. 18 Issue: 5
- Publication Year :
- 2024
-
Abstract
- 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 the 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.
Details
- Language :
- English
- ISSN :
- 20952201
- Volume :
- 18
- Issue :
- 5
- Database :
- Supplemental Index
- Journal :
- Frontiers of Environmental Science & Engineering
- Publication Type :
- Periodical
- Accession number :
- ejs65302933
- Full Text :
- https://doi.org/10.1007/s11783-024-1814-5