arXiv cs.AI· Xi Chen, Ming Shen, Haotian Yan, Ruoyu Sun, Tianjun Yao·· 12 小时前AI 评分36
ASCENDEVOLVE:用知识引导进化实现 NPU 内核生成
Beyond Experience: Knowledge-Guided Evolution for NPU Kernel Generation
AI 导读
ASCENDEVOLVE 将进化式内核搜索的每一步都锚定在由平台文档、工具链头文件和算子仓库构建的大型外部知识库上,通过索引检索为每个智能体路由任务相关的证据片段。
正文 · 原文
Abstract:LLM agents have become capable kernel engineers on mainstream GPU stacks, but they struggle on emerging accelerators such as Ascend NPUs, whose programming model is barely represented in pretraining data. Recent NPU agents address this gap largely through experience: they accumulate memory from their own generation and optimization trials and reuse it on later tasks. We argue that experience alone is not enough for kernel generation. An agent can only remember what it has tried, and it rarely tries a mechanism it does not know. As a result, such memory offers little help when a new operator calls for a different mechanism, and even familiar operators raise unseen situations as optimization proceeds. We present ASCENDEVOLVE, which grounds every step of an evolutionary kernel search in a large external knowledge base built from platform documentation, toolkit headers, and operator repositories. Because this corpus far exceeds any context window, ASCENDEVOLVE indexes it and routes each agent to a small, task-specific slice of evidence instead of the corpus itself. The retrieved knowledge seeds diverse implementation strategies, guides repair when a candidate fails, and constrains how strong candidates are recombined. On 53 Ascend C operators from CANN-Bench spanning four difficulty levels, ASCENDEVOLVE achieves an overall score of 71.39, improving over Reflexion and OpenEvolve by 11.6% and 17.2%.
| Subjects: | Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2610.27588 [cs.AI] |
| (or arXiv:2610.27588v1 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2610.27588 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Ming Shen [view email]
[v1]
Tue, 20 Oct 2026 03:56:26 UTC (707 KB)
来源:arXiv cs.AI · arxiv.org