English

Context-Robust Knowledge Editing for Language Models

Computation and Language 2025-06-03 v2 Artificial Intelligence

Abstract

Knowledge editing (KE) methods offer an efficient way to modify knowledge in large language models. Current KE evaluations typically assess editing success by considering only the edited knowledge without any preceding contexts. In real-world applications, however, preceding contexts often trigger the retrieval of the original knowledge and undermine the intended edit. To address this issue, we develop CHED -- a benchmark designed to evaluate the context robustness of KE methods. Evaluations on CHED show that they often fail when preceding contexts are present. To mitigate this shortcoming, we introduce CoRE, a KE method designed to strengthen context robustness by minimizing context-sensitive variance in hidden states of the model for edited knowledge. This method not only improves the editing success rate in situations where a preceding context is present but also preserves the overall capabilities of the model. We provide an in-depth analysis of the differing impacts of preceding contexts when introduced as user utterances versus assistant responses, and we dissect attention-score patterns to assess how specific tokens influence editing success.

Keywords

Cite

@article{arxiv.2505.23026,
  title  = {Context-Robust Knowledge Editing for Language Models},
  author = {Haewon Park and Gyubin Choi and Minjun Kim and Yohan Jo},
  journal= {arXiv preprint arXiv:2505.23026},
  year   = {2025}
}

Comments

ACL 2025 Findings. Our code and datasets are available at https://github.com/holi-lab/CoRE

R2 v1 2026-07-01T02:47:40.611Z