Search papers, labs, and topics across Lattice.
This paper introduces a spectral-based framework for selectively reversing undesirable knowledge edits in large language models while preserving beneficial edits. By hypothesizing that edits are sparsely encoded within the dominant singular subspace of the model's weight matrix, the authors develop a method that identifies and targets specific components for reversal. Experimental results show that their approach effectively reverses selected edits without compromising unrelated beneficial modifications, highlighting the feasibility of selective spectral reversal in maintaining model integrity.
Selective spectral reversal can effectively undo harmful edits in language models while keeping beneficial changes intact, challenging the notion that all edits must be globally removed.
Knowledge editing provides an efficient way to update factual knowledge in large language models. However, malicious edits may introduce safety risks, making it necessary to reverse undesirable editing effects. Existing reversal methods for parameter-modifying edits mainly focus on global removal, which may also erase beneficial edits that should be preserved. In this paper, we study selective reversal of edited knowledge, where the goal is to reverse targeted edited facts while preserving the remaining edited facts. Based on the hypothesis that each edit is sparsely encoded within the dominant subspace of the edited matrix, we propose a spectral-based reversal framework that locates edit-sensitive components within the dominant singular subspace of edited weights. Experiments across multiple settings demonstrate the effectiveness of our method in reversing selected edits while preserving unrelated edited facts. These results suggest that different edits are sparsely encoded within dominant singular components and can be separable when the number of edits is moderate, making selective spectral reversal a promising direction for locating edit-specific components and repairing edited language models.