Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Algorithm Discovery With LLMs: Evolutionary Search Meets Reinforcement Learning

About

Discovering efficient algorithms for solving complex problems has been an outstanding challenge in mathematics and computer science, requiring substantial human expertise over the years. Recent advancements in evolutionary search with large language models (LLMs) have shown promise in accelerating the discovery of algorithms across various domains, particularly in mathematics and optimization. However, existing approaches treat the LLM as a static generator, missing the opportunity to update the model with the signal obtained from evolutionary exploration. In this work, we propose to augment LLM-based evolutionary search by continuously refining the search operator - the LLM - through reinforcement learning (RL) fine-tuning. Our method leverages evolutionary search as an exploration strategy to discover improved algorithms, while RL optimizes the LLM policy based on these discoveries. Our experiments on combinatorial optimization tasks demonstrate that integrating RL with evolutionary search accelerates the discovery of superior algorithms, showcasing the potential of RL-enhanced evolutionary strategies for algorithm design.

Anja Surina, Amin Mansouri, Lars Quaedvlieg, Amal Seddas, Maryna Viazovska, Emmanuel Abbe, Caglar Gulcehre• 2025

Related benchmarks

TaskDatasetResultRank
Bandit OptimizationBandit Task
Initial NMR-0.621
3
Scientific Machine Learning (SciML)1D Viscous Burgers' Equation (val)
Initial Validation Loss0.88
3
Showing 2 of 2 rows

Other info

Follow for update