Skip to content
HN On Hacker News ↗

Language Models Can Rewrite Their Own Weights

▲ 493 points • 145 comments • by lwhsiao • 3d ago • HN discussion ↗

Pangram verdict · v3.3

We believe that this text is a mix of AI and human-written content.

76 %

AI likelihood · overall

Mixed
24% human-written 76% AI-generated
SEGMENTS · HUMAN 2 of 6
SEGMENTS · AI 4 of 6
WORD COUNT 392
PEAK AI % 100% · §2
Analyzed
Nov 20
backend: pangram/v3.3
Segments scanned
6 windows
avg 65 words each
Distribution
24 / 76%
human / AI fraction
Verdict
Mixed
Pangram v3.3

Article text · 392 words · 6 segments analyzed

Human AI-generated
§1 Human · 0%

Authors:Jiajun Fan, Neil He, Changyi Yang, Andy Mao, Xi Zhu, Chaoran Cheng, Kaiqu Liang, Shuaike Shen, Zetian Li, Ruihan Guo, Ge Liu View PDF HTML (experimental) Abstract:A language model is trained once and frozen.

§2 AI · 100%

Making it better takes another training run, or a prompt, a harness or extra computation at inference that is gone once the task ends.

§3 AI · 100%

We show a third way: to our knowledge for the first time, a language model rewrites its own weights by its own reasoning and becomes better, with no gradients and no training.

§4 AI · 100%

We call this self-rewriting: the model is its own optimizer.

§5 AI · 100%

In earlier work, a frontier model edited a much smaller one; here an open 27B model, given its weights, its graded answers and the ability to run itself, diagnoses its own failure and rewrites the weights behind it. It surpasses itself: its own edit makes it 6.6 points more accurate on problems it never saw. It keeps getting better: it tests its edits on practice problems and submits only what works, each edit improving on the last, and over eight consecutive sessions its accuracy only rises. It repairs a damaged copy of itself, like a broken robot that fixes itself without being rebuilt: the copy solves almost nothing, yet with no retraining and without ever reading the original weights, the model brings it back to over 80% of the original accuracy on image tasks it never saw. And the ability emerges with scale: in one model family, the smaller models make no edit or break themselves, and only the largest improves and repairs itself. Unlike test-time scaling, self-rewriting writes its gain into the weights, at no cost per answer; unlike training, it runs only forward passes, as serving does. 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.

§6 Human · 0%

Subjects: Artificial Intelligence (cs.AI) Cite as: arXiv:2611.21885 [cs.AI] (or arXiv:2611.21885v2 [cs.AI] for this version) https://doi.org/10.48550/arXiv.2611.21885 arXiv-issued DOI via DataCite Submission history From: Jiajun Fan [view email] [v1] Mon, 16 Nov 2026 20:55:08 UTC (6,363 KB) [v2] Wed, 18 Nov 2026 08:57:59 UTC (6,379 KB)