語言模型答錯題目後,通常得靠重新訓練來改善。
- 這篇研究讓 27B 模型檢視自己的權重和已批改的答案,找出答錯原因,再直接修改相關權重。
- 只有模型自己的測試支援修改時,才會採用,而且不需要梯度或重新訓練。模型在 490 道沒看過的題目上,正確率提高了 6.6 個百分點,前八次修改期間也一路上升。不過這種做法很看模型規模:2B 模型沒有提出修改,4B 和 9B 模型則把自己改壞了。
AI 伴隨問答
針對這篇報導有疑問?可直接點選快捷問題或向 AI 追問背景脈絡與技術細節:
這項研究展示模型直接改寫自身權重後的變化,並比較不同規模模型能否完成修改,提供評估持續學習方法的具體案例。
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.
In this work, the LLM edits itself. They call it 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.
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.
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.
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.
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.
Chat with Paper: https://t.co/m8vV3EgWgc