27B大模型无需梯度即可自我重写权重提升准确率
Super interesting paper showing that LLMs can rewrite their own weights.
论文提出LLM无需梯度即可自我编辑权重的全新范式,对持续学习与强化学习闭环有重要启发,值得收藏细读。
Super interesting paper showing that LLMs can rewrite their own weights.
一篇非常有趣的论文,展示了大语言模型能够重写自身的权重。
(bookmark it)
(收藏它)
You might have heard of weight-space programming, where a frontier model can edit the weights of a much smaller one.
你可能听说过权重空间编程(weight-space programming),即前沿模型可以编辑更小模型的权重。
In this work, the LLM edits itself. They call it self-rewriting.
在这项工作中,大语言模型编辑的是它自己。他们称之为自我重写(self-rewriting)。
This is promising, as I feel like this way of learning is more natural for continual learning or RSI loops. But that remains to be tested.
这很有前景,因为我觉得这种学习方式对于持续学习或 RSI 循环来说更为自然。但这仍有待验证。
They show that a 27B language model edited its own weights and became 6.6 points more accurate on 490 problems it had never seen.
他们展示了一个 27B 的语言模型通过编辑自身权重,在 490 个从未见过的问题上准确率提升了 6.6 分。
The model gets its weights, graded answers, and the ability to run itself. It finds the cause of a failure and edits the weights behind it, with no gradients and no training run.
该模型获取其权重、标准答案以及运行自身的能力。它能找出失败的原因并编辑背后的权重,无需梯度且无需训练过程。
It submits an edit only when its own tests support it. Over its first eight sessions, accuracy only went up. The gain stays in the weights, so it adds no cost per answer, and the setup needs one GPU for a few hours.
只有当它自己的测试支持时,才会提交编辑。在前八个会话中,准确率只升不降。增益保留在权重中,因此每次回答不增加额外成本,且设置只需一台 GPU 运行数小时。
It also repaired a damaged copy of itself. Working only from text math problems, it found the corrupted matrix and rewrote it, lifting six image benchmarks from 7% to 70% without reading the undamaged weights.
它还修复了损坏的自身副本。仅基于文本数学问题,它找到了损坏的矩阵并重写了它,使六个图像基准测试的准确率从 7% 提升至 70%,而无需读取未损坏的权重。
The ability depends on scale. The 2B model made no edits, and the 4B and 9B models broke themselves. The 27B model compared its hidden states on answers that finished against answers that ran out of tokens, then weakened the direction that separated them.
这种能力取决于规模。2B 模型未进行任何编辑,4B 和 9B 模型则弄坏了自身。27B 模型比较了完成作答与耗尽 token 的答案的隐藏状态,然后削弱了区分这两者的方向。
https://arxiv.org/abs/2611.21885
Chat with Paper: https://academy.dair.ai/papers/language-models-can-rewrite-their-own-weights-2611.21885
更进一步:量化金融体系
看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力