A new MIT study shows an AI model that reads, fixes and even writes the weights of other neural networks, with no training. Here is what it can mean for AI in power systems, and why it is also a security question.
A neural network is a large set of numbers called weights. They decide what the network does. Every model that runs on a power system today got its weights the same way. We collected data, chose a score for "good", and let a training program (the optimizer) adjust the numbers, step by step, until the score improved. Nobody writes weights by hand. We write the training code, and the optimizer writes the weights.
On 2 November 2026, Rikiya Takehi, Jayden Teoh, Alex Zhang and Omar Khattab at MIT CSAIL published a study that changes this.1 They gave a frontier model, GPT-6 Astra, the raw weights of other neural networks. Then they asked it, in plain language, to read them, fix them and even write new ones. There was no training. In some tests the model also had no tools and could not run the network to see what happened. The authors call this weight-space programming.
I work on AI for the power grid and on making that AI safe to trust. So I read the study with two questions:
- What could this do for the networks that we use in power systems?
- What does it change for their security?
What weight-space programming is
Training and weight-space programming both end with a set of weights. They get there in very different ways.
01Data + score
- Collect examples
- Define what 'good' means
02Optimizer
- Small corrections
- Thousands of steps
03Weights
- The behaviour appears
- Hard to explain
01Goal in words
- 'Fix this failure'
- 'Which task is this?'
02LLM thinks
- Reads the weights
- Plans a small change
03Edited weights
- Few weights changed
- Each change explained
The important difference is the middle box. An optimizer does not know why it changes a weight. In weight-space programming, the model gives a reason for each change. For example: "this unit should compute where the ball will land", or "this direction makes the model repeat itself".
Three results that stood out to me
The study has eight experiments. Three of them matter most for engineers who use AI for control and forecasting.
1. It can tell what a network does, only from its weights. The team trained four small networks to play four different video games. The networks had the same size and the same inputs. Astra had to say which game each one played, and it got no list of games to choose from. It named all four correctly. It looked at which parts of the screen the first layer pays attention to, and which actions the last layer separates.
A harder test used three small language models. The team removed the first and last layers, so that only the middle was left and the models could not run. Astra still named the language that each model had learned (Python, Japanese in Latin letters, and English). It also found exactly the parts that copy earlier text, the same ones that the authors found by running the full models.
2. It fixed a controller that was stuck. A network learned by trial and error (reinforcement learning, or RL) to drive a car over a ramp. It learned to drive straight at the ramp and get stuck. The right move is to back up first and then accelerate, and that is hard to find by trial and error. Astra got the weights, a description of the scene and one recording of a failed attempt. It added a small extra path that backs the car up, then lets the trained network drive again. The edit changed 3.5% of the weights, and the car got over the ramp in all 1,024 test runs.
If you trained an RL agent for energy management, you know this problem. The agent finds a safe but poor strategy and never leaves it.
3. It fixed a real language model with a very small edit. Qwen3.5-0.8B is a small reasoning model. It often gets stuck in a loop: it repeats the same text until it reaches its length limit. Astra traced the loops to one pattern in two layers and removed it. It changed 131,072 of about 0.8 billion weights, which is 0.016%.
With the loops gone, the model could finish answers that it already knew how to work out. Its math score went from 7.9% to 48.1%, and its score for following instructions went from 21.0% to 62.3%.1
What it does not show (yet)
The results are impressive, but the authors are careful about the limits. We should be careful too.
- It removed a block. It did not add a skill. Gemma 3 270M is a small model that seldom loops. Astra found no single part to fix there, and its edits did not clearly improve the math score. An edit can free an ability that is already there. It did not make a new one.
- Weights alone do not show everything. Astra had to say which of two models was trained to flatter its users. From the weights alone, it could not tell. It succeeded only when it could also see how each model read texts that Astra wrote itself.
- Most networks were small. Most of the networks had between about 17,000 and 1.5 million weights. The case with 0.8 billion weights needed tools and a fixed number of test runs of the model.

Why this matters for the grid
Grid models are the right size
Many networks in power systems are small. Examples are load forecasters, energy-management policies for microgrids, and controllers for inverters and batteries. This is exactly the size where the study shows its clearest results. I see two realistic uses:
- Explain a controller to the people who must approve it. Operators and regulators will not accept a controller that nobody can explain. An AI that can say what each part of a small controller does, and show the weights behind it, could make that review faster.
- Fix a known failure without new training. New training for a grid controller means new data, new tests and new risk. A small, explained edit that removes one failure is a different kind of change. One example: a policy that never discharges the battery early enough.
The same ability is an attack surface
This is the part that I think about most. If an AI can find a 0.016% change that changes how a network behaves, an attacker can do the same. A small, targeted edit to a load forecaster or a dispatch policy could pass the usual accuracy tests. It could then act differently only in the conditions that the attacker chose.

So the weights themselves become a security boundary. I think AI models for critical infrastructure need the same care that we already give to firmware:

Checking weights could also become a defence
The authors suggest that the same ability could check a model without running it, for example to find a hidden backdoor. Grid operators often get models from vendors as finished files, so this would be valuable. But the flattery test shows that we are not there yet. For now, a check of the weights can only add to tests of behaviour and to physical checks. It cannot replace them.
Where I land
Weight-space programming is an early signal, not a finished tool. But it breaks one assumption that much of AI security depends on: that nobody can read weights, so the danger is only in the data and the prompts. If frontier models can read and write weights on purpose, we must review, sign and protect weights too. This is most important in the systems that keep the lights on.
I will follow this work closely. If you want to test these ideas on grid models, I am happy to talk.
Footnotes
-
R. Takehi, J. Teoh, A. Zhang and O. Khattab, "Sparks of Weight-Space Programming: LLMs can natively read & write neural network weights", MIT CSAIL, November 2026. All experimental results in this post come from that source. The illustrations are AI-generated. ↩ ↩2

