Leonardo Lucio Custode, Fabio Caraffini, Anil Yaman, Giovanni Iacca
{"title":"An investigation on the use of Large Language Models for hyperparameter tuning in Evolutionary Algorithms","authors":"Leonardo Lucio Custode, Fabio Caraffini, Anil Yaman, Giovanni Iacca","doi":"arxiv-2408.02451","DOIUrl":null,"url":null,"abstract":"Hyperparameter optimization is a crucial problem in Evolutionary Computation.\nIn fact, the values of the hyperparameters directly impact the trajectory taken\nby the optimization process, and their choice requires extensive reasoning by\nhuman operators. Although a variety of self-adaptive Evolutionary Algorithms\nhave been proposed in the literature, no definitive solution has been found. In\nthis work, we perform a preliminary investigation to automate the reasoning\nprocess that leads to the choice of hyperparameter values. We employ two\nopen-source Large Language Models (LLMs), namely Llama2-70b and Mixtral, to\nanalyze the optimization logs online and provide novel real-time hyperparameter\nrecommendations. We study our approach in the context of step-size adaptation\nfor (1+1)-ES. The results suggest that LLMs can be an effective method for\noptimizing hyperparameters in Evolution Strategies, encouraging further\nresearch in this direction.","PeriodicalId":501347,"journal":{"name":"arXiv - CS - Neural and Evolutionary Computing","volume":"47 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-08-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Neural and Evolutionary Computing","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2408.02451","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
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.