arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2611.29513cs.LGcs.AIcs.CL
收藏

递归自编辑:大语言模型编写自身权重编辑以实现自我改进

Recursive Self-Editing: LLMs Program Their Own Weight Edits for Self-Improvement

Linghua Zhang, Yunhe Li

AI总结:

该研究提出SELFWRITE方法,让大语言模型无需梯度即可通过编写自身权重的低秩编辑实现递归自我改进,在Qwen3.8-27B模型及DAPO-Math数学问题上提升了相关任务的准确率。

摘要:

递归自我改进要求系统改进用于改进它的系统。当前语言模型通过数据、训练方案或脚手架实现自我改进,当权重发生变化时,梯度下降会写入更新,而非模型本身。我们让模型自行编写权重,提出SELFWRITE方法:每一代中,当前模型研究自身在新训练问题上的推理过程,在持久Python会话中检查自身的权重与激活,利用白盒原语(奇异方向、对错答案间的激活对比、秩1投影、张量计算)编写程序,构建自身的低秩权重编辑,无需训练或梯度工具。每个候选编辑会在隐藏门控集上针对当前模型进行一次评估,将严格提升性能的最优编辑合并到权重中,编辑后的模型再编写下一个编辑。在Qwen3.8-27B模型及DAPO-Math数学问题上,SELFWRITE的五代迭代将门控准确率从73.95%提升至76.45%,对循环从未见过的保留测试集的准确率从76.30%提升至77.75%(avg@4)、从82.60%提升至84.80%(pass@4),且未执行任何梯度步骤。研究表明,语言模型无需梯度即可对自身权重做出有用修改,且编辑后的模型能持续编写有用的编辑。

英文摘要:

Recursive self-improvement asks a system to improve the very system that improves it. Today's language models improve themselves through data, training recipes or scaffolds. Whenever their weights change, gradient descent writes the update, not the model. We let the model write its own weights. In SELFWRITE, each generation the current model studies its own reasoning on fresh training problems, inspects its own weights and activations in a persistent Python session, and writes a program that constructs a low-rank weight edit for itself from white-box primitives (singular directions, activation contrasts between its right and wrong answers, rank-one projections, tensor computations), with no training or gradient tool. Every candidate is graded once on a hidden gate set against the current model; the best strictly improving edit is merged into the weights, and the edited model writes the next edit. On Qwen3.8-27B and math problems from DAPO-Math, five generations of SELFWRITE raise gate accuracy from 73.95% to 76.45% and accuracy on a held-out test split that the loop never sees from 76.30% to 77.75% (avg@4) and from 82.60% to 84.80% (pass@4), without a single gradient step. A language model can author useful changes to its own weights without gradients, and the edited model keeps writing useful edits.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑