A team at MIT CSAIL has shown that a frontier language model can read and rewrite the weights of another neural network, and use that ability to repair a small open model's math performance. The work, which the authors call weight-space programming, used OpenAI's GPT-6 Astra to edit Qwen3.5-0.8B, lifting its score on the MATH-500 benchmark from 7.9% to 48.1% while changing roughly 0.016% of the model's parameters.
How the Edit Worked
The researchers did not retrain the model. Instead, Astra inspected the network, reasoned about what the weights were doing and proposed direct changes. According to coverage of the paper, the method used no gradient-based training. In some experiments the weights were supplied as text, while in others the agent worked in a controlled Python environment with forward passes and activation measurements.
The targeted change touched 131,072 weights in layers 15 and 19 of the model. The authors traced the model's tendency to get stuck in repetitive reasoning loops to a numerical direction written by those layers, then removed it. The agent was not told to fix loops directly. It was asked to improve math performance, and it found the looping problem itself.
The Reported Results
Beyond MATH-500, the reported numbers include GSM8K rising from 13.8% to 67.1% and IFEval rising from 21.0% to 62.3%. The share of answers that ran into the output token limit fell from 93.0% to 33.1%. Those are the authors' figures, and independent reproductions so far have been narrower in scope.
The paper also reports other experiments. Astra identified the behavior of four small game-playing networks, and repaired a driving controller that was stuck at a ramp, reaching 100% success after changing 3.5% of its weights. On a small Breakout network, the edited model scored 517.4 against 25.3 for a reinforcement-learning network trained for 500 million steps. The team has released its experiment logs and editing artifacts.
What the Result Does Not Show
The authors and outside commentators are careful about what the gain means. The improvement appears to come mainly from removing a looping behavior, which restored abilities the model already had rather than teaching it new mathematics. One reproduction found that with the model's thinking mode turned off, the base model already scores 45.8 on MATH-500, and the edit reduced that by about 1.5 to 2 points.
The approach also does not transfer automatically. The same method did not establish a math improvement on Gemma 3 270M, which does not show Qwen's repetition problem. The team did not compare the approach against established editing methods such as ROME or MEMIT, conventional fine-tuning or simpler fixes, and it did not show recursive self-improvement or compounding gains. Critics have questioned how much understanding is involved, arguing that an edit that improves a benchmark may have been found by search rather than insight.
Why It Matters
The idea that a language model can act as an engineer on another network's internals is a new kind of tool. If it generalizes, it could let researchers debug a model's failures by editing its internals instead of collecting more data or running expensive training. The same capability also raises safety questions, since a system that can read and write weights could in principle change the behavior of other models in ways that are hard to audit. One public critic warned that the work could accelerate risky progress, which underscores why the authors' release of logs and artifacts matters.
For practitioners, the most concrete takeaway is that the authors have released their logs and editing artifacts. Anyone who wants to check the claims can compare it against the base model under identical sampling settings, which is the comparison the reproductions have already begun to make.
