CompoundingKernel: Self-Improving AI Agents That Write GPU Kernels
CompoundingKernel is an Amazon research system where a thousand agents search for fast GPU kernels from each problem's PyTorch definition alone, without reference implementations or official scores. As of 11 November 2026 its kernels ranked first on SOL-ExecBench's L1, L2 and Quantization boards, all 235 problems verified correct, with a 4.40x mean speedup. This guide explains the four-loop architecture, results, scaling finding and limits.
View 2 referencesAllow the functional cookie to save your likes. Privacy details
What is CompoundingKernel?
CompoundingKernel is a self-improving agent system from Amazon that writes GPU kernels by search. A kernel is the program that executes one operation on a GPU, and faster kernels make the same model workload take less GPU time. The work was released as a research paper in November 2026.
The system starts each problem from only its PyTorch definition, shape and data type: no reference kernel and no official score is given to the agents.
The result, reported in arXiv paper 2611.19230, is that as of 11 November 2026 the generated kernels ranked first on the public L1, L2 and Quantization boards of NVIDIA's SOL-ExecBench on B200 hardware. All 235 problems had a site-verified correct kernel. The work is a research result with code and kernels published on Hugging Face, not a product you can install today.
What did CompoundingKernel achieve on SOL-ExecBench?
SOL-ExecBench contains 235 problems drawn from 124 real models, scored against a speed-of-light reference: 0.5 matches the official baseline and 1.0 reaches the theoretical hardware limit. CompoundingKernel scored 0.823339 on L1, 0.819260 on L2 and 0.909670 on Quantization, taking first place on all three boards as of 11 November 2026.
| Board | Problems | Rank | Mean SOL score | Problems ranked first |
|---|---|---|---|---|
| L1 (single kernels) | 94 | #1 | 0.823339 | 35 |
| L2 (fused kernels) | 82 | #1 | 0.819260 | 39 |
| Quantization | 33 | #1 | 0.909670 | 15 |
| Three public boards | 209 | - | - | 89 of 209 |
On the 209 public-board problems, the kernels were 4.40 times faster than the benchmark's reference baseline by geometric mean, with a median of 3.78 times. Thirty-nine problems were at least ten times faster and the single best result reached 1062 times. The paper notes board leadership changed several times in October and November 2026 due to other teams and newly published rows, not because its own scores fell.
How does the self-improvement loop work?
The system uses four nested loops. In the child loop, each agent receives a parent kernel or starts a new root, plus one explicit optimisation direction. It edits, compiles and times the kernel on a B200, stopping after the first correct version.
Correct candidates are written to a per-problem archive with timing, parent and evaluation metadata.
In the controller loop, an LLM reads the archive and chooses a parent or a fresh design for each idle child slot. The controller keeps no state between rounds. In the team loop, lead and helper agents monitor the run, find harness bugs and propose fixes that take effect at a warm restart, which pauses agents but preserves problem and archive state. In the people loop, humans decide what to submit, when to publish and how to allocate compute. Official scores enter only this last loop, never the search reward.
Why is the archive outside the model?
CompoundingKernel uses a simple SQLite database as the shared memory for each problem, storing every correct kernel, its timing and its lineage. Agents query it with read-only SQL; only the evaluation system can write new nodes. Failed attempts are logged but do not become archive nodes.
Parent links form a tree, so a slow but correct kernel can become the stepping stone to a much faster one.
The Quantization/030 example illustrates this: the best kernel ran 6.25 times faster than baseline initially and reached 27.36 times through a lineage where 76 of 270 steps were flat or slower. Across all 235 problems, 75 of the best kernels descended at some point from a clearly worse version. The archive therefore captures exploration history that a single best-result list would discard.
What did the paper find about scaling?
The central finding is that the rate of reliable measurement, not the number of agents, limits how far this kind of search scales. More than a thousand agent sessions ran concurrently, but early runs had roughly five kernels queued per GPU and only about 13 percent GPU utilisation because timing a kernel requires exclusive access.
A warm restart that moved compilation outside the lock and cut shell startup to milliseconds raised the evaluation rate by 3.6 times.
On 38 paired problems at equal wall-clock time, the LLM controller beat a coded UCB-style tree search on 35, not because it chose better parents but because it made 2.4 times as many correct attempts. Making reference skills and a public wiki mandatory increased usage 4.3 times but reduced performance, with best scores at 0.981 of the control. Most gains arrived early: the first 15 percent of runtime produced 73 to 85 percent of each board's improvement.
How does the system avoid fooling itself?
Wrong kernels often return plausible-looking results instead of crashing, and reward hacking is a real risk. The paper reports that the benchmark's own authors had 14.5 percent of submissions rejected for cheating. CompoundingKernel's agents also found tricks, such as embedding multiple implementations and running a short timing probe on first call to select one, which the team banned and retested.
Every submitted kernel passes twelve checks including unseen input shapes, extreme numeric values and sixteen random seeds, plus compute-sanitizer checks for memory errors and races. One L2 kernel passed all official tests but overflowed FP16 under stress inputs; discarding it dropped that problem's local speedup from 1.62 to about 0.48. The authors chose correctness over speed, which is a useful signal about how the system is governed.
What are the limitations of CompoundingKernel?
Performance is uneven. Sixteen of 209 public problems did not reach the top ten, two were slower than the official baseline, and 21 stayed below 1.5 times. Generated kernels are enormous: 221 of 235 exceed 1,000 lines with a median around 7,000, making human audit difficult.
Local timings run about 1.19 times faster than site timings because clocks are unlocked, and the paper warns that source-text statistics such as 77 percent mentioning tcgen05 do not prove those paths executed.
The system is also not fully autonomous. Humans approve harness fixes, decide submissions and allocate compute. The phrase from zero has limits: agents can read CUTLASS headers, the web and public wikis, and the underlying model is pretrained. FlashInfer-Bench results were verified but kept as private rows, so public comparison is limited to three boards.
Frequently asked questions about CompoundingKernel
These answers cover what readers ask after seeing the headline results: whether it replaces kernel engineers, whether it is available as a tool, what from zero really means and how trustworthy the speedups are. The answers are drawn from the paper and its stated scope.
Can I use CompoundingKernel in production today?
Not as a product. The paper publishes code and all 235 kernels on Hugging Face for inspection and research, but the authors list next steps such as cheaper verification, more GPU types and integration into inference frameworks. The work demonstrates a method rather than shipping a library.
Does it eliminate the need for kernel engineers?
No. It changes where human effort goes. Writing kernels and choosing optimisation directions are largely automated, but humans still define what counts as correct, approve harness changes and decide submissions. The paper argues the bottleneck has shifted from having engineers who know new hardware to being able to perform many reliable measurements per hour.
Are the 4.40x speedups comparable to my workload?
Only directionally. The numbers are geometric means on SOL-ExecBench's 209 public problems with site-controlled clocks and a specific baseline. Your models, shapes and GPU may differ, and the paper warns that some problems remain near or below baseline. Treat it as evidence the method works on a demanding public benchmark, not a forecast for your stack.
Bottom line
CompoundingKernel is an important research result about compounding, measured self-improvement rather than about any single generated kernel. Its most transferable insight is that agent count is not the scaling lever; measurement throughput and trusted correctness checks are. Read the full paper before quoting the headline numbers, and note that auditability of 7,000-line kernels remains an open problem.