Metraipolis › archive › dc_8296b611c7a3

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

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.38329
License (as archived)
CC0-1.0
Archived
2026-10-31T06:12:42.755Z
SHA-256 of the archived text
03324756356c54661d942155292c576acd67647d7d805ac5cbc2f8db1270e7f2
Stable URL of this page
https://metraipolis.com/documento/dc_8296b611c7a3

How to cite

A Case Study of a Multi-Agent Kernel-Optimization Loop That Learns a New AI Accelerator — arXiv:2610.38329 — arXiv (en), https://arxiv.org/abs/2610.38329 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_8296b611c7a3 (Metraipolis archive dc_8296b611c7a3, sha256 03324756356c54661d942155292c576acd67647d7d805ac5cbc2f8db1270e7f2)
BibTeX
@misc{dc8296b611c7a3,
  title = {A Case Study of a Multi-Agent Kernel-Optimization Loop That Learns a New AI Accelerator — arXiv:2610.38329},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.38329},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_8296b611c7a3; sha256 03324756356c54661d942155292c576acd67647d7d805ac5cbc2f8db1270e7f2},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.38329. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

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 .

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno).
Categorie arXiv: Machine Learning (cs.LG) ; Artificial Intelligence (cs.AI); Hardware Architecture (cs.AR); Programming Languages (cs.PL).
Pagina del lavoro: https://arxiv.org/abs/2610.38329 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-31T06:07:08.647Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).