mlsanityData to 24 Nov 2026

Beyond Experience: Knowledge-Guided Evolution for NPU Kernel Generation

arXiv 2610.27588 ↗Submitted 20 Oct 2026cs.AIcited by 0

On the map: LLM agents and tool use → Agent memory systems also fits: Software engineering coding agents

Abstract (arXiv)

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%.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 29 of its 39 references that are in the map. Submitted 20 Oct 2026.

Builds on

29 of 39 references.

References · 29

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,845
  2. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,789
  3. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,329
  4. 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,483
  5. 2017Hindsight Experience Replaycited by 1,176
  6. 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 387
  7. 2022The Stack: 3 TB of permissively licensed source codecited by 380
  8. 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 279
  9. 2020Ansor: Generating High-Performance Tensor Programs for Deep Learningcited by 219
  10. 2022DocPrompting: Generating Code by Retrieving the Docscited by 165
  11. 2021Retrieval Augmented Code Generation and Summarizationcited by 153
  12. 2022ReACC: A Retrieval-Augmented Code Completion Frameworkcited by 122
17 more
  1. 2025Kevin: Multi-Turn RL for Generating CUDA Kernelscited by 96
  2. 2024A Survey on LLM-based Code Generation for Low-Resource and Domain-Specific Programming Languagescited by 71
  3. 2025Astra: A Multi-Agent System for GPU Kernel Performance Optimizationcited by 63
  4. 2025CudaForge: An Agent Framework with Hardware Feedback for CUDA Kernel Optimizationcited by 58
  5. 2018Tiramisu: A Polyhedral Compiler for Expressing Fast and Portable Codecited by 55
  6. 2025AutoTriton: Automatic Triton Programming with Reinforcement Learning in LLMscited by 48
  7. 2025AccelOpt: A Self-Improving LLM Agentic System for AI Accelerator Kernel Optimizationcited by 33
  8. 2025TritonRL: Training LLMs to Think and Code Triton Without Cheatingcited by 28
  9. 2025QiMeng-Kernel: Macro-Thinking Micro-Coding Paradigm for LLM-Based High-Performance GPU Kernel Generationcited by 21
  10. 2026AscendKernelGen: A Systematic Study of LLM-Based Kernel Generation for Neural Processing Unitscited by 18
  11. 2022TLP: A Deep Learning-based Cost Model for Tensor Program Tuningcited by 15
  12. 2026AscendCraft: Automatic Ascend NPU Kernel Generation via DSL-Guided Transcompilationcited by 10
  13. 2026Towards Cold-Start Drafting and Continual Refining: A Value-Driven Memory Approach with Application to NPU Kernel Synthesiscited by 6
  14. 2026AscendOptimizer: Episodic Agent for Ascend NPU Operator Optimizationcited by 6
  15. 2026CANN Bench: Benchmarking Agent Generated Kernels against Real NPU and Algorithmic Limitscited by 4
  16. 2026AgenticCANN: Automated Ascend C Operator Generation via Knowledge-Augmented Agentic Evolutioncited by 3
  17. 2026Hawk: Harnessing Hardware-Aware Knowledge for High-Performance NPU Kernel Generationcited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Beyond Scaling: Self-Evolving LLM Agents for Hardware Kernel Optimization via an Experience-Driven Workflow and Experience Graph Memory
  2. 2026Learning When to Optimize: Verified Optimization Skills from Expert GPU-Kernel Lineages
  3. 2025STARK: Strategic Team of Agents for Refining Kernels
  4. 2026KernelSkill: A Multi-Agent Framework for GPU Kernel Optimization
  5. 2026From Experience to Expertise: Adoption-Aware Memory Learning for Data-Scarce NPU Kernel Synthesis
  6. 2026Prior Knowledge or Search? A Study of LLM Agents in Hardware-Aware Code Optimization
  7. 2026Ask, Don't Equip: Question-Driven Coding Agents for Deep Kernel Optimization
  8. 2026SpecGen: Accelerating Agentic Kernel Optimization with Speculative Generation