Bench the Weights: Can AI Agents Debug Neural Networks?
Abstract
Weight-space programming, the ability to read a network's weights and edit them directly without gradients, is an emerging capability of coding agents. We introduce Bench the Weights, a benchmark that tests whether AI agents can debug neural networks in weight space. Each of its 42 problems is a public pretrained network, from seven domains and with up to 230 million parameters, in which a bug-injection agent has placed two or three targeted bugs. The bugs touch at most 3% of the weights, are hard to spot, resist simple workarounds and can be reversed exactly. A solver agent receives the modified network with 25 minutes and 50 forward passes on a CPU, no gradients and no indication that anything has been changed, and we score the share of the lost performance it recovers on a hidden test split. Across 19 frontier models running in their providers' harnesses, the best agent, GPT-6.2 Astra in Codex, recovers 80% on average and solves 30 to 31 of the 42 problems, with at least 75% recovery, while most models recover between 10% and 38%. Trajectory analysis shows that agents usually locate the bugs but often undo correct edits that do not yet improve the score. Performance increases with more time, from 25% to 83% for Gemini 4 Neon at two hours, and has improved quickly across model releases.
Get this paper in your agent:
hf papers read 2611.37936 Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper
Collections including this paper 0
No Collection including this paper