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

为自动调优优化器设计自动化算法

Automated Algorithm Design for Auto-Tuning Optimizers

Floris-Jan Willemsen, Niki van Stein, Ben van Werkhoven

AI总结:

本文提出利用大语言模型自动生成适应自动调优问题的优化算法,通过问题描述和搜索空间特征提示模型,生成、测试并迭代改进专用优化器,在六个硬件平台上评估后,展示出30.7%和14.6%的性能提升,优于现有方法。

摘要:

自动性能调优(自动调优)对于优化高性能应用至关重要,其中庞大的不规则搜索空间使得手动探索不可行。尽管传统自动调优器依赖于进化、退火或替代方法,但设计在不同任务中高效找到近最优配置的算法具有挑战性。本文提出一种新范式:利用大语言模型(LLMs)自动生成适应自动调优问题的优化算法。我们引入一个框架,通过问题描述和搜索空间特征提示LLMs,生成、测试并迭代改进专用优化器。这些生成的算法在四个真实世界自动调优应用上评估,涵盖六个硬件平台,并与两个当代自动调优框架的最新状态进行比较。评估显示,在生成阶段提供额外的应用和搜索空间特定信息,使平均性能提高30.7%和14.6%。此外,我们的结果表明,LLM生成的优化器可以与现有的人工设计算法竞争,并在某些情况下表现更优,我们的最佳生成优化算法在自动调优中比最新优化器平均提高了72.4%。

英文摘要:

Automatic performance tuning (auto-tuning) is essential for optimizing high-performance applications, where vast and irregular search spaces make manual exploration infeasible. While auto-tuners traditionally rely on classical approaches such as evolutionary, annealing, or surrogate-based optimizers, designing algorithms that efficiently find near-optimal configurations robustly across diverse tasks is challenging. We propose a new paradigm: using large language models (LLMs) to automatically generate optimization algorithms tailored to auto-tuning problems. We introduce a framework that prompts LLMs with problem descriptions and search space characteristics to synthesize, test, and iteratively refine specialized optimizers. These generated algorithms are evaluated on four real-world auto-tuning applications across six hardware platforms and compared against the state-of-the-art in two contemporary auto-tuning frameworks. The evaluation demonstrates that providing additional application- and search space-specific information in the generation stage results in an average performance improvement of 30.7% and 14.6%, respectively. In addition, our results show that LLM-generated optimizers can rival, and in various cases outperform, existing human-designed algorithms, with our best-performing generated optimization algorithms achieving an average 72.4% improvement over state-of-the-art optimizers for auto-tuning.

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

↑