Context-Robust Knowledge Editing for Language Models

Haewon Park, Gyubin Choi, Minjun Kim, Yohan Jo
5/29/2025
cs.CLcs.AI

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{park2025contextrobust,
  title  = {Context-Robust Knowledge Editing for Language Models},
  author = {Haewon Park and Gyubin Choi and Minjun Kim and Yohan Jo},
  year   = {2025},
  eprint = {2505.23026},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.23026v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.23026.svg)](https://codeofpaper.com/paper/2505.23026)

Discussion