KernelBrain: Coarse-to-Fine, Budget-Aware Search for Agentic GPU Kernel Optimization

Shuai Che, Gang Peng
5/19/2026
cs.DCcs.AIcs.LG

No confident code implementation found for this paper.

Abstract

Automating GPU kernel optimization remains difficult in practice: generated variants can violate correctness constraints, runtime measurements are noisy, and search often stalls early. We present a practical optimization agent that combines LLM-guided mutation, adaptive resource allocation, policy-gated evaluation, and profiler-informed diagnosis.

Show full abstract

The system screens many candidates with low-cost evaluation and allocates higher-fidelity budget only to promising survivors to optimize and evolve GPU kernels. On important Triton kernel generation tasks, this design improves both kernel quality and search efficiency, reaching 0.88x-6.72x speedup over PyTorch and up to 1.4x speedup over the state-of-the-art kernel agent, with up to 48% lower optimization time.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{che2026kernelbrain,
  title  = {KernelBrain: Coarse-to-Fine, Budget-Aware Search for Agentic GPU Kernel Optimization},
  author = {Shuai Che and Gang Peng},
  year   = {2026},
  eprint = {2608.02611},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.02611v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.02611.svg)](https://codeofpaper.com/paper/2608.02611)

Discussion