Large Language Model-Based Evolutionary Optimizer: Reasoning with elitism
Shuvayan Brahmachary, Subodh M. Joshi, Aniruddha Panda, Kaushik Koneripalli, Arun Kumar Sagotra, Harshil Patel, Ankush Sharma, Ameya D. Jagtap, Kaushic Kalyanaraman
TL;DR
This work introduces Language-model Based Evolutionary Optimizer (LEO), a parameter-free, population-based framework that uses large language models to generate exploration and exploitation candidates for black-box optimization. By enforcing elitist guardrails through port-and-filter operations, LEO achieves competitive performance on 2D benchmarks, integrates with NSGA-II for multi-objective problems, and scales to higher dimensions and engineering tasks (nozzle design, heat transfer, wind-farm layout). The authors demonstrate LLMs’ reasoning capability in optimization and discuss practical remedies for hallucinations, variability, and high-dimensional challenges, while acknowledging substantial LLM-calling costs. Overall, LEO offers a modular, practical pathway to harnessing LLMs for diverse optimization tasks, with clear directions for improving robustness and scalability.
Abstract
Large Language Models (LLMs) have demonstrated remarkable reasoning abilities, prompting interest in their application as black-box optimizers. This paper asserts that LLMs possess the capability for zero-shot optimization across diverse scenarios, including multi-objective and high-dimensional problems. We introduce a novel population-based method for numerical optimization using LLMs called Language-Model-Based Evolutionary Optimizer (LEO). Our hypothesis is supported through numerical examples, spanning benchmark and industrial engineering problems such as supersonic nozzle shape optimization, heat transfer, and windfarm layout optimization. We compare our method to several gradient-based and gradient-free optimization approaches. While LLMs yield comparable results to state-of-the-art methods, their imaginative nature and propensity to hallucinate demand careful handling. We provide practical guidelines for obtaining reliable answers from LLMs and discuss method limitations and potential research directions.
