KernelSkill: A Multi-Agent Framework for GPU Kernel Optimization
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Improving GPU kernel efficiency is crucial for advancing AI systems. Recent work has explored leveraging large language models (LLMs) for GPU kernel generation and optimization. However, existing LLM-based kernel optimization pipelines typically rely on opaque, implicitly learned heuristics within the LLMs to determine optimization strategies. This leads to inefficient trial-and-error and weakly interpretable optimizations. Our key insight is to replace implicit heuristics with expert optimization skills that are knowledge-driven and aware of task trajectories. Specifically, we present KernelSkill, a multi-agent framework with a dual-level memory architecture. KernelSkill operates by coordinating agents with long-term memory of reusable expert skills and short-term memory to prevent repetitive backtracking. On KernelBench Levels 1-3, KernelSkill achieves a 100% success rate and average speedups of 5.44x, 2.82x, and 1.92x over Torch Eager on Levels 1, 2, and 3, respectively, outperforming prior baselines. Code is available at https://github.com/0satan0/KernelMem/.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 14 of its 27 references that are in the map. First posted on arXiv 10 Mar 2026.
Builds on
14 of 27 references.
Closest ancestors · 4
Same direction, newest first
- 2025Optimizing PyTorch Inference with LLM-Based Multi-Agent Systems21 Nov
- 2025PRAGMA: A Profiling-Reasoned Multi-Agent Framework for Automatic Kernel Optimization9 Nov
- 2025CudaForge: An Agent Framework with Hardware Feedback for CUDA Kernel Optimization23 Oct
- 2025A Survey on Code Generation with LLM-based Agents31 Jul
Other references · 10
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2024A Survey on Large Language Models for Code Generationcited by 646
- 2014cuDNN: Efficient Primitives for Deep Learningcited by 240
- 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 206
- 2016Learning to Optimizecited by 195
- 2025Kevin: Multi-Turn RL for Generating CUDA Kernelscited by 73
- 2025CUDA-L1: Improving CUDA Optimization via Contrastive Reinforcement Learningcited by 59
- 2025Geak: Introducing Triton Kernel AI Agent & Evaluation Benchmarkscited by 31
- 2025TritonRL: Training LLMs to Think and Code Triton Without Cheatingcited by 24
- 2025QiMeng-Kernel: Macro-Thinking Micro-Coding Paradigm for LLM-Based High-Performance GPU Kernel Generationcited by 16
Built on by
Citing papers per year: 2026: 9.
9 papers.
- 2026AutoKernel: Autonomous GPU Kernel Optimization via Iterative Agent-Driven Searchcited by 14
- 2026Kernel-Smith: A Unified Recipe for Evolutionary Kernel Optimizationcited by 5
- 2026AdaExplore: Failure-Driven Adaptation and Diversity-Preserving Search for Efficient Kernel Generationcited by 3
- 2026Xe-Forge: Multi-Stage LLM-Powered Kernel Optimization for Intel GPUcited by 1
- 2026Arbor: Tree Search as a Cognition Layer for Autonomous Agentscited by 0
- 2026Think Before You Grid-Search: Floor-First Triage for LLM Servingcited by 0
- 2026LLM4LLM: Bridging Kernel Benchmarks and Real Deployment via Closed-Loop Agentic Optimizationcited by 0
- 2026CUDA-Harness: Harnessing Agentic CUDA Kernel Generation and Optimization from Natural Languagecited by 0
- 2026GPUPhysBench: Benchmarking Coding Agents for Correct and Efficient GPU Physics Simulationcited by 0
- 2026GPUPhysBench: Benchmarking Coding Agents for Correct and Efficient GPU Physics Simulation28 Sep 2026
- 2026CUDA-Harness: Harnessing Agentic CUDA Kernel Generation and Optimization from Natural Language30 Aug 2026
- 2026LLM4LLM: Bridging Kernel Benchmarks and Real Deployment via Closed-Loop Agentic Optimization22 Aug 2026
- 2026Think Before You Grid-Search: Floor-First Triage for LLM Serving7 Jul 2026
- 2026Arbor: Tree Search as a Cognition Layer for Autonomous Agents10 Jun 2026
- 2026AdaExplore: Failure-Driven Adaptation and Diversity-Preserving Search for Efficient Kernel Generation17 Apr 2026
- 2026Xe-Forge: Multi-Stage LLM-Powered Kernel Optimization for Intel GPU16 Apr 2026
- 2026Kernel-Smith: A Unified Recipe for Evolutionary Kernel Optimization30 Mar 2026
- 2026AutoKernel: Autonomous GPU Kernel Optimization via Iterative Agent-Driven Search22 Mar 2026
Similar, not cited
Close in wording, no citation either way
- 2025STARK: Strategic Team of Agents for Refining Kernels
- 2026KernelArc: A Multi-Agent Framework for GPU Kernel Optimization
- 2025Astra: A Multi-Agent System for GPU Kernel Performance Optimization
- 2026AgentKernelArena: Generalization-Aware Benchmarking of GPU Kernel Optimization Agents
- 2026KernelOPT: Dispatch-Aware Agentic Search for GPU Kernel Optimization
- 2026EGG: An Expert-Guided Agent Framework for Kernel Generation
- 2026Improving Efficiency of GPU Kernel Optimization Agents using a Domain-Specific Language and Speed-of-Light Guidance
- 2026D2K-Bench: Can LLM Agents Turn Expert Designs into Efficient GPU Kernels?