irace-evo: Automatic Algorithm Configuration Extended With LLM-Based Code Evolution
By: Camilo Chacón Sartori, Christian Blum
Potential Business Impact:
Makes computer programs write themselves better.
Automatic algorithm configuration tools such as irace efficiently tune parameter values but leave algorithmic code unchanged. This paper introduces a first version of irace-evo, an extension of irace that integrates code evolution through large language models (LLMs) to jointly explore parameter and code spaces. The proposed framework enables multi-language support (e.g., C++, Python), reduces token consumption via progressive context management, and employs the Always-From-Original principle to ensure robust and controlled code evolution. We evaluate irace-evo on the Construct, Merge, Solve & Adapt (CMSA) metaheuristic for the Variable-Sized Bin Packing Problem (VSBPP). Experimental results show that irace-evo can discover new algorithm variants that outperform the state-of-the-art CMSA implementation while maintaining low computational and monetary costs. Notably, irace-evo generates competitive algorithmic improvements using lightweight models (e.g., Claude Haiku 3.5) with a total usage cost under 2 euros. These results demonstrate that coupling automatic configuration with LLM-driven code evolution provides a powerful, cost-efficient avenue for advancing heuristic design and metaheuristic optimization.
Similar Papers
AutoICE: Automatically Synthesizing Verifiable C Code via LLM-driven Evolution
Software Engineering
Makes computer code write itself correctly.
GigaEvo: An Open Source Optimization Framework Powered By LLMs And Evolution Algorithms
Neural and Evolutionary Computing
Builds smarter computer programs to solve hard problems.
EvoVerilog: Large Langugage Model Assisted Evolution of Verilog Code
Hardware Architecture
Makes computers design computer parts automatically.