Optimizing CUDA like a Human: Micro-Profiling Tools as Expert Surrogates for LLM-Based GPU Kernel Optimization
Not on the map. Why?
Abstract (arXiv)
We present KernelPro, a closed-loop multi-agent system that automatically generates, profiles, and iteratively optimizes GPU kernel code by integrating large language model (LLM) code generation with hardware profiler feedback and pluggable bottleneck detection tools. KernelPro introduces four contributions: (1) a semantic feedback operator that encodes expert heuristics as pluggable micro-profiling tools, transforming raw hardware metrics into actionable natural language guidance; (2) a two-stage tool invocation architecture where roofline-based bottleneck classification filters which specialized analysis tools execute, combining kernel-level (ncu), instruction-level (SASS), and system-level (nsys) profiling; (3) a domain-adapted MCTS with progressive widening, asymmetric branching, log-reward calibration, dead-end pruning, and search memory for cross-iteration learning; and (4) direct CuTe source-level code generation via autonomous code search over the CUTLASS/CuTe codebase. On KernelBench, KernelPro achieves geometric mean speedups of 2.42x/4.69x/5.30x on Levels 1/2/3, establishing state-of-the-art performance across all difficulty levels. On VeOmni's expert-optimized MoE training kernels, KernelPro achieves 1.23x over hand-tuned Triton by generating a from-scratch raw-CUDA+CuTe Hopper WGMMA kernel. Ablation studies demonstrate that each design component independently and significantly improves optimization quality: micro-profiling tools (p < 0.0001 vs raw metrics), MCTS search (26% higher geometric mean vs greedy, p = 0.004), and proactive tool orchestration (23% improvement, p = 0.035). Finally, KernelPro is the first CUDA kernel coding agent to optimize energy efficiency beyond the speed-only focus of prior systems, demonstrating an 11.6% measured energy reduction at matched speed.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 21 of its 44 references that are in the map. First posted on arXiv 24 Jun 2026.
Builds on
21 of 44 references.
References · 21
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2025AlphaEvolve: A coding agent for scientific and algorithmic discoverycited by 867
- 2024LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitaskscited by 379
- 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 225
- 2024Accessing GPT-4 level Mathematical Olympiad Solutions via Monte Carlo Tree Self-refine with LLaMa-3 8Bcited by 158
- 2025TreeRL: LLM Reinforcement Learning with On-Policy Tree Searchcited by 80
- 2025Tree Search for LLM Agent Reinforcement Learningcited by 79
- 2026CUDA Agent: Large-Scale Agentic RL for High-Performance CUDA Kernel Generationcited by 47
- 2025CudaForge: An Agent Framework with Hardware Feedback for CUDA Kernel Optimizationcited by 45
- 2026AVO: Agentic Variation Operators for Autonomous Evolutionary Searchcited by 24
- 2025GPU Kernel Scientist: An LLM-Driven Framework for Iterative Kernel Optimizationcited by 22
9 more
- 2023Part-time Power Measurements: nvidia-smi's Lack of Attentioncited by 15
- 2026KernelFoundry: Hardware-aware evolutionary GPU kernel optimizationcited by 13
- 2026KernelBlaster: Continual Cross-Task CUDA Optimization via Memory-Augmented In-Context Reinforcement Learningcited by 12
- 2025DeepSearch: Overcome the Bottleneck of Reinforcement Learning with Verifiable Rewards via Monte Carlo Tree Searchcited by 11
- 2026GrepSeek: Training Search Agents for Direct Corpus Interactioncited by 10
- 2025cuPilot: A Strategy-Coordinated Multi-agent Framework for CUDA Kernel Evolutioncited by 7
- 2026StitchCUDA: An Automated Multi-Agents End-to-End GPU Programing Framework with Rubric-based Agentic Reinforcement Learningcited by 7
- 2026Making LLMs Optimize Multi-Scenario CUDA Kernels Like Expertscited by 4
- 2026OptiML: An End-to-End Framework for Program Synthesis and CUDA Kernel Optimizationcited by 3
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026Exploit More, Explore Smarter for Budget-Constrained Agentic Searchcited by 2
- 2026Think Before You Grid-Search: Floor-First Triage for LLM Servingcited by 0
- 2026Learning Exact NVIDIA SASS Encoders with mathbbF2 Linear Algebracited by 0
- 2026RoofLang: Enabling AI-Driven Architecting of LLM Inference Systemscited by 0
- 2026RoofLang: Enabling AI-Driven Architecting of LLM Inference Systems11 Sep 2026
- 2026Exploit More, Explore Smarter for Budget-Constrained Agentic Search24 Aug 2026
- 2026Learning Exact NVIDIA SASS Encoders with mathbbF2 Linear Algebra20 Aug 2026
- 2026Think Before You Grid-Search: Floor-First Triage for LLM Serving7 Jul 2026
Similar, not cited
Close in wording, no citation either way
- 2026A Two-Stage GPU Kernel Tuner Combining Semantic Refactoring and Search-Based Optimization
- 2026Kernel Foundry: A Diagnosis-driven Evolutionary Kernel Optimizer with Multi-Experts
- 2025STARK: Strategic Team of Agents for Refining Kernels
- 2026KernelOPT: Dispatch-Aware Agentic Search for GPU Kernel Optimization
- 2025Astra: A Multi-Agent System for GPU Kernel Performance Optimization
- 2025PRAGMA: A Profiling-Reasoned Multi-Agent Framework for Automatic Kernel Optimization
- 2026CuTeGen: An LLM-Based Agentic Framework for Generation and Optimization of High-Performance GPU Kernels using CuTe
- 2026Agentic Kernel Optimization: Generating State-of-the-Art GPU Kernels Without Hand-Written CUDA