Skip to content

One AI repaired another AI's brain

Researchers at MIT asked GPT-6 Astra to read the parameters of a small model directly, work out what was wrong, then modify them by hand. By changing barely 0.016% of its settings, it multiplied its maths performance. An experiment that is still preliminary, but one that opens up dizzying prospects.

Advertisement

The small model was going round in circles. Faced with a maths problem, Qwen3.5-0.8B, an open model from Alibaba with 800 million parameters, launched into a reasoning process that never ended. In 93% of cases, it reached the maximum permitted length without giving an answer.

Researchers then tried something unusual. They did not retrain the model. They asked another AI to open up its "brain", find the fault, and fix it.

What the researchers did

The experiment is described by four researchers from the MIT computer science and artificial intelligence laboratory, including Omar Khattab, known for creating the AI programming tool DSPy, in an article published on Monday on their blog. They call it "programming in weight space".

To understand, we need to recall what a model's parameters are, also called weights: billions of numbers, set during training, which determine its answers. We explained this in our article on parameters. Normally, nobody modifies them by hand: they are adjusted automatically, by showing the model millions of examples.

Here, it was GPT-6 Astra, OpenAI's flagship model, that did the work. It analysed the small model's weights, with the option of running it around fifty times to observe its behaviour. It identified the cause of the loops: a single "direction" in the calculations of two layers of the network. Then it subtracted it.

The result

The modification affected 131,072 parameters, or 0.016% of the model. The effect was dramatic:

TestWhat it measuresBeforeAfter
MATH-500Maths problems7.9%48.1%
GSM8KEveryday arithmetic problems13.8%67.1%
IFEvalFollowing instructions21.0%62.3%

The share of answers that went round in circles up to the limit fell from 93% to 33%. No training, no new data: just a surgical operation.

Other surprising experiments

The researchers ran a whole series of tests. Simply by reading the weights of a network trained to play a video game, Astra was able to say which game it was. It also wrote, itself, with no training at all, small networks capable of playing simple games, and which beat networks trained over hundreds of millions of steps. In a simplified version of the game Breakout, its network scored 517 points, against 25 for a conventionally trained network.

The limits

We should keep a cool head. This work concerns small models, and the authors themselves present it as highly preliminary. It is a blog post, not a peer-reviewed study.

Failures are as instructive as successes. With only 10 or 25 trials instead of 50, the small model's loops barely disappeared. On another model, Google's Gemma 3, Astra achieved no notable progress in mathematics: it cannot add a capability that does not exist. And by reading only the weights, it could not identify which model had been made sycophantic towards the user. It only managed that by observing how it worked.

When Claude thought it was a bridge 🌉
The idea of directly modifying the inside of a model is not entirely new. In 2024, researchers at Anthropic had identified, in one of their models, an area associated with the Golden Gate Bridge in San Francisco. By artificially amplifying it, they had obtained a version of Claude that brought everything back to the famous bridge, to the point of claiming to be one. What is new here is that the operation is no longer carried out by a human, but by an AI.

Why it matters

The authors see several possible uses. Inspecting a model without running it, for example to detect a hidden backdoor. Making it forget a dangerous capability by changing only a few settings. Reducing the cost of training.

But they also raise a dizzying prospect: models capable of inspecting and improving their own weights, or those of their successors. This is exactly the scenario of an AI that improves itself, which its own builders present as a critical threshold.

Key takeaways

A general-purpose AI has just shown that it can read the internal workings of another AI and correct it precisely, without going through the usual training. On small models, and with clear limits.

This is good news for those who want to understand and control these systems. It is also a warning: the day AIs can truly rewrite AIs, the question of who stays in control will become much more urgent.

Advertisement