arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.11469cs.CL
收藏

O-Edit:面向语言模型序列编辑的正交子空间编辑

O-Edit: Orthogonal Subspace Editing for Language Model Sequential Editing

University of Science and Technology of China(中国科学技术大学)

Yuchen Cai, Ding Cao

AI总结:

针对语言模型序列编辑中多次更新导致性能下降的问题,提出正交子空间编辑算法O-Edit,通过将知识更新方向正交化来最小化干扰,在主流LLMs上实现数千次编辑且性能提升达4.2倍。

摘要:

大型语言模型(LLMs)在预训练期间获取知识,但随着时间推移,这些知识可能变得不正确或过时,因此需要在训练后进行更新。知识编辑技术无需昂贵的重新训练即可解决此问题。然而,大多数现有方法专为单次编辑设计,随着编辑次数增加,它们通常会导致模型整体性能下降,给序列编辑带来重大挑战。为克服此问题,我们提出正交子空间编辑,O-Edit。该算法将每次知识更新的方向正交化,最小化连续更新之间的干扰,并减少新更新对不相关知识的影响。我们的方法无需重放先前编辑的数据,并实时处理每次编辑知识。它能在主流LLMs上执行数千次编辑,实现的平均性能提升比现有方法好4.2倍,同时有效保持模型在下游任务上的性能,且仅需极少的额外参数开销。

英文摘要:

Large language models (LLMs) acquire knowledge during pre-training, but over time, this knowledge may become incorrect or outdated, necessitating updates after training. Knowledge editing techniques address this issue without the need for costly re-training. However, most existing methods are designed for single edits, and as the number of edits increases, they often cause a decline in the model's overall performance, posing significant challenges for sequential editing. To overcome this, we propose Orthogonal Subspace Editing, O-Edit. This algorithm orthogonalizes the direction of each knowledge update, minimizing interference between successive updates and reducing the impact of new updates on unrelated knowledge. Our approach does not require replaying previously edited data and processes each edit knowledge on time. It can perform thousands of edits on mainstream LLMs, achieving an average performance improvement that is 4.2 times better than existing methods while effectively preserving the model's performance on downstream tasks, all with minimal additional parameter overhead.

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

↑