Search papers, labs, and topics across Lattice.
The paper investigates how Large Language Models (LLMs) can be improved for automated algorithm design by providing high-quality algorithmic code examples within the prompts. Token-wise attribution analysis reveals that strong priors in the form of benchmark algorithms significantly enhance the performance of LLM-generated code. Experiments on pseudo-Boolean optimization (pbo) and black-box optimization (bbob) benchmarks demonstrate that leveraging prior benchmark algorithms to guide LLM-driven optimization leads to superior performance.
Forget prompt engineering, just prime LLMs with strong algorithmic priors and watch them crush black-box optimization benchmarks.
Large Language Models (LLMs) have already been widely adopted for automated algorithm design, demonstrating strong abilities in generating and evolving algorithms across various fields. Existing work has largely focused on examining their effectiveness in solving specific problems, with search strategies primarily guided by adaptive prompt designs. In this paper, through investigating the token-wise attribution of the prompts to LLM-generated algorithmic codes, we show that providing high-quality algorithmic code examples can substantially improve the performance of the LLM-driven optimization. Building upon this insight, we propose leveraging prior benchmark algorithms to guide LLM-driven optimization and demonstrate superior performance on two black-box optimization benchmarks: the pseudo-Boolean optimization suite (pbo) and the black-box optimization suite (bbob). Our findings highlight the value of integrating benchmarking studies to enhance both efficiency and robustness of the LLM-driven black-box optimization methods.