Multiplicative Orthogonal Sequential Editing for Language Models
Hao-Xiang Xu, Jun-Yu Ma, Ziqi Peng, Yuhao Sun, Zhen-Hua Ling, Jia-Chen Gu
TL;DR
This work tackles sequential knowledge editing in large language models by diagnosing instability caused by additive updates and proposing MOSE, a multiplicative editing paradigm that uses left-multiplication by an orthogonal update to preserve numerical stability. The authors prove theoretically that orthogonal transformations maintain both the Frobenius norm and the condition number, and they formulate a Procrustes-based solution to compute the optimal orthogonal update. Empirically, MOSE outperforms six known edits methods across three LLMs and multiple datasets, achieving a 12.08% improvement in sequential editing while retaining about 95.73% of general abilities, and it remains robust in batch-edit scenarios. The approach demonstrates practical potential for scalable, stable continual knowledge integration in LLMs, with code released for reproducibility.
Abstract
Knowledge editing aims to efficiently modify the internal knowledge of large language models (LLMs) without compromising their other capabilities. The prevailing editing paradigm, which appends an update matrix to the original parameter matrix, has been shown by some studies to damage key numerical stability indicators (such as condition number and norm), thereby reducing editing performance and general abilities, especially in sequential editing scenario. Although subsequent methods have made some improvements, they remain within the additive framework and have not fundamentally addressed this limitation. To solve this problem, we analyze it from both statistical and mathematical perspectives and conclude that multiplying the original matrix by an orthogonal matrix does not change the numerical stability of the matrix. Inspired by this, different from the previous additive editing paradigm, a multiplicative editing paradigm termed Multiplicative Orthogonal Sequential Editing (MOSE) is proposed. Specifically, we first derive the matrix update in the multiplicative form, the new knowledge is then incorporated into an orthogonal matrix, which is multiplied by the original parameter matrix. In this way, the numerical stability of the edited matrix is unchanged, thereby maintaining editing performance and general abilities. We compared MOSE with several current knowledge editing methods, systematically evaluating their impact on both editing performance and the general abilities across three different LLMs. Experimental results show that MOSE effectively limits deviations in the edited parameter matrix and maintains its numerical stability. Compared to current methods, MOSE achieves a 12.08% improvement in sequential editing performance, while retaining 95.73% of general abilities across downstream tasks. The code is available at https://github.com/famoustourist/MOSE.
