局部知识编辑会引发模型矩阵范数增长,导致稳定性下降。
Norm Growth and Stability Challenges in Localized Sequential Knowledge Editing
- 仅更新部分模型矩阵时,其弗罗比尼乌斯范数持续上升。
- 连续更新使内部激活向量范数下降且所在表示空间发生偏移。
- 适用于需长期维护知识的LLM系统,如智能助手、知识库应用。
本研究探究了大语言模型中局部化更新的影响,聚焦于知识编辑任务——在不改变整体能力的前提下增补或修改特定事实。我们发现,无论采用连续预训练、全量微调还是基于LoRA的微调,更新矩阵的弗罗比尼乌斯范数始终增加。这一现象在仅更新部分矩阵的局部知识编辑中尤为严重:随着多次更新,被修改矩阵的范数不断上升,破坏模型内部平衡,尤其当其余部分保持不变时,可能引发不稳定并降低下游性能。进一步分析中间激活向量显示,其范数下降,并伴随表示子空间的显著偏移,表明激活向量已进入与原始模型完全不同的区域。本文揭示了连续、局部序列化知识编辑中的技术挑战及其对模型稳定性与实用性的深远影响。
原文摘要 · Abstract (English)
This study investigates the impact of localized updates to large language models (LLMs), specifically in the context of knowledge editing - a task aimed at incorporating or modifying specific facts without altering broader model capabilities. We first show that across different post-training interventions like continuous pre-training, full fine-tuning and LORA-based fine-tuning, the Frobenius norm of the updated matrices always increases. This increasing norm is especially detrimental for localized knowledge editing, where only a subset of matrices are updated in a model . We reveal a consistent phenomenon across various editing techniques, including fine-tuning, hypernetwork-based approaches, and locate-and-edit methods: the norm of the updated matrix invariably increases with successive updates. Such growth disrupts model balance, particularly when isolated matrices are updated while the rest of the model remains static, leading to potential instability and degradation of downstream performance. Upon deeper investigations of the intermediate activation vectors, we find that the norm of internal activations decreases and is accompanied by shifts in the subspaces occupied by these activations, which shows that these activation vectors now occupy completely different regions in the representation space compared to the unedited model. With our paper, we highlight the technical challenges with continuous and localized sequential knowledge editing and their implications for maintaining model stability and utility.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。