arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2406.10675cs.NE
收藏

大语言模型作为进化算法中的代理模型:一项初步研究

Large Language Models as Surrogate Models in Evolutionary Algorithms: A Preliminary Study

Hao Hao, Xiaoqun Zhang, Aimin Zhou

AI总结:

本文提出无需训练的LLM辅助进化算法LAEA,将LLM推理直接用作代理模型进行解的质量分类与回归预测,实验表明其性能可媲美传统代理模型。

摘要:

大语言模型(LLMs)已在多个领域取得显著进展,并在进化计算中展现出强大潜力,例如生成新解和自动化算法设计。代理辅助选择是进化算法中解决昂贵优化问题的核心步骤,其目的是减少真实评估次数。传统上,该方法依赖传统机器学习手段,利用历史评估数据来预测新解的性能。在本工作中,我们提出了一种完全基于LLM推理能力的新型代理模型,无需训练。具体而言,我们将模型辅助选择形式化为分类和回归问题,利用LLM根据历史数据直接评估新解的质量,包括预测一个解是好是坏,或近似其目标值。该方法随后被集成到进化算法中,称为LLM辅助进化算法(LAEA)。详细实验比较了9个主流LLM在二维数据上的可视化结果,以及它们在优化问题上的表现。实验结果表明,LLM作为进化计算中的代理模型具有显著潜力,仅通过推理即可达到与传统代理模型相当的性能。本工作为LLM在进化计算中的应用提供了新的见解。代码可在以下地址获取:https://github.com/hhyqhh/LAEA.git

英文摘要:

Large Language Models (LLMs) have achieved significant progress across various fields and have exhibited strong potential in evolutionary computation, such as generating new solutions and automating algorithm design. Surrogate-assisted selection is a core step in evolutionary algorithms to solve expensive optimization problems by reducing the number of real evaluations. Traditionally, this has relied on conventional machine learning methods, leveraging historical evaluated evaluations to predict the performance of new solutions. In this work, we propose a novel surrogate model based purely on LLM inference capabilities, eliminating the need for training. Specifically, we formulate model-assisted selection as a classification and regression problem, utilizing LLMs to directly evaluate the quality of new solutions based on historical data. This involves predicting whether a solution is good or bad, or approximating its value. This approach is then integrated into evolutionary algorithms, termed LLM-assisted EA (LAEA). Detailed experiments compared the visualization results of 2D data from 9 mainstream LLMs, as well as their performance on optimization problems. The experimental results demonstrate that LLMs have significant potential as surrogate models in evolutionary computation, achieving performance comparable to traditional surrogate models only using inference. This work offers new insights into the application of LLMs in evolutionary computation. Code is available at: https://github.com/hhyqhh/LAEA.git

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑