See the Unseen: Better Context-Consistent Knowledge-Editing by Noises

Youcheng Huang, Wenqiang Lei, Zheng Zhang, Jiancheng Lv, Shuicheng Yan
1/15/2024
cs.CL

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Knowledge-editing updates knowledge of large language models (LLMs) and contributes to the interpretability and application of LLMs. However, knowledge applying is context-consistent: LLMs can recall the same knowledge in different contexts. Existing works ignore this property and the editing lacks generalization. In this paper, we empirically find that the effects of different contexts upon LLMs in recalling the same knowledge follow a Gaussian-like distribution. We then sample Gaussian noises to simulate the effects of different contexts when updating LLMs. By such, we can make LLMs see the unseen contexts where the edited knowledge will be applied, therefore improving the editing generalization. Experimental results on three LLMs demonstrate the effectiveness of our methods and also distinguish our methods from the others of fine-tuning LLMs by noises.

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. 1 weaker match is hidden by default — 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{huang2024unseen,
  title  = {See the Unseen: Better Context-Consistent Knowledge-Editing by Noises},
  author = {Youcheng Huang and Wenqiang Lei and Zheng Zhang and Jiancheng Lv and Shuicheng Yan},
  year   = {2024},
  eprint = {2401.07544},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.07544v2}
}

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/2401.07544.svg)](https://codeofpaper.com/paper/2401.07544)

Discussion