Algorithm Evolution Using Large Language Model

Fei Liu, Xialiang Tong, Mingxuan Yuan, Qingfu Zhang
11/26/2023
cs.NEcs.AIcs.LG

Official code: FeiLiu36/LLM4MOEA (63 stars, MIT, last commit 2024-05-30).

Abstract

Optimization can be found in many real-life applications. Designing an effective algorithm for a specific optimization problem typically requires a tedious amount of effort from human experts with domain knowledge and algorithm design skills. In this paper, we propose a novel approach called Algorithm Evolution using Large Language Model (AEL). It utilizes a large language model (LLM) to automatically generate optimization algorithms via an evolutionary framework. AEL does algorithm-level evolution without model training. Human effort and requirements for domain knowledge can be significantly reduced. We take constructive methods for the salesman traveling problem as a test example, we show that the constructive algorithm obtained by AEL outperforms simple hand-crafted and LLM-generated heuristics. Compared with other domain deep learning model-based algorithms, these methods exhibit excellent scalability across different problem sizes. AEL is also very different from previous attempts that utilize LLMs as search operators in algorithms.

View on arXivView PDF

Code Implementations(1)

MIT

Large Language Model for MOEA

636Cython, MATLABFeb 27, 20242 years agoMIT

Similar Papers

Cite this paper

@article{liu2023algorithm,
  title  = {Algorithm Evolution Using Large Language Model},
  author = {Fei Liu and Xialiang Tong and Mingxuan Yuan and Qingfu Zhang},
  year   = {2023},
  eprint = {2311.15249},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.15249v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.15249.svg)](https://codeofpaper.com/paper/2311.15249)

Discussion