超球面能量正则化的序列模型编辑
Energy-Regularized Sequential Model Editing on Hyperspheres
AI总结:
本文提出SPHERE方法,通过超球面能量正则化提升模型在序列编辑中的稳定性与知识保留能力,实验表明其在编辑性能上优于基线方法16.41%。
摘要:
大型语言模型(LLMs)需要持续更新以保持与现实世界知识的一致性。模型编辑提供了一种轻量级替代方法,但序列编辑常导致表示不稳定并引发灾难性遗忘。本文旨在更好地理解和缓解序列编辑引起的性能下降。我们假设超球面均匀性,即保持神经元权重在超球面上的均匀分布,有助于模型保持稳定、保留先验知识并适应新更新。我们使用超球面能量(HE)量化编辑过程中的神经元均匀性,并研究其与编辑性能的相关性。实证研究显示,HE动态与编辑性能存在强相关性,编辑失败通常与高HE波动相关。我们进一步理论证明HE动态对预训练知识退化设定了下限,突显HE稳定性对知识保留的重要性。受这些见解启发,我们提出SPHERE(稀疏投影用于超球面能量正则化编辑),一种HE驱动的正则化策略,通过稳定神经元权重分布,最终在保留先验知识的同时实现可靠的序列更新。具体而言,SPHERE识别出与预训练权重矩阵主超球面方向互补的稀疏空间,并将新知识投影到该空间,从而减轻主方向上的扰动。在LLaMA3(8B)和Qwen2.5(7B)上的广泛实验表明,SPHERE在编辑能力上平均优于基线方法16.41%,同时大部分忠实保留通用模型性能,从而提供了一条通往可靠大规模知识编辑的系统路径。
英文摘要:
Large language models (LLMs) require constant updates to remain aligned with evolving real-world knowledge. Model editing offers a lightweight alternative to retraining, but sequential editing often destabilizes representations and induces catastrophic forgetting. In this work, we seek to better understand and mitigate performance degradation caused by sequential editing. We hypothesize that hyperspherical uniformity, a property that maintains uniform distribution of neuron weights on a hypersphere, helps the model remain stable, retain prior knowledge, while still accommodate new updates. We use Hyperspherical Energy (HE) to quantify neuron uniformity during editing, and examine its correlation with editing performance. Empirical studies across widely used editing methods reveals a strong correlation between HE dynamics and editing performance, with editing failures consistently coinciding with high HE fluctuations. We further theoretically prove that HE dynamics impose a lower bound on the degradation of pretrained knowledge, highlighting why HE stability is crucial for knowledge retention. Motivated by these insights, we propose SPHERE (Sparse Projection for Hyperspherical Energy-Regularized Editing), an HE-driven regularization strategy that stabilizes neuron weight distributions, ultimately preserving prior knowledge while enabling reliable sequential updates. Specifically, SPHERE identifies a sparse space complementary to the principal hyperspherical directions of the pretrained weight matrices and projects new knowledge onto it, attenuating perturbations on the principal directions. Extensive experiments on LLaMA3 (8B) and Qwen2.5 (7B) show that SPHERE outperforms the best baseline in editing capability by an average of 16.41%, while most faithfully preserving general model performance, thereby offering a principled path toward reliable large-scale knowledge editing.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。