NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Large Language Model for Multi-objective Evolutionary Optimization

Fei Liu, Xi Lin, Zhenkun Wang, Shunyu Yao, Xialiang Tong, Mingxuan Yuan, Qingfu ZhangarXiv 2023

Abstract

Multiobjective evolutionary algorithms (MOEAs) are major methods for solving multiobjective optimization problems (MOPs). Many MOEAs have been proposed in the past decades, of which the search operators need a carefully handcrafted design with domain knowledge. Recently, some attempts have been made to replace the manually designed operators in MOEAs with learning-based operators (e.g., neural network models). However, much effort is still required for designing and training such models, and the learned operators might not generalize well on new problems. To tackle the above challenges, this work investigates a novel approach that leverages the powerful large language model (LLM) to design MOEA operators. With proper prompt engineering, we successfully let a general LLM serve as a black-box search operator for decomposition-based MOEA (MOEA/D) in a zero-shot manner. In addition, by learning from the LLM behavior, we further design an explicit white-box operator with randomness and propose a new version of decomposition-based MOEA, termed MOEA/D-LO. Experimental studies on different test benchmarks show that our proposed method can achieve competitive performance with widely used MOEAs. It is also promising to see the operator only learned from a few instances can have robust generalization performance on unseen problems with quite different patterns and settings. The results reveal the potential benefits of using pre-trained LLMs in the design of MOEAs.

Introduction

Multi-objective optimization problems (MOPs) involve optimizing multiple conflicting objectives simultaneously, leading to a set of trade-off solutions known as the Pareto front. Traditionally, Multi-objective Evolutionary Algorithms (MOEAs) rely on handcrafted search operators, such as crossover and mutation, which require significant domain expertise. While learning-based operators have been explored, they often suffer from high training costs and poor generalization. This paper explores whether Large Language Models (LLMs), with their broad reasoning capabilities, can serve as effective search operators in a zero-shot or distilled manner.

The MOEA/D-LLM Framework

The researchers integrated LLMs into the MOEA/D (Multi-objective Evolutionary Algorithm based on Decomposition) framework. The core idea is to decompose a complex MOP into several single-objective subproblems. For each subproblem, an LLM acts as the search operator.

Figure 1: Flowchart of the MOEA/D-LLM framework, showing the integration of LLMs as search operators within the evolutionary loop.

As shown in Figure 1, the process involves:

  1. Initialization: Generating an initial population.
  2. Decomposition: Breaking the MOP into $N$ subproblems.
  3. Prompt Engineering: For each subproblem $g^i(x)$, parent solutions and neighborhood information are formatted into a text prompt.
  4. LLM Inference: A black-box LLM (e.g., GPT-3.5) processes the prompt and suggests new offspring solutions ($o^i$).
  5. Feedback Loop: The new solutions are evaluated and used to update the population.

Distilling the LLM: MOEA/D-LO

While MOEA/D-LLM is effective, calling an LLM API repeatedly is computationally expensive. To address this, the authors analyzed the LLM's behavior. By performing regression on thousands of input-output pairs, they discovered that the LLM acts as a weighted linear operator with added randomness.

Figure 4: Comparison between the black-box LLM operator and the distilled white-box Linear Operator (LO) with noise.

This insight led to the development of MOEA/D-LO, which replaces the expensive LLM calls with a simple, explicit mathematical formula (the Linear Operator, or LO). As illustrated in Figure 4, this "white-box" operator mimics the LLM's "thought process"—specifically its tendency to favor elite solutions while maintaining exploration—allowing for much faster execution.

Key Insights and Results

The study yielded several significant findings:

  • Zero-Shot Optimization: LLMs can identify numerical patterns and suggest improved solutions without problem-specific training.
  • Elite Bias and Exploration: Analysis showed LLMs naturally prioritize high-performing parents (exploitation) while still considering lower-performing ones to avoid local optima (exploration).
  • Performance: MOEA/D-LO achieved competitive or superior performance compared to standard algorithms like NSGA-II and MOEA/D-DE across various benchmarks (RE, ZDT, and UF series).
  • Robustness: The distilled operator demonstrated strong generalization, performing well on unseen problems with different Pareto front shapes.

Conclusion

This work demonstrates that LLMs can be used not just as chatbots, but as powerful tools for algorithmic design. By treating the LLM as a source of inspiration and distilling its logic into a white-box operator, researchers can create efficient, robust, and explainable optimization algorithms. Future work will explore more complex prompting strategies and the incorporation of search history to further enhance performance.

Source code: https://github.com/FeiLiu36/LLM4MOEA

Summary updated

BibTeX
@misc{liu2023large,
  author = {Fei Liu and Xi Lin and Zhenkun Wang and Shunyu Yao and Xialiang Tong and Mingxuan Yuan and Qingfu Zhang},
  title = {{Large Language Model for Multi-objective Evolutionary Optimization}},
  year = {2023},
  eprint = {2310.12541},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.12541},
}
Figure