语言模型可自行改写权重:开源27B模型无梯度自我提升6.6个点
Language Models Can Rewrite Their Own Weights
arXiv论文提出“self-rewriting”,让一个开源27B模型在给定自身权重、评分答案和自运行能力后,诊断自身失败并改写权重,无需梯度与训练,在未见问题上准确率提升6.6个点。
论文展示开源27B模型在无梯度、无训练条件下自行改写权重,并在未见问题上提升6.6个点,为模型自我改进提供了一条不同于测试时扩展的路径。
arXiv:2611.21885v2 Announce Type: replace Abstract: A language model is trained once and frozen. Making it better takes another training run, or a prompt, a harness or extra computation at inference that is gone once the task ends. We show a third way: to our knowledge for the first time, a language model rewrites its own weights by its own reasoning and becomes better, with no gradients and no training. We call this self-rewriting: the model is its own optimizer. In earlier work, a frontier model edited a much smaller one; here an open 27B model, given its weights, its graded answers and the ability to run itself, diagnoses its own failure and rewrites the weights behind it. It surpasses itself: its own edit makes it 6.6 points more accurate on problems it never saw. It keeps getting better: it tests its edits on practice problems and submits only what works, each edit improving on the last, and over eight consecutive sessions its accuracy only rises. It repairs a damaged copy of itself, like a broken robot that fixes itself without being rebuilt: the copy solves almost nothing, yet with no retraining and without ever reading the original weights, the model brings it back to over 80% of the original accuracy on image tasks it never saw. And the ability emerges with scale: in one model family, the smaller models make no edit or break themselves, and only the largest improves and repairs itself. Unlike test-time scaling, self-rewriting writes its gain into the weights, at no cost per answer; unlike training, it runs only forward passes, as serving does. 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.
来源:arXiv (AI + Vision + Imaging) · arxiv.org