Open Interpretability Models Contributors Research Posts About

Language Models Can Rewrite Their Own Weights

Source

Citation. Jiajun Fan, Neil He, Changyi Yang, Andy Mao, Xi Zhu, Chaoran Cheng, Kaiqu Liang, Shuaike Shen, Zetian Li, Ruihan Guo and Ge Liu. "Language Models Can Rewrite Their Own Weights". arXiv 2611.21885, v1 16 November 2026, the only version. Paper. Preprint, no venue given. The HTML shows the logos of UIUC, CMU, Rutgers, Princeton and Stanford, but the text doesn't say which author is at which. The paper says that the task prompt "will be released with the code", and it links no code or data. It gives no funding statement and no statement about help from an LLM in the writing. The models that it studies are Qwen3.5 models. The link first given to us was on arxivb.org, another domain, so we used the arxiv.org page.

Status. Planned. #4782 (weight-space programming and interference) would use it. The maintainer designs the campaign to repair models. So this page reports evidence and records questions only.

Read. A web-fetch agent read the abstract page and the v1 HTML on 2026-11-19. It read the body text in full, with Appendices A to E and Algorithms 1 to 4. It also read the values of Tables 1 to 13 and the figure captions. The first fetch gave later sections as a summary only. The agent fetched them again by offset until it had the source's own text to the end. We did not see the figures as images, the PDF or the TeX source. Numbers that only a figure gives are not here.

Summary

Claim. A 27B language model can find the cause of its own errors and edit its own weights to remove it. It uses no gradients and no training. The edit makes it more accurate on problems that it has not seen. The model can also repair a damaged copy of itself. Of four model sizes, only the largest gains.

Method.

Findings, as the source reports them.

Setting Result
27B, second protocol, session 8, 490 held-out problems, 8 answers each, 16,384 tokens 57.2% → 63.8%, +6.6 points, 95% interval [5.0, 8.1], p < 10⁻⁵
27B, second protocol, session 2, same test 61.3%, +4.0 points, p < 10⁻⁵
27B, second protocol, session 1, same test 57.8%, +0.5 points, p = 0.25
27B, second protocol, sessions 3 to 7 Withdrawn, so no edit
27B, first protocol, its submitted layer-8 edit, held-out test 57.2% → 58.3%, +1.1 points, p = 0.038
27B, first protocol, the 39 practice problems used to find the edit 22.4% → 29.6%, +7.3 points, p = 0.009
27B repair, 200 held-out problems, 1 answer each Damaged 0.0%, repaired 33.0%, base 58.5%. 66 problems turn right and none turn wrong
27B repair of the named matrix only, same problems 55.0%
27B repair, six image benchmarks, 100 problems each Base 84.3%, damaged 7.3%, repaired 70.2%, pooled
27B repair, rows of the repaired matrix against the original Cosine similarity 0.002, as for random values. Norms: original 3.85, damaged 825, repaired 39.7
2B Makes no edit
4B, own weights Withdraws its edit. Held-out accuracy would go from 41.0% to 0.0%
9B, own weights Submits an edit. Held-out accuracy goes from 47.5% to 0.0%
2B, 4B and 9B repair 0.0%

Where the claims go beyond the evidence

The authors state some limits themselves. They report the repeats between practice and held-out problems, and they show that significance holds without them. They recommend that a person check each edit that a model makes to itself before it is used.

Use in this repo