CompoundingKernel: Self-Improving from Zero to First

Qian Qu, Hongyang Wang, Wenbo Chen, Yichuan Li, Jingguo Liu, Xian Li, Xuan Wang, Ruochen Wen, Leo Fan, Yiming Yan, Zheshen Wang, Benoit Dumoulin

arXiv:2611.19230 · 2026-11-22 공개 · arXiv · PDF

benchmarking self-improving-agents pytorch kernel-generation compounding-kernel gpu-kernels sol-execbench llm-controller

Abstract

We present CompoundingKernel, a self-improving agent system that writes GPU kernels by search. As of 2026-11-11, its generated kernels rank #1 on the public L1, L2 and Quantization boards of SOL-ExecBench (NVIDIA B200). They have held #1 on L1 since 2026-10-27, albeit a short loss on 2026-11-07. All 235 problems have a site-verified correct kernel; on the 209 public-board problems they are 4.40x faster than the benchmark's reference baseline. The search starts from zero: agents get each problem's PyTorch definition but no reference kernels or official scores. A per-problem archive outside the model holds every correct kernel and its lineage. An LLM controller reads it, picks a parent or a new design, and gives each parallel child agent one direction. Checks outside the model decide correctness. At equal wall time, it beat a coded UCB style tree on 35 of 38 problems by making 2.4x as many correct attempts. Over a thousand agents ran at once, and one warm restart fix raised their evaluation rate 3.6x. We find that the rate of reliable measurements, not the number of agents, limits how far such a search scales. Our code and kernels are available on URL.

한국어 요약

한 줄 요약

CompoundingKernel은 PyTorch 정의만을 기반으로 GPU 커널을 생성하며, SOL-ExecBench에서 4.40× 가속 성능을 달성한 자가 개선 에이전트 시스템이다.

핵심 기여도

핵심 아이디어

CompoundingKernel은 PyTorch 정의만을 제공받고, 기존 커널이나 점수 없이 GPU 커널을 생성하는 자가 개선 에이전트 시스템이다. 핵심 아이디어는 **"compounding"** — 즉, 이전에 생성된 정확한 커널을 기반으로 새로운 커널을 지속적으로 개선하는 방식이다. LLM 컨트롤러는 외부 아카이브에서 정확한 커널과 그 계보를 읽고, 자식 에이전트에게 개선 방향을 제공한다. 이는 기존의 UCB 스타일 트리 탐색보다 훨씬 빠르고 정확한 탐색을 가능하게 한다.

기술적 접근법

주요 결과

의의 및 한계

CompoundingKernel은 기존 커널 없이 PyTorch 정의만을 기반으로 GPU 커널을 생성하는 첫 번째 시스템으로, 자가 개선 기법을 실용적으로 적용한 사례로 주목받는다. 특히, 병렬 에이전트와 LLM 컨트롤러를 결합한 방식은 탐색 효율성을 높였다. 그러나 연구자들은 **신뢰할 수 있는 측정 속도**가 탐색 확장의 한계 요인임을 지적하며, 이는 추후 연구의 주요 과제로 남는다.

실용적 활용

CompoundingKernel은 고성능 컴퓨팅, 딥러닝 추론 최적화, GPU 가속 응용 분야에서 즉각적인 활용이 가능하다. 특히, 커널 작성에 전문가가 필요하지 않다는 점에서 연구 개발 효율성 향상에 기여할 수 있다.