An open language model rewrites its own weights — and gets better. That is the finding of “Language Models Can Rewrite Their Own Weights”, posted to arXiv on Monday (16/11) and revised on Wednesday (18/11) by researchers from UIUC, CMU, Rutgers, Princeton, Stanford and Yale. The model was the Qwen3.5-27B, with 27 billion parameters — and, according to the authors, this is the first time a model has done this to itself, with no gradients and no training.
In practice, the model was given its own weights, its graded answers and the ability to run itself. From there, it diagnosed its own failure and edited the weights behind it — keeping an edit only after testing it on reserved practice problems. The result: 6.6 points higher accuracy on 490 math problems it had never seen (from 57.2% to 63.8% in the best session), in a paired test fixed before the sessions, with p < 10-5. One important nuance: much of the gain came from answers that used to repeat themselves until they hit the 16,384-token limit — in one example from the paper, the base model repeats the same sentence 549 times and never answers — and that, after the edit, finished in time. Answers running out of tokens fell from 33.6% to 26.1%.
In other words, the model rewrites its own weights based on what it learned from its own mistakes — and the gain stays written into them.
It also repairs a damaged copy of itself
In a second experiment, the researchers corrupted a copy of the model by overwriting eight rows of one weight matrix with noise — the copy then solved almost nothing. Told only that some values were corrupted, the model located the faulty matrix and repaired it with values of its own, without ever reading the intact original weights. The repair, found using only text math problems, transferred to images: on six visual benchmarks the model had never seen, the damaged copy jumped from 7% to 70% accuracy — 83% of the undamaged model's performance. On ScreenSpot-v2 it went from 0% to 89%, against 93% for the original model.
In short, the model rewrites its own weights both to improve and to repair itself.
It only works at scale — and it is still a preprint
The ability only appears in the largest model: in the same family, with the same task and tools, the 2B model made no edit, the 4B and 9B models broke themselves, and only the 27B model improved and repaired itself. Each session took a few hours on a single GPU, and the gain lives in the weights — with no extra cost per answer and none of the infrastructure of pre- or post-training. For context: earlier work had shown a frontier model editing a much smaller model, and MIT showed LLMs reading and writing other models' weights. The new claim is a model that rewrites its own weights. The authors see this as a step toward recursive self-improvement — but the work is an arXiv preprint, not yet peer-reviewed, and the numbers are as reported by the authors themselves.
Image: Figure 5 of the paper “Language Models Can Rewrite Their Own Weights” (Fan et al.), showing before and after the model's own repair on four image benchmarks. Source: arXiv:2611.21885.
Sources
- arXiv:2611.21885 — Language Models Can Rewrite Their Own Weights (Fan et al., v2, 18/11/2026)
- arXiv — resumo e versões do artigo 2611.21885
- Traictory — A 27B model rewrote its own weights. Its best edit taught it to stop rambling
- PhantomByte — Qwen3.5 27B Rewrote Its Own Weights Without Gradients
Read also on Geekiki: Claude ajuda a provar a Hipótese de Riemann: formalização em Lean verificada
Transparency note: this article was produced with the assistance of artificial intelligence, cross-checked against public posts on X and internet sources, and reviewed before publication. Please consult the original sources to confirm the information.
By Muse