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

Leonardo Lucio Custode, Fabio Caraffini, Anil Yaman, Giovanni Iacca*

*Corresponding author for this work

Research output: Chapter in Book / Report / Conference proceedingConference contributionAcademicpeer-review

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.

Original languageEnglish
Title of host publicationGECCO '24 Companion
Subtitle of host publicationProceedings of the Genetic and Evolutionary Computation Conference Companion
PublisherAssociation for Computing Machinery, Inc
Pages1838-1845
Number of pages8
ISBN (Electronic)9798400704956
DOIs
Publication statusPublished - 2024
Event2024 Genetic and Evolutionary Computation Conference Companion, GECCO 2024 Companion - Melbourne, Australia
Duration: 14 Jul 202418 Jul 2024

Conference

Conference2024 Genetic and Evolutionary Computation Conference Companion, GECCO 2024 Companion
Country/TerritoryAustralia
CityMelbourne
Period14/07/2418/07/24

Bibliographical note

Publisher Copyright:
© 2024 is held by the owner/author(s).

Keywords

  • evolutionary algorithms
  • landscape analysis
  • large language models
  • parameter tuning

Fingerprint

Dive into the research topics of 'An investigation on the use of Large Language Models for hyperparameter tuning in Evolutionary Algorithms'. Together they form a unique fingerprint.

Cite this