Skip to content

Researchers Test Self-Rewriting Weights in Qwen3.5 27B

Baoyu · XRelayed@dotey· 7 days agoPicks

21.1K views · 90 likes · 7 reposts (at collection)

Original

What happened

Researchers report that Qwen3.5 27B raised its accuracy on 490 unseen math problems from 57.2% to 63.8% after diagnosing errors and changing its own weights without retraining. The paper also reports partial recovery of a damaged model copy, including on image tasks. The work has been tested only on the Qwen3.5 family, and the arXiv paper has not undergone peer review.

Why it matters

For Qwen3.5 27B, a targeted weight edit reduced unfinished answers and raised accuracy on 490 unseen math problems; the tests cover only the Qwen3.5 family, and the paper has not been peer reviewed.

Body · English translation

Without retraining, the open-source model Qwen3.5 27B diagnosed its own errors and wrote code to modify its own weights, raising its math accuracy from 57.2% to 63.8%—though it is not yet “infinite AI self-improvement.”

This comes from a November 18 arXiv paper by 11 researchers (Jiajun Fan et al.) from UIUC, CMU, Princeton, Stanford, Yale, and other institutions.

Normally, once a large model is released, those 27 billion internal weight numbers are fixed: to make it stronger, you either throw compute at retraining it, or stuff extra prompts into queries and give it more thinking time as a temporary workaround, which reverts as soon as the conversation ends.

This time, the researchers disabled all training tools and ran the model on a single GPU for a few hours, letting it directly write Python to modify its own weights; according to the authors, this is the first time a model has “modified itself.”

How did it fix itself?

27B first reviewed its practice logs and found that the issue wasn't an inability to do the math (96% of the problems it finished were correct), but rather getting stuck in loops and hitting the limit before finishing. For example, on one counting problem, the original model repeated “I will write the response” 549 times until it stalled.

Once it pinpointed the root cause, it made just one clever change: uniformly raising the parameter across 48 internal layers that controls “how fast old information fades” by 0.5, reducing spinning in place during long reasoning. As a result, on 490 unseen math problems, the incomplete rate dropped from 33.6% to 26.1%, accuracy rose by 6.6 percentage points, and the stalled problem above was solved with the correct answer, 110. After the edit, the capability is baked directly into the weights, requiring no extra prompts or additional compute during normal use.

It even repaired a “damaged copy.” The researchers replaced 8 rows of a matrix in layer 30 of a copy with random noise at 200x amplitude, completely crippling the copy and dropping its math score to 0. Told only that “some values are corrupted” and without access to the intact original, the model inspected layer by layer, tracked down the anomalous matrix whose maximum value was 1,397 times the median (normally no more than 162 times), and flattened all extreme values exceeding 15 times the median.

After the repair, math accuracy recovered to 33.0% (original: 58.5%); even though the entire repair relied only on text problems, performance on 6 vision tests recovered from 7.3% to 70.2%, over 80% of the original (84.3%).

However, smaller models couldn't do this at all: the 2B model in the same series said it was “just a text model and cannot modify weights” and didn't even try; 4B and 9B only added random noise to weights hoping to get lucky, and 9B edited itself straight from 47.5% down to 0.

Finally, it is important to note that this is still not “infinite AI self-improvement”:

  1. It is not yet “recursive self-improvement”: each of the 8 experimental rounds started fresh from the original model, rather than having “an edited version continue editing itself” (listed by the authors as a next step). What people online call “8 consecutive rounds with only gains and no drops” was actually the model reverting 5 failed edits on its own and committing only 3 successful ones.
  2. Limited test scope: so far it has only been verified on the Qwen3.5 family and math problems, and the paper was just posted on arXiv without peer review yet.

Paper: arxiv.org/abs/2611.21885
Project page: jiajunfan.com/projects/self-r…

Quoted postJiajun Fan@FanJiajun67938

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: jiajunfan.com/projects/self-r…

📄 Paper: arxiv.org/abs/2611.21885

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.

The story so far

Eleven researchers from UIUC, CMU, Princeton, Stanford, and Yale, including Jiajun Fan, published an arXiv paper showing that Qwen3.5 27B can diagnose errors and rewrite its own weights without retraining. In their tests, the model raised its accuracy on 490 unseen math problems from 57.2% to 63.8%, and the researchers reported that a damaged copy of the model partially recovered, including on image tasks. The findings have been tested only on the Qwen3.5 family, and the paper, posted on November 18, has not undergone peer review.

Read next

See the full storyResearchers Show Qwen3.5 27B Can Rewrite Its Own Weights
This story is in 11/24 AI DailyRead the whole issue