An LLM edited another model's weights: MIT's Weight-Space Programming results 🔧
Most of the time, when we "improve" a language model, we mean we train it again. More data, more gradients, more compute. This week a team at MIT CSAIL showed something stranger and, to me, more interesting. They asked a frontier model to read and rewrite another model's weights directly, with no gradient descent and no training loop. They call it Weight-Space Programming.
What they actually did
On 2 November, Rikiya Takehi, Jayden Teoh, Alex Zhang and Omar Khattab published a long research blog with full experiment logs. The headline result for people who run small open models at home is Experiment 8. They gave GPT-6 Astra a Python session over the weights of Qwen3.5-0.8B, practice problems from GSM8K and MATH (not the test sets), and a budget of forward passes. Training and gradients were off limits.
Astra spotted a failure mode that Qwen's own model card already warns about: thinking-mode loops. The base model kept repeating itself and often hit the 32,768-token limit before answering. Astra traced that loop to a direction written by the MLPs in layers 15 and 19, then subtracted it from 64 output columns in each layer. That is about 131,072 weights, or 0.016% of the model.
Under their thinking-on settings, MATH-500 rose from 7.9% to 48.1%, GSM8K from 13.8% to 67.1%, and IFEval from 21.0% to 62.3%. The share of MATH-500 answers that hit the token limit fell from 93% to 33.1%. The edited checkpoint and the full logs are public.
Be honest about what improved
This is not magic math ability appearing from nowhere. An independent Hugging Face rebuild of the same edit reproduces the numbers closely, and it makes the mechanism clear: with thinking on, almost all of the gain comes from answers that no longer loop. When thinking is off, the edit costs a point or two. On Gemma 3 270M, which rarely loops, Astra could not raise MATH-500 by more than about a point. So the honest framing is: Weight-Space Programming can remove a concrete obstacle that was hiding ability the model already had. It is not yet a general way to add new skills.
That still matters. Targeted surgical edits that leave 99.984% of the weights alone are exactly the kind of fix that fine-tuning often messes up through catastrophic forgetting.
Why I care
If you fine-tune small open models for agents, tutoring tools or a homelab stack, this is a new mental model. Sometimes the right move is not another epoch. Sometimes it is finding the bad direction and deleting it. The authors are building a proper benchmark and harness so this stops looking like black magic and becomes something you can measure. I will be watching that closely.
Sources
- Sparks of Weight-Space Programming (Takehi et al., 2 November 2026)
- Experiment logs on GitHub
- Independent HF rebuild of the Qwen edit
Would you rather spend your next GPU-hour on fine-tuning, or on hunting one bad direction in the weights?
Reacties
Een reactie posten