跳到正文
arXiv cs.AI· Byonggon Chun·· 3 小时前AI 评分55

arXiv 论文:多智能体循环为 FuriosaAI RNGD NPU 优化内核,Geomean 加速 9.293x

A Case Study of a Multi-Agent Kernel-Optimization Loop That Learns a New AI Accelerator

AI 导读

Byonggon Chun 在 arXiv 发表案例研究,介绍一个为 FuriosaAI RNGD NPU 构建的 LLM 智能体循环,在 12 天内于稀缺共享设备上优化了三个 Gemma-4-12B decode 内核。

正文 · 原文

View PDF HTML (experimental)

Abstract:Frontier large language models write correct CUDA kernels for most single-operator benchmark tasks, yet their accuracy collapses on accelerators whose architecture and programming language they have rarely seen. We present a case study of an LLM agent loop built for such accelerators. Our example is the FuriosaAI RNGD NPU, programmed in a recent, sparsely documented Rust DSL, where the loop optimized three Gemma-4-12B decode kernels over 12 days on a shared, scarce device. The loop builds its own target knowledge: it writes and checks a summary of the DSL documentation, measures the chip with microbenchmarks, records compiler-derived legality rules, and revisits this knowledge when the toolchain changes, rechecking rules and measurements where it can. A role-based search over per-kernel Design Trees explores whole-kernel designs and accumulates small accepted changes in the best version of each kernel. Because device time is scarce and readings are noisy, cheap checks screen new designs before any device run, and late in the run a change was accepted only after repeated comparisons with the best kernel on the device. The final kernels reach a 9.293x geomean speedup over the official baseline, each within 1.25x of the cycles needed just to move its weights. Our prompts, profiler and acceptance test are available at this https URL.
Comments: 7 pages, 3 figures, 2 tables. Round 1 of the NPU Model Optimization Competition at MICRO 2026. Code: this https URL
Subjects: Machine Learning (cs.LG); Artificial Intelligence (cs.AI); Hardware Architecture (cs.AR); Programming Languages (cs.PL)
Cite as: arXiv:2610.38329 [cs.LG]
  (or arXiv:2610.38329v1 [cs.LG] for this version)
  https://doi.org/10.48550/arXiv.2610.38329

arXiv-issued DOI via DataCite

Submission history

From: Byonggon Chun [view email]
[v1] Wed, 28 Oct 2026 06:29:02 UTC (137 KB)

来源:arXiv cs.AI · arxiv.org