Skip to main content
QUICK REVIEW

[Paper Review] A Population-based Hybrid Approach to Hyperparameter Optimization for Neural Networks

Marcello Serqueira, Pedro Arcos González|arXiv (Cornell University)|Nov 22, 2020
Machine Learning and Data ClassificationComputer Science7 citations
TL;DR

This paper proposes HBRKGA, a hybrid hyperparameter optimization method that combines Biased Random Key Genetic Algorithm (BRKGA) with a Random Walk strategy to efficiently explore neural network hyperparameter spaces. Evaluated on eight datasets, HBRKGA achieved superior F₁ scores compared to Grid Search, Random Search, Bayesian Optimization, and CMA-ES in six datasets, with a statistically significant improvement in three, demonstrating the effectiveness of integrating local search via Random Walk into a population-based approach.

ABSTRACT

In recent years, large amounts of data have been generated, and computer power has kept growing. This scenario has led to a resurgence in the interest in artificial neural networks. One of the main challenges in training effective neural network models is finding the right combination of hyperparameters to be used. Indeed, the choice of an adequate approach to search the hyperparameter space directly influences the accuracy of the resulting neural network model. Common approaches for hyperparameter optimization are Grid Search, Random Search, and Bayesian Optimization. There are also population-based methods such as CMA-ES. In this paper, we present HBRKGA, a new population-based approach for hyperparameter optimization. HBRKGA is a hybrid approach that combines the Biased Random Key Genetic Algorithm with a Random Walk technique to search the hyperparameter space efficiently. Several computational experiments on eight different datasets were performed to assess the effectiveness of the proposed approach. Results showed that HBRKGA could find hyperparameter configurations that outperformed (in terms of predictive quality) the baseline methods in six out of eight datasets while showing a reasonable execution time.

Motivation & Objective

  • To address the challenge of efficiently searching large, high-dimensional hyperparameter spaces in deep neural networks.
  • To improve upon traditional hyperparameter optimization methods like Grid Search and Random Search by incorporating intelligent search strategies.
  • To evaluate the effectiveness of combining evolutionary algorithms with local search heuristics in hyperparameter tuning.
  • To investigate the impact of the Random Walk component on the performance of the hybrid algorithm.
  • To provide a competitive, efficient alternative to Bayesian Optimization and CMA-ES for hyperparameter tuning in neural networks.

Proposed method

  • HBRKGA combines Biased Random Key Genetic Algorithm (BRKGA) with a Random Walk technique to enhance local search within the hyperparameter space.
  • Each individual in the population is perturbed via a Random Walk with a fixed number of steps to explore neighboring configurations.
  • The algorithm uses a fitness function based on model performance (F₁ score) on a validation set to guide selection and evolution.
  • Population-based selection, crossover, and mutation are applied in each generation to evolve better hyperparameter configurations.
  • The Random Walk is applied after each new solution is generated, increasing diversity and improving local convergence.
  • The method is evaluated using a fixed number of model evaluations per run, ensuring fair comparison with baseline methods.

Experimental results

Research questions

  • RQ1Does the integration of a Random Walk into BRKGA improve hyperparameter optimization performance compared to standard BRKGA?
  • RQ2How does HBRKGA compare to Grid Search, Random Search, Bayesian Optimization, and CMA-ES in terms of predictive performance and computational efficiency?
  • RQ3What is the contribution of the Random Walk component to the overall performance of HBRKGA?
  • RQ4Can HBRKGA achieve statistically significant improvements in F₁ score across diverse classification datasets?
  • RQ5Is HBRKGA scalable and robust across different neural network architectures and data distributions?

Key findings

  • HBRKGA achieved higher average F₁ scores than all baseline methods in six out of eight datasets.
  • In three datasets, HBRKGA showed a statistically significant improvement in F₁ score compared to other methods, as confirmed by the Wilcoxon signed-rank test.
  • The ablation study revealed that HBRKGA with the Random Walk (HBRKGA(3)) achieved a mean F₁ of 0.980 ± 0.00285, significantly outperforming HBRKGA without Random Walk (0.975 ± 0.00195).
  • The Random Walk component contributed to better exploration and higher performance, even though it increased solution count per generation.
  • HBRKGA maintained reasonable execution time, outperforming computationally expensive methods like Bayesian Optimization while matching or surpassing CMA-ES in performance.
  • The method demonstrated robustness across diverse datasets, including MNIST, Fashion-MNIST, COSMOS, and synthetic rectangle data.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.