49
0

LyapLock: Bounded Knowledge Preservation in Sequential Large Language Model Editing

Abstract

Large Language Models often contain factually incorrect or outdated knowledge, giving rise to model editing methods for precise knowledge updates. However, current mainstream locate-then-edit approaches exhibit a progressive performance decline during sequential editing, due to inadequate mechanisms for long-term knowledge preservation. To tackle this, we model the sequential editing as a constrained stochastic programming. Given the challenges posed by the cumulative preservation error constraint and the gradually revealed editing tasks, \textbf{LyapLock} is proposed. It integrates queuing theory and Lyapunov optimization to decompose the long-term constrained programming into tractable stepwise subproblems for efficient solving. This is the first model editing framework with rigorous theoretical guarantees, achieving asymptotic optimal editing performance while meeting the constraints of long-term knowledge preservation. Experimental results show that our framework scales sequential editing capacity to over 10,000 edits while stabilizing general capabilities and boosting average editing efficacy by 11.89\% over SOTA baselines. Furthermore, it can be leveraged to enhance the performance of baseline methods. Our code is released onthis https URL.

View on arXiv
@article{wang2025_2505.15702,
  title={ LyapLock: Bounded Knowledge Preservation in Sequential Large Language Model Editing },
  author={ Peng Wang and Biyu Zhou and Xuehai Tang and Jizhong Han and Songlin Hu },
  journal={arXiv preprint arXiv:2505.15702},
  year={ 2025 }
}
Comments on this paper