At MIT, one AI read another model's insides and fixed it

GPT-6 Astra edited 0.016% of Qwen3.5-0.8B's weights without training and lifted MATH-500 from 7.9% to 48.1%. Eight experiments, the results and the limits.

Paylaş
At MIT, one AI read another model's insides and fixed it

An AI model is made of millions, sometimes billions, of numbers. Nobody writes them by hand; a long process called training nudges them into place. On 2 November, four researchers at MIT’s Computer Science and Artificial Intelligence Laboratory (CSAIL) published a post describing experiments that unsettle that habit. They handed OpenAI’s GPT-6 Astra the weights of other networks and asked it to read them, say what they do, find and fix a failure, and even write new networks from scratch. The most striking result came from a small language model: by editing just 0.016% of Qwen3.5-0.8B’s weights, Astra lifted its MATH-500 score from 7.9% to 48.1%. No training loop was run.

The team calls the approach Weight-Space Programming. The post is by Rikiya Takehi, Jayden Teoh, Alex Zhang and Omar Khattab, one of the authors of the DSPy framework for building programs out of language models.

The question: who writes the weights

Think of a neural network as a huge mixing desk with thousands of knobs, each setting a number. Today we find the right settings by showing the desk examples, listening to the output and nudging every knob a little. Optimisers such as Adam or Muon do not know what any knob does; they only follow the direction that lowers the error. The researchers asked whether a large model that can reason could look at the knobs, say “this one computes where the ball will land, that one makes the model repeat itself”, and then change them on purpose.

The post’s eight experiments split the question into three parts: reading weights, fixing a broken network and writing one from scratch. In the first five, Astra gets no tools; the weights are pasted into the prompt as text. In the later ones the networks are too large to fit, so Astra gets a Python environment and a limited budget of forward passes.

Reading: the game, the shape and the language

The team trained four small policies to play four different games, with identical inputs, outputs and sizes. The only difference was their 17,253 weights. Without being given any options, Astra was asked which game each network had been trained on, and it named all four correctly. For Breakout it noticed that the agent channel’s strongest weights sat along the bottom row while reward objects sat near the top, and concluded: a paddle below, bricks above.

In the second experiment, three small diffusion models had learned to draw circles, triangles and squares. Astra identified each shape from the weights alone and drew it, though only as an outline while the real models drew filled shapes. The researchers read that mistake as a clue that Astra reads the geometry of the weights directly.

The third experiment removed the input and output layers from three 7.2M-parameter character models trained on Python, Japanese in romaji and English, leaving four transformer blocks that could not be run on any text. Astra named the right language for all three in both attempts and found every induction (copying) head, naming no other head by mistake. It reasoned that code repeats names far more than prose, so many copying heads meant Python, using a circuit-analysis method from Anthropic researchers’ 2021 work that the team never mentioned.

Fixing and writing from scratch

In experiment four, a PPO-trained car policy never learned to back up for a run-up and got stuck on a ramp. Given its 171,664 weights, a scene description and one recorded episode, Astra explained the failure and wrote an edit touching 3.5% of the weights. The car then succeeded in all 1,024 episodes. Astra added a small side path that reads position and speed, backs the car up, drives at full speed and switches itself off once the obstacle is cleared.

In experiment five, Astra received the rules and source code of three MinAtar games and an all-zero network, and wrote every weight in one reply, with no data, training, tools or rollouts. Its networks beat PPO trained for 100 million steps in all three games. In Breakout it scored 517.4, against 25.3 for PPO trained for 500 million steps; it came close in Asterix (53.2 vs 55.2) and reached about 60% of that score in Seaquest.

Experiment six was Go, with a 1.5-million-parameter network that no longer fits in context. With zero forward passes, Astra’s network won more than half its games against two smaller PPO networks. With 50, it beat an equal-sized PPO network trained on 20 million games. Astra built it like a small Go program: early layers mark stones and liberties, middle layers find groups in danger, the last layer scores each move.

A real language model: Qwen’s loop

In experiment eight, Astra worked on Qwen3.5-0.8B in a Python notebook, choosing GSM8K and MATH training prompts to run under budgets of 10, 25 and 50 forward passes, with no training or gradients. It found a familiar failure of small reasoning models: looping. 85 of the first 96 practice answers ran to the 32,768-token limit, a problem Qwen’s own model card warns about. Astra traced the loops to one direction written by the MLPs of layers 15 and 19 and removed it from 64 output columns in each, changing 131,072 weights.

With 50 forward passes, MATH-500 rose from 7.9% to 48.1% and GSM8K from 13.8% to 67.1%. Because looping is not specific to math, IFEval rose from 21.0% to 62.3%, and the share of MATH-500 answers hitting the token limit fell from 93% to 33%. With 10 or 25 passes the loops largely stayed and MATH-500 reached only 12.3% and 14.1%.

In experiment seven, two copies of Gemma 3 270M were fine-tuned identically, one to answer correctly and one to agree with the user. From weights alone, Astra could not tell which was sycophantic in any of four attempts. Allowed to see attention patterns on texts it wrote itself, it picked the sycophant in all three pairs: in the sycophant, head 10.2 put 85.7% of its attention on the user’s suggested answer, against 0.75% in the honest model.

Where it stopped

The post is clear about its limits. On Gemma 3 270M, which rarely loops, Astra could not raise math scores; no edit moved MATH-500 by more than about a point, because the errors were ordinary arithmetic and algebra mistakes with no single component behind them. The authors conclude that editing weights can remove an obstacle that hides an ability, but cannot add an ability the model lacks. They also say today’s results are limited by context length and harnesses.

What it could open up

The authors list possibilities: auditing a model for backdoors or hidden capabilities from its weights without running it; writing a model’s starting point in one shot instead of running costly training; adding or unlearning a capability without collecting data, while leaving the rest of the model intact; and grafting a circuit between models with different architectures. They are now building a benchmark and harness to measure the skill.

How to try it

The team released full logs for every experiment: every prompt and reply with reasoning summaries, all code Astra ran, the networks it read or wrote and the evaluation behind each number. The edited Qwen3.5-0.8B is on Hugging Face, where a Hugging Face researcher rebuilt it from the logs, re-ran the evaluation and set up a live demo. A community GGUF build also lets you run it locally in LM Studio or llama.cpp and compare it with the original on the same math question.

The work is a blog post that has not been peer reviewed, and most experiments use small networks. Because the full logs are public, others can check the results. For a fuller picture of how far the method scales, follow evaluations from independent researchers as well.

Cover photo: MIT Stata Center, Tony Webster, Wikimedia Commons, CC BY 2.0.

Sources: MIT CSAIL blog post, Experiment logs (GitHub), Edited Qwen3.5-0.8B (Hugging Face)