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

AccelOpt:一种自我改进的LLM代理系统,用于AI加速器内核优化

AccelOpt: A Self-Improving LLM Agentic System for AI Accelerator Kernel Optimization

Anonymous Authors(匿名作者)

Genghan Zhang, Shaowei Zhu, Anjiang Wei, Zhenyu Song, Allen Nie, Zhen Jia, Nandita Vijaykumar, Yida Wang, Kunle Olukotun

AI总结:

AccelOpt通过迭代生成探索内核优化空间,利用优化记忆库提升AI加速器内核性能,实验证明其能力随时间提升,且成本效益高。

摘要:

我们提出了AccelOpt,一种自我改进的大型语言模型(LLM)代理系统,能够自主优化新兴AI加速器的内核,无需专家提供的硬件特定优化知识。AccelOpt通过迭代生成探索内核优化空间,其优化记忆库会整理之前遇到的慢-快内核对的经验和见解。我们构建了NKIBench,一个新的AWS Trainium加速器内核基准测试集,从中提取出不同复杂度的内核,用于评估AccelOpt的有效性。我们的评估证实,AccelOpt的能力随时间提升,使Trainium 1的平均峰值吞吐量从49%提升到61%,Trainium 2则从45%提升到59%。此外,AccelOpt具有高度成本效益:使用开源模型,其内核改进效果可与Claude Sonnet 4相媲美,但成本低26倍。代码已开源在https://github.com/zhang677/AccelOpt。

英文摘要:

We present AccelOpt, a self-improving large language model (LLM) agentic system that autonomously optimizes kernels for emerging AI acclerators, eliminating the need for expert-provided hardware-specific optimization knowledge. AccelOpt explores the kernel optimization space through iterative generation, informed by an optimization memory that curates experiences and insights from previously encountered slow-fast kernel pairs. We build NKIBench, a new benchmark suite of AWS Trainium accelerator kernels with varying complexity extracted from real-world LLM workloads to evaluate the effectiveness of AccelOpt. Our evaluation confirms that AccelOpt's capability improves over time, boosting the average percentage of peak throughput from $49\%$ to $61\%$ on Trainium 1 and from $45\%$ to $59\%$ on Trainium 2 for NKIBench kernels. Moreover, AccelOpt is highly cost-effective: using open-source models, it matches the kernel improvements of Claude Sonnet 4 while being $26\times$ cheaper. The code is open-sourced at https://github.com/zhang677/AccelOpt.

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

↑