Researchers have introduced Bench the Weights, a benchmark designed to measure an emerging capability in coding agents: direct weight-space programming, meaning reading and editing a neural network's parameters without relying on gradients. The benchmark consists of 42 problems built from publicly available pretrained networks spanning seven domains, some with up to 230 million parameters. For each problem, a dedicated bug-injection agent planted two or three targeted bugs, affecting at most 3% of the weights, designed to be hard to detect, resistant to simple workarounds, yet exactly reversible.
The solver agent receives the modified network under strict constraints: 25 minutes, 50 forward passes on CPU only, no access to gradients, and no hint that any tampering occurred. The score captures the share of lost performance the agent manages to recover on a hidden test split. Across 19 frontier models, each running within its provider's own agent harness, the top performer, GPT-6.2 Astra operating in Codex, recovers 80% of lost performance on average and solves 30 to 31 of the 42 problems with at least 75% recovery. Most other models fall between 10% and 38% recovery, revealing a substantial gap between the leading systems and the rest of the field.
Trajectory analysis reveals a recurring pattern: agents typically succeed at locating the injected bugs, but frequently undo edits that are actually correct simply because those edits do not yet show an immediate score improvement. This points to a difficulty in recognizing the value of partial fixes before the full expected behavior has been restored. The authors also report that performance scales meaningfully with allotted time: for Gemini 4 Neon, recovery jumps from 25% to 83% when the time budget is extended to two hours, and capability has improved quickly across successive model releases.
The work fits into a broader push to evaluate agentic capabilities beyond conventional code generation, extending into tasks that touch a model's internal representations directly. While practical applications remain limited for now, the benchmark provides a useful marker for tracking the development of a skill that could matter for interpretability and the maintenance of deployed models.