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.

An investigation on the use of Large Language Models for hyperparameter tuning in Evolutionary Algorithms / Custode, Leonardo Lucio; Caraffini, Fabio; Yaman, Anil; Iacca, Giovanni. - (2024), pp. 1838-1845. ( 2024 Genetic and Evolutionary Computation Conference Companion, GECCO 2024 Companion Melbourne 14th July- 18th July 2024) [10.1145/3638530.3664163].

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

Leonardo Lucio Custode;Giovanni Iacca
2024-01-01

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.
2024
GECCO '24 Companion: Proceedings of the Genetic and Evolutionary Computation Conference Companion
New York
Association for Computing Machinery, Inc
9798400704956
Custode, Leonardo Lucio; Caraffini, Fabio; Yaman, Anil; Iacca, Giovanni
An investigation on the use of Large Language Models for hyperparameter tuning in Evolutionary Algorithms / Custode, Leonardo Lucio; Caraffini, Fabio; Yaman, Anil; Iacca, Giovanni. - (2024), pp. 1838-1845. ( 2024 Genetic and Evolutionary Computation Conference Companion, GECCO 2024 Companion Melbourne 14th July- 18th July 2024) [10.1145/3638530.3664163].
File in questo prodotto:
File Dimensione Formato  
3638530.3664163.pdf

accesso aperto

Tipologia: Versione editoriale (Publisher’s layout)
Licenza: Creative commons
Dimensione 695.49 kB
Formato Adobe PDF
695.49 kB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11572/422135
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 8
  • ???jsp.display-item.citation.isi??? ND
  • OpenAlex 8
social impact