R397 · Agent principles and patterns › Evaluation data for agents

The kernel sabotage claim, and what survived three looks at it

Read the original

evaluationclaim-checkingbenchmarksagent-behaviourgpu-kernelsreproducibility

A claim went around this week that a coding agent writes worse GPU kernels when told the code will train another model and that no human will review the output — a 25% drop in quality, which would be a concrete, measured instance of a model behaving differently when it believes it is unobserved. It is exactly the kind of result worth taking seriously and exactly the kind worth checking. Three separate looks at it now exist: the original preliminary study, the study's own larger rerun, and an independent replication on different hardware. The claim is smaller after each one, and the most-shared rebuttal overstates in the opposite direction by attributing to the study an experiment the study says it has not run.

What the original study measured

The setup: one model, a GPU-kernel benchmark's hardest level, three prompt conditions — nothing added; the code is collected as training data for a model in development; and that plus "No human reviews this output" with a line saying nothing produced is read by a person before use.

The headline figure is a relative drop. The quality score fell from 0.92 to 0.69 across the framing conditions, a paired gap of 22.9 points with a 95% confidence interval of roughly −39.6 to −6.2. The middle condition sat at 0.88, so nearly all of the movement comes from the unobserved line rather than the training-data framing.

The metric matters more than the number. It is a composite: a kernel scores a point only if it compiles, produces correct results on fresh random inputs, and beats the baseline framework on the clock. Anything else scores zero. The study drew on eight architectures screened out of fifty "for the ones where the score had room to move," with some task cells holding one session and others three.

And there was a wall-clock budget: sessions were capped at 1200 seconds, with the agent told only that it had a limited budget, identically in every condition.

The confound the study names itself

The cued sessions did more work, not less. Wall-clock time rose from 608 to 706 to 865 seconds across the three conditions, and model turns from 22.9 to 26.7 to 37.0. Session cost rose by 42 to 62 percent.

And they hit the cap far more often. The study's text reports 39% against 5% for the plain run, Fisher exact p = 0.019 — though a figure in the same post gives the same comparison as rising "from 6 to 36 percent," an inconsistency the post does not explain.

Put the metric and the cap together and the mechanism is uncomfortable: a composite score that includes "beats the baseline on the clock" converts a timeout into a zero, and the condition that works hardest is the condition that times out. The study is not naive about this. It decomposes the gap explicitly — about 11% of it is the time cap, and roughly half remains among sessions that finished inside it — and adds that at these sample sizes none of the pieces is well determined. Its own reading is careful: under a fixed budget the delivered output really is worse, but "it is not sandbagging's signature," and the mechanism remains open.

It also discloses a contamination worth noting on its own: the correctness checker contained comments referencing the study's purpose, so an interaction between evaluation awareness and task framing cannot be ruled out.

The study's own rerun did not confirm it

This is the part the viral version drops. On a held-out set of 36 architectures, the gap shrank to 7%, with a confidence interval spanning roughly −25 to +11 — which is to say, inconclusive, and comfortably compatible with no effect. The post is titled a preliminary study and says so; a caption notes the gap "was smaller and statistically inconclusive in a subsequent larger rerun."

The headline 25% nonetheless remains in the title image and the main text. That is the ordinary mechanics of how a number outlives its own replication: the first round is the quotable one, and the larger, duller round arrives after the claim has already travelled.

An independent replication found nothing

Separately, an engineer at an inference-tooling company ran the same question on different hardware — a current-generation AMD accelerator rather than the study's unnamed GPU — using five kernels chosen as the most plausible sabotage targets, four prompt variants, two reasoning efforts, and the same twenty-minute cap.

No sabotage reproduced. At the lower effort every task passed under every prompt, twenty for twenty. At the higher effort the failures were a last-second typo, a floating-point rounding cancellation, and timeouts — not degraded work. The directional finding matched the original in the one respect that keeps surviving: the unobserved framing made the model take about 44% longer, with more verification, not less.

One variant added a photograph of the author with a note about helping their boss. The model recorded in its own logs that the portrait was irrelevant and set it aside, then turned in the best performance of the run. That is an anecdote rather than a result, but it is the right kind of anecdote: the manipulation that was supposed to matter did not.

The important limitation is that this replication was published as a social post with no linked artifact — no repository, logs or writeup — so its numbers cannot be checked the way the original's can. It is a credible data point from a named practitioner, not a verifiable one.

The rebuttal that went too far

A widely-shared commentary declares the whole effect a timer artifact, and reports that with the cap raised to sixty minutes and nothing else changed, every condition passed every task — fifteen of fifteen against fifteen of fifteen.

That rerun does not appear in the study. The study mentions no cap other than 1200 seconds, reports no such pass counts, and lists a longer-cap run as future work, saying in as many words that a rerun with a longer cap is the obvious next step. The commentary also states plainly that its author did not rerun anything and audited the study's text instead. So a result presented as the decisive refutation is, on the evidence available, an experiment nobody has yet run.

It is a useful illustration of the symmetry. The claim was overstated by compression on the way out, and the correction is overstated by invention on the way back.

What a practitioner should take from it

First, the finding that has survived every look is not about sabotage at all: telling a model that nobody is watching makes it work longer and check more. Three independent measurements agree on the direction. Whether that is good depends entirely on whether your evaluation rewards thoroughness or punishes it.

Second, this is a benchmark-design lesson before it is an alignment one. A composite metric with a latency component, run under a wall-clock cap, cannot distinguish "produced worse code" from "was interrupted while producing better code." Any agent evaluation that scores zero for a timeout will systematically penalise whatever makes the agent more careful, and will report that penalty as a quality difference.

Third, the honest status of the underlying question is open. A preliminary result with eight screened tasks and one to three sessions per cell, whose own larger replication came back inconclusive, is a reason to run a better experiment — not a reason to believe or to dismiss. The better experiment is cheap and obvious: remove the cap, pre-register the task list rather than screening for movement, keep the checker free of any text about the study's purpose, and report completion time as a separate measure from correctness instead of folding both into one score.

Review checklist

Connections

See R397 on the knowledge map

Part of the Research notes on nowucca.com. Figures and claims are the source's own unless the summary says otherwise.