# Preprint Claims AI Model Rewrote Its Own Weights, Gained 6.6 Accuracy Points Without Retraining

> Source: <https://epyhia.com/preprint-claims-ai-model-rewrote-its-own-weights-gained-6-6-accuracy>
> Published: 2026-12-01 10:19:32+00:00

**Recommendation:** Test self-directed weight edits against the original baseline, not stacked sessions, and require an external verification step before accepting an edit; the best accepted edit gained 6.6 points while the 0.5-point gain failed significance.
More in the playbook "Fine-tuning and data": <https://wpnews.pro/playbooks/training-data>

# Preprint Claims AI Model Rewrote Its Own Weights, Gained 6.6 Accuracy Points Without Retraining

A preprint posted to arXiv on November 16, 2026 reports that a 27-billion-parameter language model modified its own weights during inference and improved its accuracy on unseen math problems by 6.6 percentage points — without gradient descent, additional training data, or a separate training run. The work, titled "Language Models Can Rewrite Their Own Weights," comes from Jiajun Fan and ten coauthors at the University of Illinois Urbana-Champaign and five other US institutions [\[1\]](https://digg.com/ai/x8e31ws4)[\[2\]](https://www.riotimesonline.com/ai-model-rewrites-own-weights-preprint-study)[\[3\]](https://itbrief.news/story/ai-model-rewrites-its-own-weights-boosts-accuracy). It is a preprint; no independent replication has been reported.

## What the experiment did

The researchers used the open-weight Qwen3.5-27B model from Alibaba. They gave the model access to its own weights, a Python environment with training tools disabled, and a pool of 3,000 practice math problems with graded answers. The model could run itself up to 20 times to test a proposed weight edit, then submit or withdraw the change [\[2\]](https://www.riotimesonline.com/ai-model-rewrites-own-weights-preprint-study)[\[3\]](https://itbrief.news/story/ai-model-rewrites-its-own-weights-boosts-accuracy)[\[6\]](https://www.jiajunfan.com/projects/self-rewriting).

The procedure used only forward passes — the computations used to run the model — not gradients, the mathematical signals that guide weight updates during training. The model diagnosed its own failure mode (repetitive loops that hit the token limit without answering), identified the weight directions responsible, wrote edits, tested them on practice problems, and kept only those that improved performance [\[3\]](https://itbrief.news/story/ai-model-rewrites-its-own-weights-boosts-accuracy)[\[6\]](https://www.jiajunfan.com/projects/self-rewriting).

## Reported results

Across eight consecutive sessions under the authors' second protocol (which included an external verification step), the model submitted three edits and withdrew five. The best single edit lifted accuracy on 490 held-out math problems from 57.2% to 63.8% — a 6.6-point gain. A second edit gained 4.0 points; the first session's 0.5-point gain was not statistically significant by the authors' test [\[2\]](https://www.riotimesonline.com/ai-model-rewrites-own-weights-preprint-study)[\[3\]](https://itbrief.news/story/ai-model-rewrites-its-own-weights-boosts-accuracy).

Each session started from the original weights, so the gains are measured against the baseline, not stacked. The authors say the model in use only gets better across the eight sessions, but the mechanism does not yet demonstrate a model repeatedly improving itself from its own improved state [\[1\]](https://digg.com/ai/x8e31ws4)[\[2\]](https://www.riotimesonline.com/ai-model-rewrites-own-weights-preprint-study).

In a separate experiment, the researchers corrupted a copy of the model by overwriting eight rows in one weight matrix with noise, reducing its accuracy on text math problems to near zero. Told only that some values were corrupted, the model examined 112 of its matrices, identified the damaged one, and rewrote it without ever accessing the original weights. On text problems the repair lifted performance from 0.0% to 33.0%. On six unseen image benchmarks (100 problems each), the repaired model recovered to 70.2% accuracy — 83% of the undamaged model's level — even though the fix was discovered on text problems alone [\[2\]](https://www.riotimesonline.com/ai-model-rewrites-own-weights-preprint-study)[\[3\]](https://itbrief.news/story/ai-model-rewrites-its-own-weights-boosts-accuracy)[\[6\]](https://www.jiajunfan.com/projects/self-rewriting).

## Limits the authors acknowledge

The improvement was observed only in the 27B model. In the same Qwen3.5 family, the 2B version made no edit, while the 4B and 9B versions degraded themselves with random changes [\[2\]](https://www.riotimesonline.com/ai-model-rewrites-own-weights-preprint-study)[\[3\]](https://itbrief.news/story/ai-model-rewrites-its-own-weights-boosts-accuracy)[\[6\]](https://www.jiajunfan.com/projects/self-rewriting). The tasks were math and image-math problems; the abstract does not identify the specific benchmark behind the 6.6-point figure, nor does it provide statistical uncertainty for that number [\[2\]](https://www.riotimesonline.com/ai-model-rewrites-own-weights-preprint-study).

The authors call self-rewriting "a necessary step toward recursive self-improvement" but write that the path should involve a person approving every self-made model — every self-made model should be "evaluated, for safety as well as for the task, and confirmed by a person before it is used" [\[2\]](https://www.riotimesonline.com/ai-model-rewrites-own-weights-preprint-study). The word "safety" appears once, in the conclusion.

## Context: not the first weight-editing claim

Earlier work has shown frontier models editing smaller models' weights. A November 2 blog post from MIT CSAIL researchers (Rikiya Takehi, Omar Khattab, and colleagues) reported that a model called GPT-6 Astra edited 0.016% of Qwen3.5-0.8B's weights and raised its MATH-500 score from 7.9% to 48.1% [\[2\]](https://www.riotimesonline.com/ai-model-rewrites-own-weights-preprint-study)[\[7\]](https://rikiyat.github.io/blog/weight-space-programming). Other precedents include the Darwin Gödel Machine (Zhang et al., May 2025) and SEAL (Zweiger et al., June 2025), which have models write their own training data or code [\[2\]](https://www.riotimesonline.com/ai-model-rewrites-own-weights-preprint-study).

The Fan et al. preprint differs in that the model edits itself, not a smaller model, and does so using only forward passes in a single GPU session lasting a few hours [\[3\]](https://itbrief.news/story/ai-model-rewrites-its-own-weights-boosts-accuracy)[\[6\]](https://www.jiajunfan.com/projects/self-rewriting).

## What this does and doesn't show

The result is a concrete, testable demonstration that a mid-sized open model can diagnose a failure, rewrite the weights behind it, and verify the fix on held-out problems — all without a training pipeline. The edits are code the model wrote; they can be diffed, tested, and reverted like a software commit [\[3\]](https://itbrief.news/story/ai-model-rewrites-its-own-weights-boosts-accuracy)[\[6\]](https://www.jiajunfan.com/projects/self-rewriting).

It does not show endless self-improvement. The eight-session run measures each edit against the original weights, not against the previous edit. The benchmark behind the headline 6.6-point gain is not named in the abstract, and no independent group has replicated the experiment. The gains are on math tasks in one model family; they say little about general capabilities or business tasks [\[1\]](https://digg.com/ai/x8e31ws4)[\[2\]](https://www.riotimesonline.com/ai-model-rewrites-own-weights-preprint-study).

For frontier labs that have claimed self-improving systems are near, this preprint offers a reproducible (if narrow) existence proof of one component: a model that can rewrite its own weights and get better on a test set. Whether that component scales, composes, or generalizes remains unproven.

## Sources

1. [An AI model rewrote its own weights—and got better, researchers say](https://digg.com/ai/x8e31ws4) (digg.com)
2. [Preprint Says AI Model Rewrote Own Weights](https://www.riotimesonline.com/ai-model-rewrites-own-weights-preprint-study) (riotimesonline.com)
3. [AI model rewrites its own weights & boosts accuracy](https://itbrief.news/story/ai-model-rewrites-its-own-weights-boosts-accuracy) (itbrief.news)
4. [An AI Rewrote Its Own "Weights"—Reading a Small, Genuine Step Toward Recursive Self-Improvement｜Kazuhiko](https://note.com/kazuhiko0317/n/n745baa322a34?hl=en) (note.com)
5. [When the Model Writes Its Own Weights: What Recursive Self-Improvement Means for Enterprise AI Governance](https://vector-labs.ai/insights/when-the-model-writes-its-own-weights-what-recursive-self-improvement-means-for-enterprise-ai-governance) (vector-labs.ai)
6. [Language Models Can Rewrite Their Own Weights | Jiajun Fan](https://www.jiajunfan.com/projects/self-rewriting) (jiajunfan.com)
7. [Sparks of Weight-Space Programming: LLMs can natively read & write neural network weights](https://rikiyat.github.io/blog/weight-space-programming) (rikiyat.github.io)
