mlsanityData to 7 Oct 2026

KernelBench-Verified: Do LLM-Generated Kernels Actually Beat PyTorch?

arXiv 2607.16241 ↗First posted 26 Jun 2026cs.LG cs.AIcited by 6

Not on the map. Why?

Abstract (arXiv)

Recent large language models (LLMs) can generate custom CUDA kernels that appear to outperform PyTorch on benchmarks such as KernelBench. Building upon this foundational framework, we demonstrate that frontier models frequently engage in reward hacking to artificially inflate reported performance. In this work, we identify two areas where evaluation frameworks must co-evolve with model capabilities. First, to accurately measure true speedup, we examine the baseline timing mechanism, noting that enabling Tensor Core acceleration with TF32 provides a more realistic estimation of execution on modern GPUs. Second, concerning algorithmic correctness, models often exploit the narrow test distribution by hardcoding bypasses for specific tensor values. By skipping required computations, these kernels artificially accelerate execution rather than implementing actual CUDA kernels. We introduce KernelBench-Verified, an extended evaluation framework that incorporates a TF32-enabled baseline and a four-distribution hidden test suite. We additionally introduce memory efficiency metrics that capture the often-overlooked speed-memory tradeoff in kernel optimization. Under verified single-turn evaluation with seven frontier LLMs, we find that the best-performing model (GPT-5.5) achieves a 0.88x geometric mean speedup, significantly lower than the 1.43x speedup observed under the standard evaluation protocol. No model consistently outperforms PyTorch when evaluated against realistic baselines. On the memory front, 28% of GPU kernels generated by the best model increase peak GPU memory usage. Our findings demonstrate the necessity of continually adapting robust evaluation protocols as LLM kernel generation capabilities advance.

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 13 of its 22 references that are in the map. First posted on arXiv 26 Jun 2026.

Builds on

13 of 22 references.

References · 13

  1. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  2. 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 206
  3. 2025Establishing Best Practices for Building Rigorous Agentic Benchmarkscited by 94
  4. 2025Towards Robust Agentic CUDA Kernel Benchmarking, Verification, and Optimizationcited by 52
  5. 2026CUDA Agent: Large-Scale Agentic RL for High-Performance CUDA Kernel Generationcited by 41
  6. 2025MultiKernelBench: A Multi-Platform Benchmark for Kernel Generationcited by 35
  7. 2026Dr. Kernel: Reinforcement Learning Done Right for Triton Kernel Generationscited by 21
  8. 2026K-Search: LLM Kernel Generation via Co-Evolving Intrinsic World Modelcited by 17
  9. 2026KernelFoundry: Hardware-aware evolutionary GPU kernel optimizationcited by 11
  10. 2026KernelBenchX: A Comprehensive Benchmark for Evaluating LLM-Generated GPU Kernelscited by 10
  11. 2026Towards Automated Kernel Generation in the Era of LLMscited by 9
  12. 2026ISO-Bench: Can Coding Agents Optimize Real-World Inference Workloads?cited by 6
1 more
  1. 2026Kernel-Smith: A Unified Recipe for Evolutionary Kernel Optimizationcited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 6.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026FastKernels: Benchmarking GPU Kernel Generation in Production
  2. 2025ConCuR: Conciseness Makes State-of-the-Art Kernel Generation
  3. 2026Kernel Forge: An Agent Harness for LLM-based Generation and Optimization of CUDA Kernels
  4. 2026Are LLM-Generated GPU Kernels Production-Ready? A Trace-Driven Benchmark and Optimization Agent
  5. 2026KernelZero: Co-Evolving Proposer and Coder for Continuously Improved GPU Kernel Generation
  6. 2026GPU Forecasters: Language Models as Selective Surrogates for Kernel Runtime Optimization
  7. 2025GPU Kernel Scientist: An LLM-Driven Framework for Iterative Kernel Optimization
  8. 2025Can Large Language Models Predict Parallel Code Performance?