Large Language Model-Driven Surrogate-Assisted Evolutionary Algorithm for Expensive Optimization

Lindong Xie, Genghui Li, Zhenkun Wang, Edward Chung, Maoguo GongarXiv 2025 · DOI

Abstract

Surrogate-assisted evolutionary algorithms (SAEAs) are highly effective for optimizing expensive black-box functions, yet dynamically selecting the appropriate surrogate model and sampling criteria remains a significant challenge. This paper introduces LLM-SAEA, a novel framework that utilizes Large Language Models (LLMs) as a "collaboration of experts" to autonomously score and select algorithm configurations. By decoupling the tasks of performance evaluation and strategic decision-making, and incorporating a self-reflection safety mechanism, LLM-SAEA achieves state-of-the-art performance on complex benchmark problems without the need for manual reward engineering.

Introduction

In fields ranging from drug discovery to automotive engineering, researchers often face Expensive Optimization Problems (EOPs), where evaluating a single candidate solution is computationally or financially prohibitive. SAEAs address this by using cheap "surrogate" models to approximate the expensive objective function. However, the effectiveness of a specific surrogate or infill sampling criterion varies across problems and optimization stages. Traditional methods for dynamic configuration, such as Reinforcement Learning (RL), require extensive manual tuning of states and rewards. LLM-SAEA proposes to bypass this complexity by leveraging the zero-shot reasoning and contextual understanding of LLMs.

The LLM-SAEA Framework

The core of LLM-SAEA is a dual-LLM architecture that manages a pool of eight algorithm configurations (actions). This "collaboration of experts" approach splits the cognitive load into two specialized roles:

  1. Scoring Expert (LLM-SE): This component evaluates the quality of newly generated solutions. By comparing a solution's objective value and rank against the existing population, the LLM-SE generates a normalized quality score (0 to 1), which is used to update the historical success rates of the chosen action.
  2. Decision Expert (LLM-DE): At each iteration, the LLM-DE analyzes the current state—including remaining time, historical scores, and selection frequencies. It is tasked with balancing exploration (trying less-used actions) and exploitation (using high-performing actions).
The LLM-SAEA framework architecture featuring the dual-expert collaboration loop between the Decision Expert, Scoring Expert, and the optimization environment.

To mitigate potential "hallucinations" or errors common in LLMs, the framework includes a Self-Reflection Mechanism. The Decision Expert must provide a confidence label ("certain" or "uncertain"). If the LLM is uncertain, the system reverts to a robust statistical selection method (softmax-based roulette wheel), ensuring the optimization process remains stable.

Experimental Evaluation and Results

The authors evaluated LLM-SAEA against nine state-of-the-art algorithms using 20 benchmark functions (including the CEC 2005 suite) at 10D and 30D scales.

LLM-SAEA demonstrated superior performance, achieving the top overall ranking according to the Friedman statistical test. On 10D problems, it significantly outperformed competitors like ESAO and GL-SADE in the majority of test cases. Ablation studies further confirmed that the dynamic selection driven by the LLM outperformed static configurations and traditional Q-learning approaches.

Convergence curves showing the function error reduction of LLM-SAEA compared to other state-of-the-art SAEAs across various 10D benchmark functions.

Conclusion

LLM-SAEA represents a significant step toward autonomous algorithm configuration. By replacing hand-crafted RL controllers with LLM-based experts, the framework achieves high performance with reduced engineering effort. While the computational overhead of LLM API calls remains a consideration, the ability of LLMs to reason about optimization states opens new avenues for developing more flexible and powerful evolutionary algorithms. Future work will focus on validating this approach on real-world engineering applications and refining prompt engineering techniques.

Summary updated

BibTeX
@misc{xie2025large,
  author = {Lindong Xie and Genghui Li and Zhenkun Wang and Edward Chung and Maoguo Gong},
  title = {{Large Language Model-Driven Surrogate-Assisted Evolutionary Algorithm for Expensive Optimization}},
  year = {2025},
  eprint = {2507.02892},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.02892},
}
Figure