English

Improving Existing Optimization Algorithms with LLMs

Artificial Intelligence 2025-02-13 v1 Computation and Language Machine Learning Software Engineering

Abstract

The integration of Large Language Models (LLMs) into optimization has created a powerful synergy, opening exciting research opportunities. This paper investigates how LLMs can enhance existing optimization algorithms. Using their pre-trained knowledge, we demonstrate their ability to propose innovative heuristic variations and implementation strategies. To evaluate this, we applied a non-trivial optimization algorithm, Construct, Merge, Solve and Adapt (CMSA) -- a hybrid metaheuristic for combinatorial optimization problems that incorporates a heuristic in the solution construction phase. Our results show that an alternative heuristic proposed by GPT-4o outperforms the expert-designed heuristic of CMSA, with the performance gap widening on larger and denser graphs. Project URL: https://imp-opt-algo-llms.surge.sh/

Keywords

Cite

@article{arxiv.2502.08298,
  title  = {Improving Existing Optimization Algorithms with LLMs},
  author = {Camilo Chacón Sartori and Christian Blum},
  journal= {arXiv preprint arXiv:2502.08298},
  year   = {2025}
}
R2 v1 2026-06-28T21:41:30.440Z