A language model can rewrite its own weights, by its own reasoning, and get better.
No gradients. No training. No larger model doing it for it. This has not been done before.
No pre-training. No post-training. No test-time scaling. No harness engineering. No prompt engineering.
🌐 Project page: t.co/kXf53EBdHW
📄 Paper: t.co/N1k7YgGE9m
Every language model you have used was trained once and then frozen. Making it better has meant one of two things: train it again, with the infrastructure and the GPUs only a few labs have, or pile prompts, harnesses and extra computation on top, gone the moment the task ends.
Our new paper, Language Models Can Rewrite Their Own Weights, opens a third way. We call it self-rewriting: the model is its own optimizer.
We handed an open model its own weights, its graded answers and the ability to run itself. It diagnosed its own failure and rewrote the weights behind it.
What happened next:
→ It surpassed itself. Its own edit made it 6.6 points more accurate on problems it had never seen.
→ It kept getting better. It tests its edits on practice problems and submits only what works. Eight sessions in a row, its accuracy only went up.
→ It repaired itself. We damaged a copy until it solved almost nothing. With no retraining, and without ever reading the original weights, the model brought it back to over 80% of the original accuracy on image tasks it had never seen. Like a broken robot that fixes itself without being rebuilt.
→ It emerges with scale. The smaller models could not do it: they made no edit, or broke themselves. Only the largest improved and repaired itself.
Why this changes things:
→ The gain is written into the weights. Every answer costs what it cost before.
→ It runs only forward passes, as serving does. No training pipeline to build. No cluster to rent.
Affordable. Scalable. Recursive.
The wall between training and inference is a limit of our tools, not a property of intelligence.
We believe self-rewriting is a necessary step toward recursive self-improvement: a model that, like a human, does not separate training from inference could keep upgrading itself for life, with no larger model, no harness or prompt engineering, and no pre- or post-training.
In 1947 Alan Turing said that letting a machine alter its own instructions "of course does not get us very far." Seventy-nine years later, it gets us further.
Welcome to the Era of Self-Rewriting.