Metraipolis › archive › dc_e8432294b1b8

Don't Regenerate, Debug: A Domain-Specific Agent for Repairing Near-Miss Accelerator Kernels — arXiv:2608.02712

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.02712
License (as archived)
CC0-1.0
Archived
2026-10-31T12:17:43.654Z
SHA-256 of the archived text
d3f0ec5732d6b78503aab69d47631ae1f340fbf655f727c9eaf1818b97a9b55b
Stable URL of this page
https://metraipolis.com/documento/dc_e8432294b1b8

How to cite

Don't Regenerate, Debug: A Domain-Specific Agent for Repairing Near-Miss Accelerator Kernels — arXiv:2608.02712 — arXiv (en), https://arxiv.org/abs/2608.02712 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_e8432294b1b8 (Metraipolis archive dc_e8432294b1b8, sha256 d3f0ec5732d6b78503aab69d47631ae1f340fbf655f727c9eaf1818b97a9b55b)
BibTeX
@misc{dce8432294b1b8,
  title = {Don't Regenerate, Debug: A Domain-Specific Agent for Repairing Near-Miss Accelerator Kernels — arXiv:2608.02712},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.02712},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_e8432294b1b8; sha256 d3f0ec5732d6b78503aab69d47631ae1f340fbf655f727c9eaf1818b97a9b55b},
  year = {2026}
}

Archived text

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

Kernel generation for hardware accelerators such as GPUs and NPUs has become a proving ground for large language models (LLMs), and state-of-the-art systems raise correctness through pipelines that couple LLMs with agentic reinforcement learning and evolutionary search. Such pipelines generate, compile, and execute large numbers of candidate kernels, discarding most of them and forgoing the opportunity to distill failures into reusable knowledge. Many discarded candidates are near-miss operators that compile and run but fail numerical validation; each embodies genuine domain knowledge and a nontrivial investment in LLM inference, cross-compilation, and hardware execution. We argue for a paradigm shift: rather than regenerate, debug. Debugging is far more constrained than generating from scratch: the search space is small and feedback is dense. We present a domain-specific debug agent that addresses three core challenges in autonomous repair: mitigating knowledge scarcity through retrieved patterns and diagnostic instrumentation, ensuring integrity through anti-cheat detection and full-coverage evaluation, and controlling cost via convergence guards and bounded iteration. Debugging serves two complementary roles: it extends the capability frontier by recovering operators that repeated regeneration fails to produce, and it lowers cost per deliverable operator. Debug Pass@1 achieves 66.7% versus Regenerate Avg Pass@1's 25.9% and Regenerate Pass@3's 40.7%, while consuming 92.8% fewer tokens per success than three-trial regeneration. Component ablations show that the knowledge base drives recovery, while integrity gates reject 12.5-33.3% of the successes the workflow itself accepted.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-05 in cs.AI).
Categorie arXiv: Software Engineering (cs.SE) ; Artificial Intelligence (cs.AI).
Pagina del lavoro: https://arxiv.org/abs/2608.02712 — 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-31T12:05:52.944Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-08-05?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).