arXiv · 2502.08298
Improving Existing Optimization Algorithms with LLMs
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/
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Camilo Chacón Sartori, Christian Blum. 2025-02-12. Improving Existing Optimization Algorithms with LLMs. https://arxiv.org/abs/2502.08298
Cite the original work for its findings. Save a collection to share your selection of sources.