Online Automated Algorithm Design with Large Language Models
Zhiyao Zhang, Yichen Li, Xingyu Wu, Liang Feng, Kay Chen Tan
Abstract
Large language models (LLMs) enable automated algorithm design (AAD) through reasoning and code synthesis. However, most existing LLM-based AAD methods separate algorithm design from target optimization, deploying a fixed design even as the optimization state evolves. Conventional adaptive optimizers can respond to such changes, but their adjustments remain confined to predefined parameters, operators, or strategies. To address these limitations, we introduce online LLM-based AAD, a novel optimization paradigm that treats the algorithm itself as a state-dependent decision variable. At each stage, LLM agents synthesize an algorithm with new behavior logic from the current optimization state. Executing the generated algorithm advances the search and provides feedback for subsequent designs, coupling algorithm design with target optimization without requiring a separate offline algorithm pretraining stage. To implement this paradigm, we propose OnDesign, a multi-agent framework that reconciles competing design perspectives to synthesize executable algorithms and uses execution feedback to refine how runtime evidence is interpreted for subsequent designs. We evaluate OnDesign across two mainstream black-box optimization paradigms on three scenarios: Bayesian optimization, evolutionary continuous optimization, and evolutionary mixed-variable optimization. Extensive experiments on six benchmark suites and one engineering problem across multiple problem dimensions demonstrate superior overall performance over conventional optimizers and offline LLM-based AAD methods.
Create a lesson
Related papers
Speeding up Automated Algorithm Design by Batch Evaluation: A Case Study of Genetic Programming for Ant Colony Optimisation
Shared title terminology · Bo-Cheng Lin, Yi Mei, Mengjie Zhang
LLMDE: A Large Language Model-Driven Differential Evolution Algorithm for Portfolio Optimization
Shared title terminology · Rong Chai, Vaclav Snasel, Xiaopeng Wang et al.
Incremental Speciation in Evolutionary Red Teaming of Large Language Models
Shared title terminology · Onkar Shelar, Travis Desell
AgenticEvolve: Evolutionary Program Search with Persistent Language Model Agents that Design and Run Experiments
Shared title terminology · Ze-Yu Peng, Qing-Yu Lan, Zhan-He Wang et al.
When the implementation matters more than the algorithm: NSGA-II and other multi-objective optimizers in engineering design tools
Shared title terminology · Luciano Ambrosini
Large Language Model-Guided Evolutionary Discovery of Native Neural Architectures for Spiking Sequence Modeling
Shared title terminology · Ruoyu Zhao, Jiaqi Wu, Chenyu Zhu et al.