arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2612.00427cs.MScs.AIcs.SE
收藏

比西方更快:便携式快速傅里叶变换的智能体工程实现

Faster than the West: agentic engineering of a portable fast Fourier transform

Tobias Knopp

AI总结:

本研究探索在领域专家指导下,编码智能体能否实现最优科学软件,通过智能体构建出性能优于多数竞品的便携式快速傅里叶变换库,凸显智能体工程的潜力。

摘要:

编码智能体越来越多地编写科学软件。我们询问,在领域专家指导下,编码智能体能否达到人工工程库的最优水平,以及专家的作用是什么。快速傅里叶变换是一项严苛测试:其参考实现FFTW凝聚了数十年的专家工作。本研究中,智能体在7天内、累计60小时的有效工作时间内构建了这样一个库并公开发布。该Julia包可在ARM、x86处理器,苹果、英伟达图形处理器上运行,也可作为C库使用。9天后的测试显示,在各类处理器上,它在76%-85%的场景中比其他最快库更快;在苹果图形处理器上,该比例为73%;在英伟达图形处理器上,其性能与VkFFT相当。记录显示,智能体针对与竞品的性能差距进行优化,而专家主要负责检查其工作,少数关于测量基准的决策构成了规范。

英文摘要:

Coding agents increasingly write scientific software. We asked whether one, guided by a domain expert, can match the best hand-engineered libraries, and what the expert contributes. The fast Fourier transform is a severe test: its reference, FFTW, embodies decades of expert work. Here an agent built such a library in 60 active hours within 7 days up to its public release. One Julia package runs on ARM and x86 processors, Apple and NVIDIA graphics processors and as a C library. Measured 9 days later, it was faster than the fastest other library in 76-85% of cases on the processors and in 73% on the Apple graphics processor, and on a par with VkFFT on the NVIDIA graphics processor. The record shows the agent taking up gaps measured against competitors while the expert mostly checked its work; a few decisions on what to measure against acted as the specification.

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

↑