A 27B Language Model Edits Its Own Weights and Improves
An open 27B language model can now raise its own accuracy by 6.6 points by editing its own weights, with no training run.
- What they did — The researchers gave four sizes of one open model family access to their own weights, their graded answers, and tools to run and test themselves. Each model then tried to improve itself, or repair a deliberately corrupted copy of itself, using only code and forward passes.
- Key result — The 27B model's own edit raised accuracy on 490 unseen problems from 57.2% to 63.8% (p < 10⁻⁵). Smaller models made no edit or broke themselves.
- Why it matters — A weight edit costs nothing extra per answer, so where it works it is an alternative to both fine-tuning and paying for test-time compute on every query.
Why now: 494 points on Hacker News, from a top lab.

The Problem
Once a language model ships, its weights are frozen [Abstract]. Weights are the billions of numbers that determine its behavior. Improving the model again takes people who know pre- and post-training, large clusters, and a training pipeline [§1].
The cheaper alternatives don't persist. A prompt is gone once the task changes [§1]. Extra computation at answer time is paid on every answer [§1].
There was one earlier hint of another route. A frontier model was shown to edit the weights of a much smaller model by reasoning about them, and that work named self-editing as future work [§1]. The open question was whether a model could do this to itself: diagnose its own failure and change the numbers behind it, with no gradients and no training [§1]. The payoff would be lasting. The edited model is deployed as it is, so an edit is paid for once, not on every answer [§1].
What They Did
The setup gives a model three tools [Figure 3]:
- **Code.** The model can load its own weight matrices as plain numbers in Python and write new values, with up to 200 code runs per session [Figure 3]. - **Paired tests.** The base and edited versions answer the same practice problems with the same random seeds, so any difference traces to the edit [Figure 3]. - **Hidden-state reads.** Think of these as snapshots of the model's intermediate processing at each layer while it reads a text it chooses. The model gets up to 20 such forward passes [Figure 3].
The model starts from its own graded answers on practice problems and takes one action per turn. No gradient flows, no optimizer runs, and no stronger model assists [Figure 3]. One edit shown in the paper's diagram removes a "direction" from a matrix at strength 0.05 [Figure 3]. That is roughly like turning down one specific slider on a mixing board rather than re-recording the track.
In a second protocol, the model checks its candidate edit on reserved practice problems. It then decides itself whether to submit or withdraw [§1]. Each session starts from the base weights. A submitted edit replaces the model in use, and a withdrawal leaves it unchanged [Figure 1].
The same task and tools went to four sizes of the Qwen3.5 family: 2B, 4B, 9B and 27B [Figure 3].
A second experiment tests self-repair. One block of one matrix in a copy of the model is overwritten with noise. The model is told only that some values are corrupted [§1]. It never reads the undamaged weights; the values it writes are its own [§1].
The Results
**Self-improvement.** On 490 held-out problems with eight answers each, the base 27B model scores 57.2% [Figure 1]. Its edits from sessions 2 and 8 raise this to 61.3% and 63.8%. Each is better than the base with p < 10⁻⁵ in a paired test fixed in advance [Figure 1]. The share of answers cut off at the 16,384-token limit fell from 33.6% to 28.8% (session 2) and 26.1% (session 8) [Figure 1].
The paper's showcase example is a broken loop. The base model repeats "I will write the response." 549 times and never answers. After the edit, it answers correctly in 5,341 tokens [Figure 1]. This example was picked as the success case with the shortest edited answer, so it is illustrative, not typical.
**Self-repair.** The 27B model raised a damaged copy from 0.0% to 33.0% on 200 held-out problems, against 58.5% for the undamaged model [Figure 2]. The repair was found using text math problems alone, yet it lifted six unseen image benchmarks from 7.3% to 70.2%, versus 84.3% for the base model [Figure 2]. On ScreenSpot-v2, it went from 0% to 89%, against 93% for the base [§1].
**Scale.** The 2B model made no edit. Instead it stated it was "a text model without actual neural network weights" [Figure 2]. The 4B and 9B models perturbed themselves at random and broke themselves [Figure 2]. In the 4B model's own tests, every edited version solved none of the problems [Figure 4].
Limitations.
- **One model family.** Only its largest member succeeded [Figure 4]. Builders cannot assume the ability exists in other architectures. Decision-makers would need replication beyond Qwen3.5 before planning around it. - **Inconsistent gains.** Five of eight sessions withdrew, leaving the model unchanged [Figure 1]. Of the three that submitted, two (sessions 2 and 8) were significantly better, and session 1 gave a marginal +0.5 [Figure 1]. - **Narrow evidence of what the edit fixes.** The headline example fixes a runaway repetition loop [Figure 1]. Whether self-edits fix other kinds of errors is less demonstrated. - **Partial, artificial repair.** Repair recovered roughly half of text accuracy (33.0% vs. 58.5%) [Figure 2]. The damage was a single noise-filled block, accompanied by a hint that corruption existed [§1].
Why It Matters
**For builders,** this is a different cost profile from fine-tuning. The sessions behind the largest gains each ran in a few hours on a single GPU, using only forward passes as in serving [§1]. Under the submit-or-withdraw protocol, the model in use only rose across eight sessions [Figure 1]. This suggests the check on reserved practice problems is a useful safeguard, though the paper does not isolate its effect. Anyone experimenting with this should consider such a held-out check, given that the smaller models broke themselves [Figure 2].
**For decision-makers,** the relevant change is where improvement costs land. A self-edit adds no computation per answer and needs no pre- or post-training infrastructure [§1]. That contrasts with test-time scaling, which is paid on every query [§1]. But the evidence covers one open model family, mostly math problems, and works only at 27B [Figure 4]. Today this informs what to watch for, not what to deploy.