arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.02792cs.LGcs.NE
收藏

从启发式选择到自动化算法设计:LLMs受益于强先验

From Heuristic Selection to Automated Algorithm Design: LLMs Benefit from Strong Priors

Qi Huang, Furong Ye, Ananta Shahane, Thomas Bäck, Niki van Stein

AI总结:

本文提出利用基准算法引导LLM优化,提升黑箱优化在pbo和bbob基准上的性能。

摘要:

大型语言模型(LLMs)已经广泛应用于自动化算法设计,展示了在各种领域生成和进化算法方面的强大能力。现有研究主要集中在考察其在解决特定问题上的有效性,搜索策略主要由自适应提示设计引导。在本文中,通过研究提示对LLM生成算法代码的逐词归因,我们表明提供高质量的算法代码示例可以显著提高LLM驱动的优化性能。基于这一见解,我们提出利用基准算法作为引导,使LLM驱动的优化方法在两个黑箱优化基准上表现更优:伪布尔优化套件(pbo)和黑箱优化套件(bbob)。我们的发现强调了整合基准研究以提高LLM驱动的黑箱优化方法效率和鲁棒性的价值。

英文摘要:

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 code, we show that the embedded code examples and their associated strategy instructions have the strongest influence on the generated algorithms. Building upon this insight, we propose leveraging existing benchmark algorithms as strong priors to guide LLM-driven optimization. We evaluate this approach with three LLMs on two black-box optimization benchmarks: the pseudo-Boolean optimization suite (pbo) and the black-box optimization suite (bbob). Despite relying on a simple (1+1) elitist search, it obtains the best average rank in five of six benchmark--LLM settings against six state-of-the-art LLM-driven methods, including more sophisticated search strategies. Our findings highlight the value of integrating benchmarking studies to enhance both efficiency and robustness of the LLM-driven black-box optimization methods.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑