Beyond Hard Writes and Rigid Preservation: Soft Recursive Least-Squares for Lifelong LLM Editing
Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. Main Track. Pages 2382-2390.
https://doi.org/10.24963/ijcai.2026/265
Keywords
- Knowledge Representation and Reasoning: Applications
- Machine Learning: Generative models
- Constraint Satisfaction and Optimization: Constraint optimization problems
- Natural Language Processing: Language models
Abstract
Model editing updates a pre-trained LLM with new facts or rules without retraining while preserving unrelated behavior. In real deployment, edits arrive as long streams, creating a plasticity–stability dilemma: repeated locate-then-edit “hard writes” can accumulate interference over time, while rigid preservation constraints may protect only explicitly constrained directions, allowing past edits or unconstrained behaviors to deviate.
We propose RLSEdit, a recursive least-squares editor for long sequential editing. RLSEdit formulates editing as an online quadratic optimization with soft constraints, minimizing a cumulative key-value fitting objective together with two regularizers that control deviation from the pre-trained weights and from a designated anchor mapping. This objective admits an efficient Woodbury-based online recursion, with per-edit cost independent of history length and scaling only with the current edit size. We further provide deviation bounds and an asymptotic characterization of the adherence–preservation trade-off in the many-edits regime.
Experiments on CounterFact and ZsRE across multiple model families show stable scaling to 10K edits, outperforming strong baselines in both edit success and holistic stability, while retaining early edits and preserving general capabilities on GLUE and held-out reasoning/code benchmarks.
Code will be at here.
@inproceedings{ijcai2026p265,
title = {Beyond Hard Writes and Rigid Preservation: Soft Recursive Least-Squares for Lifelong LLM Editing},
author = {Wang, Xinyu and Lyu, Sicheng and Gu, Yu and Huang, Jerry and Lu, Peng and Cui, Yufei and Chang, Xiao-Wen},
booktitle = {Proceedings of the Thirty-Fifth International Joint Conference on
Artificial Intelligence, {IJCAI-26}},
publisher = {International Joint Conferences on Artificial Intelligence Organization},
editor = {Diego Calvanese},
pages = {2382--2390},
year = {2026},
month = {8},
note = {Main Track},
doi = {10.24963/ijcai.2026/265},
url = {https://doi.org/10.24963/ijcai.2026/265},
}
TY - CPAPER TI - Beyond Hard Writes and Rigid Preservation: Soft Recursive Least-Squares for Lifelong LLM Editing AU - Wang, Xinyu AU - Lyu, Sicheng AU - Gu, Yu AU - Huang, Jerry AU - Lu, Peng AU - Cui, Yufei AU - Chang, Xiao-Wen T2 - Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence, IJCAI-26 PB - International Joint Conferences on Artificial Intelligence Organization PY - 2026 SP - 2382 EP - 2390 DO - 10.24963/ijcai.2026/265 UR - https://doi.org/10.24963/ijcai.2026/265 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: