STARK: Strategic Team of Agents for Refining Kernels
Juncheng Dong, Yang Yang, Liu, Tao, Yang Wang, Qi Feng, Vahid Tarokh et al. · 2026 · 38 citationsRead the paper
The efficiency of GPU kernels is central to the progress of modern AI, yet optimizing them remains a difficult and labor-intensive task due to complex interactions between memory hierarchies, thread scheduling, and hardware-specific characteristics. While recent advances in large language models (LLMs) provide new opportunities for automated code generation, existing approaches largely treat LLMs as single-shot generators or naive refinement tools, limiting their effectiveness in navigating the irregular kernel optimization landscape. We introduce an LLM agentic framework for GPU kernel optimization that systematically explores the design space through multi-agent collaboration, grounded instruction, dynamic context management, and strategic search. This framework mimics the workflow of expert engineers, enabling LLMs to reason about hardware trade-offs, incorporate profiling feedback, and refine kernels iteratively. We evaluate our approach on KernelBench, a benchmark for LLM-based kernel optimization, and demonstrate substantial improvements over baseline agents: our system produces correct solutions where baselines often fail, and achieves kernels with up to 16x faster runtime performance. These results highlight the potential of agentic LLM frameworks to advance fully automated, scalable GPU kernel optimization.
What the full text shows
Working prototype- Achieved runtime performance speedups over baseline agents. — up to 16x faster (Compared to Reflexion agent on KernelBench Level 2 tasks)
- Achieved runtime performance speedups over the Sampling agent. — 10.7x faster (On KernelBench Level 1 tasks)
- Improved success rate and runtime efficiency across varying task complexities. (Evaluated on KernelBench levels 1, 2, and 3)
- Setup
- Evaluated on a representative subset of KernelBench using Claude Sonnet 4 as the base LLM, with a maximum of 30 attempts per task.
- How
- A multi-agent LLM framework (STARK) using specialized agents for planning, coding, and debugging. It employs grounded instructions, dynamic context management, and a strategic search policy over a tree memory to iteratively refine GPU kernels based on profiling feedback.
- Limitations
- Evaluated on a representative subset of KernelBench rather than the full set due to limited computation resources.
Summarized by Gemma 4 from the open-access full text · 22 Nov 2026. Read it