arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.01636cs.CLcs.AIcs.LG
收藏

终身知识编辑需要更好的正则化

Lifelong Knowledge Editing requires Better Regularization

UC Berkeley(加州大学伯克利分校);SCB DataX(SCB数据科技);University of Virginia(弗吉尼亚大学)

Akshat Gupta, Phudish Prateepamornkul, Maochuan Lu, Ahmed Alaa, Thomas Hartvigsen, Gopala Anumanchipalli

AI总结:

本文通过形式化定位-然后-编辑方法为两步微调,识别出模型退化的两个原因,并提出两种正则化技术(MPES和Frobenius范数约束),使编辑扩展到10000次并减少42-61%时间,证明针对性正则化对终身知识编辑至关重要。

摘要:

知识编辑是提高大型语言模型事实性的一种有前景的方法,但近期研究表明,在顺序编辑过程中模型会出现显著退化。本文中,我们将流行的定位-然后-编辑方法形式化为一个两步微调过程,从而能够精确识别这种退化的根本原因。我们表明,模型退化是由于(1)内部激活的过度优化和(2)编辑矩阵的持续范数增长所致。为缓解这些问题,我们引入了两种正则化技术:(1)最可能早停(MPES)和(2)显式Frobenius范数约束。我们证明,在编辑过程的关键点应用这些简单而有效的正则化技术可以大幅缓解模型退化。结合这些正则化方法,可以将定位-然后-编辑方法扩展到10000次编辑,同时将编辑时间减少42-61%。这些结果表明,针对性的正则化对于终身知识编辑至关重要。

英文摘要:

Knowledge editing is a promising way to improve factuality in large language models, but recent studies have shown significant model degradation during sequential editing. In this paper, we formalize the popular locate-then-edit methods as a two-step fine-tuning process, allowing us to precisely identify the root cause of this degradation. We show that model degradation occurs due to (1) over-optimization of internal activations and (2) continuous norm-growth of edited matrices. To mitigate these issues, we introduce two regularization techniques: (1) Most-Probable Early Stopping (MPES) and (2) explicit Frobenius norm-constraint. We demonstrate that applying these simple yet effective regularization techniques at key points in the editing process can substantially mitigate model degradation. Combining these regularization methods enables scaling locate-then-edit methods to 10,000 edits while reducing editing time by 42-61%. These results show that targeted regularization is essential for lifelong knowledge editing.

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

↑