One Model Rewrote Another Model's Brain — by Hand

The usual way to make a model better is to train it: feed it data, run gradient descent, wait. On November 2, researchers at MIT’s Computer Science and Artificial Intelligence Laboratory (CSAIL) reported a different route — they asked a frontier model to reach into another model’s brain and fix it by hand.
The team — Rikiya Takehi, Jayden Teoh, Alex Zhang, and Omar Khattab — calls the approach “weight-space programming.” In a research post titled Sparks of Weight-Space Programming, they show OpenAI’s GPT-6 Astra reading and rewriting the raw weights of Alibaba’s small open model Qwen3.5-0.8B, with no training loop at all. The headline result: MATH-500 accuracy rose from 7.9% to 48.1%, while Astra changed only about 0.016% of the model’s weights — 131,072 out of roughly 800 million.
What Astra actually did
Qwen3.5-0.8B has a known weakness, flagged on its own model card: it gets stuck in thinking loops, repeating itself until it burns through its entire 32,768-token output budget without answering. Before the edit, 93% of its MATH-500 answers hit that token limit.
Given a Python session and a budget of 50 batches of test runs on practice problems, Astra traced the looping to a single numerical direction produced by the multi-layer perceptrons in layers 15 and 19, then subtracted that direction from 64 output columns in each layer. The loop broke. The share of MATH-500 answers exhausting the token limit fell from 93.0% to 33.1%, and scores rose across the board: GSM8K from 13.8% to 67.1%, and the IFEval instruction-following score from 21.0% to 62.3%.
The work was not quick or cheap to discover. The strongest run took 158 conversational turns, 80 Python executions, and 20.3 hours elapsed — including 4.7 hours lost to a model-access outage. Astra worked in a controlled Python kernel with no GPU access, and never saw the final evaluation benchmarks while editing.
The crucial caveat
The team is blunt about what this result does not show. The gain came from removing an obstruction, not from teaching the small model new mathematics. The proof is the control experiment: on Gemma 3 270M, a model that rarely loops, Astra’s edits moved MATH-500 by barely a percentage point (6.8% to 7.0%). Weight-space programming, at least here, exposed capability that was already latent — it did not instill ability the model never had.
That distinction is also why the size of the gain is being argued about in public. An independent rerun reported the same direction of effect, and the edited model is published on Hugging Face, where a rebuild from the released logs reportedly scored 51.0% on MATH-500 — but at least one outside tester matched the gain with a free, non-editing setting, suggesting part of the story may be about evaluation conditions rather than the edit itself. The logs are open; the argument is live.
Why it still matters
Even as a debugging trick, the result is strange in a way that deserves attention. A general-purpose language model, prompted with raw numbers, inferred what parts of another network compute and rewrote them by hand — and in a second demo, wrote a policy network for Breakout from scratch, zero-shot, scoring 517.4 against 15.8 for a PPO agent trained for 100 million steps.
If models can read weights, they may be able to audit them: spotting a backdoor or a hidden behavior without needing a benchmark that triggers it. If they can write weights, an attacker could in principle skip training entirely. The authors list auditing, cheaper optimization, unlearning, and model merging as follow-ups, and say they are building a benchmark and harness for weight-space programming. Until that exists, every result here is a demo with released logs, not a reproducible capability score.
The deeper shift is conceptual. Training treats weights as the output of an optimization process — something you arrive at, not something you read. Weight-space programming treats them as code: inspectable, diagnosable, patchable. Whether that scales past small models and one very fixable bug is unproven. But the first time a model fixed another model by editing its brain directly, it did not need a training run to do it. It just needed to read the numbers.









