Directory

Language Models Can Rewrite Their Own Weights

Jiajun Fan, Neil He, Changyi Yang, Andy Mao, Xi Zhu, Chaoran Cheng, Kaiqu Liang, Shuaike Shen, Zetian Li, Ruihan Guo

Published
Nov 16, 2026
Source
Hugging Face Papers
URL
https://huggingface.co/papers/2611.21885

This work tests whether a language model can improve itself by directly editing its own weights without gradient training. A 27B model's edit raises accuracy by 6.6 points on 490 unseen problems, and the paper also reports repeated improvements and repair of a damaged model.

The authors describe self-rewriting: a model inspects its weights, receives graded answers, runs tests, and proposes persistent weight edits using its own reasoning rather than gradient updates. A 27B model improves by 6.6 accuracy points on a prespecified test of 490 unseen problems, with another session also yielding a significant gain. Across its first eight accepted-edit sessions, reported accuracy only increases. In a separate repair experiment, the model identifies and rewrites a corrupted matrix without access to undamaged weights; a repair developed on text math problems raises accuracy on six unseen image benchmarks from 7% to 70%, or 83% of the undamaged model's performance.

#self-improvement#weight-editing#gradient-free#model-repair

Related papers

Dec 1, 2026·Journal of the American College of Emergency Physicians Open

Automated Calculation of the Pediatric Emergency Care Applied Research Network (PECARN) Intra-Abdominal Injury Rule from Unstructured Emergency Department Notes Using a Large Language Model.

Leisha Devisetti, Belinda Chen, N. Addo, Kush Narang, Christopher Alvarez, John Kornak, Chandan Singh, A. Kornblith

A clinical study evaluates OpenAI o1 on extracting a pediatric injury decision rule from unstructured emergency notes. It reports 95.4% accuracy against clinician-derived binary risk scores in 196 children.

OverallSafety
Nov 19, 2026·arXiv

Training LLMs to Follow Reasoning Instructions with Minimal Edits

Alexandra Yakovleva, Luat Gia Khoi Nguyen, Juho Kannala, Harri Valpola, Alexander Ilin

Edit-based training supervises only minimal corrections at the first failure in a model-generated reasoning trace. On ReasonIF with Qwen3-32B, it improves reasoning-instruction compliance over full-trajectory imitation and trajectory-level reinforcement learning while largely preserving untargeted skills.

Reasoning
Nov 12, 2026·arXiv

Negative-Only Policy Optimization for One-Sided Verifiable Rewards

Jiacheng Xu, Shuo He, Fuxiang Zhang, Chaojie Wang, Bo An

Negative-Only Policy Optimization trains policies using reliable failures rather than rewarding candidates that merely pass incomplete checks. It improves pass@k on coding, logic, and mathematics benchmarks when fully reliable rewards are unavailable.

CodingReasoning