English

An investigation on the use of Large Language Models for hyperparameter tuning in Evolutionary Algorithms

Neural and Evolutionary Computing 2024-08-06 v1

Abstract

Hyperparameter optimization is a crucial problem in Evolutionary Computation. In fact, the values of the hyperparameters directly impact the trajectory taken by the optimization process, and their choice requires extensive reasoning by human operators. Although a variety of self-adaptive Evolutionary Algorithms have been proposed in the literature, no definitive solution has been found. In this work, we perform a preliminary investigation to automate the reasoning process that leads to the choice of hyperparameter values. We employ two open-source Large Language Models (LLMs), namely Llama2-70b and Mixtral, to analyze the optimization logs online and provide novel real-time hyperparameter recommendations. We study our approach in the context of step-size adaptation for (1+1)-ES. The results suggest that LLMs can be an effective method for optimizing hyperparameters in Evolution Strategies, encouraging further research in this direction.

Keywords

Cite

@article{arxiv.2408.02451,
  title  = {An investigation on the use of Large Language Models for hyperparameter tuning in Evolutionary Algorithms},
  author = {Leonardo Lucio Custode and Fabio Caraffini and Anil Yaman and Giovanni Iacca},
  journal= {arXiv preprint arXiv:2408.02451},
  year   = {2024}
}

Comments

Proceedings of the GECCO'24 Companion: Genetic and Evolutionary Computation Conference Companion

R2 v1 2026-06-28T18:04:11.730Z