mlsanityData to 7 Oct 2026

AutoKernel: Autonomous GPU Kernel Optimization via Iterative Agent-Driven Search

arXiv 2603.21331 ↗First posted 22 Mar 2026cs.LG cs.PFcited by 14

Not on the map. Why?

Abstract (arXiv)

Writing high-performance GPU kernels is among the most labor-intensive tasks in machine learning systems engineering. We present AutoKernel, an open-source framework that applies an autonomous agent loop to GPU kernel optimization for arbitrary PyTorch models. Given a model, AutoKernel profiles it to identify computational bottlenecks, ranks them by Amdahl's law impact, and iteratively refines Triton or CUDA C++ kernel implementations through hundreds of experiments without human intervention. A five-stage correctness harness covering smoke tests, shape sweeps, numerical stability, determinism verification, and edge-case coverage ensures every candidate kernel is validated before any speedup is recorded. The system comprises over 9,000 lines of Python, 18 starter kernel implementations across two backends, a six-tier optimization playbook, and integration with the KernelBench benchmark suite. AutoKernel covers nine kernel types spanning the dominant operations in modern transformer architectures. On an NVIDIA H100, our Triton kernels outperform both PyTorch eager and torch.compile (max-autotune) on the majority of tested configurations: 5.29x over eager on RMSNorm, 2.82x on softmax, and 2.21x on cross-entropy, while beating torch.compile by 2.83x, 3.44x, and 2.94x respectively. In community deployment, an AutoKernel-optimized kernel achieved first place on the vectorsum_v2 B200 leaderboard. The full system is available at https://github.com/RightNow-AI/autokernel.

Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Builds on 12 of its 28 references that are in the map. First posted on arXiv 22 Mar 2026.

Builds on

12 of 28 references.

References · 12

  1. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  2. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
  3. 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 507
  4. 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 206
  5. 2025CUDA-L1: Improving CUDA Optimization via Contrastive Reinforcement Learningcited by 59
  6. 2025Astra: A Multi-Agent System for GPU Kernel Performance Optimizationcited by 46
  7. 2025CudaForge: An Agent Framework with Hardware Feedback for CUDA Kernel Optimizationcited by 42
  8. 2026CUDA Agent: Large-Scale Agentic RL for High-Performance CUDA Kernel Generationcited by 41
  9. 2025Geak: Introducing Triton Kernel AI Agent & Evaluation Benchmarkscited by 31
  10. 2025GPU Kernel Scientist: An LLM-Driven Framework for Iterative Kernel Optimizationcited by 22
  11. 2026KernelFoundry: Hardware-aware evolutionary GPU kernel optimizationcited by 11
  12. 2026KernelSkill: A Multi-Agent Framework for GPU Kernel Optimizationcited by 9

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 14.

14 papers.

Sort:

By area: