Essay
GPT-6 Astra edited a small model's weights and fixed its thinking loops
MIT CSAIL had GPT-6 Astra edit Qwen3.5-0.8B's weights directly, lifting MATH-500 from 7.9% to 48.1%. Most of the gain came from fixing thinking loops.
1 min read
A team at MIT CSAIL asked OpenAI's GPT-6 Astra to make a small model better at math by editing its weights directly, with no training and no gradients. The small model's MATH-500 score went from 7.9% to 48.1%, and most of that jump came from stopping the model getting stuck in thinking loops.
Rikiya Takehi, Jayden Teoh, Alex Zhang and Omar Khattab call it Weight-Space Programming (https://rikiyat.github.io/blog/weight-space-programming/). A general-purpose LLM reads a network's raw numbers, works out what each part computes, and writes new values. On tiny networks, Astra named the game a 17,253-weight policy was trained on, and wrote a Breakout network from scratch that outscored PPO trained for 500M steps.
Before the edit, 93% of Qwen3.5-0.8B's MATH-500 answers hit the 32,768-token limit, because the model got stuck in thinking loops (Qwen's own model card warns about this: https://huggingface.co/Qwen/Qwen3.5-0.8B). Astra traced the loops to one direction written by layers 15 and 19 and subtracted it, changing 0.016% of the weights.
As someone who ships production AI, the first thing I take from this is to sort failures before you fix them. "Never finished" and "got it wrong" need different fixes, and a single accuracy score hides which one you have. The second is that holding the weights is worth more than it was. If this matures, a team serving an open model could patch a known failure without a fine-tuning run. You can't do that to a model you only reach through an API.
Researchers have made targeted weight edits for years. This one was found by a general model working from a plain-language goal, with a Python kernel and 50 forward passes. It also has a ceiling. On Gemma 3 270M, which rarely loops, Astra couldn't move MATH-500 by more than a point. It can uncover an ability the model already has, and so far it can't add one.
The full experiment logs are public: https://github.com/RikiyaT/lm_understand-logs. The Register's coverage: https://www.theregister.com/ai-and-ml/2026/11/03/forget-retraining-ai-can-now-tweak-another-ais-weights/5307105
LLM evalsOpen-source AIInterpretabilityAI engineering