A Contract-Grade Verifier for LLM-Generated GPU Kernels

The 30-Second Skim7 points
- What happenedA new arXiv paper introduces a strict, twelve-gate verifier that finds roughly 40% of GPU kernels auto-generated by LLMs and already accepted as correct are silently broken under adversarial checks, and pairs it with the first native Blackwell training backward for gated-linear-recurrence models.
- Key facts & numbersResearchers built a contract-grade verifier of twelve adversarial gates — several tolerance-free — that checks properties a correct GPU kernel must satisfy (NaN/infinity handling, shape robustness, precision), rather than running a kernel on a few random inputs at one fixed shape and checking output closeness. The verifier audited 2,638 machine-generated kernels that a public system's own harness had already accepted as correct, finding 39.5% broken beyond any tolerance argument and 62.1% carrying at least one violation. The field's standard test accepts 1,487 kernels the new verifier rejects versus only 14 the other way — a roughly 106:1 asymmetry in pass/fail decisions.
- What happens nextNearly 40% of 'correct' AI-generated GPU kernels are silently broken — the standard test just can't tell. Tolerance-free contracts close most of the gap.
- Researchers built a contract-grade verifier of twelve adversarial gates — several tolerance-free — that checks properties a correct GPU kernel must satisfy (NaN/infinity handling, shape robustness, precision), rather than running a kernel on a few random inputs at one fixed shape and checking output closeness.
- The verifier audited 2,638 machine-generated kernels that a public system's own harness had already accepted as correct, finding 39.5% broken beyond any tolerance argument and 62.1% carrying at least one violation.
- The field's standard test accepts 1,487 kernels the new verifier rejects versus only 14 the other way — a roughly 106:1 asymmetry in pass/fail decisions.
- The authors defended their findings four independent ways: a 7/7 positive control, a threshold-calibration sweep, 98.5% agreement with the reference benchmark's own correctness code, and a stratified hand-audit.
Why It Matters
The paper argues that reported 'high correctness rates' for LLM kernel generation are measured against a single loose test that misses real failure modes like NaN/infinity swaps, shape sensitivity, and fp16 accumulation — with the stricter verifier rejecting 1,487 kernels the standard test passes, weakening the evidence base the field uses to claim progress on automated GPU kernel synthesis.
Sources Cited
Related Coverage
The day’s news in one short email, every morning.
Free. One email a day. Unsubscribe in one click.