Stable Knowledge Editing in Large Language Models

Zihao Wei, Liang Pang, Hanxing Ding, Jingcheng Deng, Huawei Shen +1 more
2/20/2024
cs.CL

No official code found. Best implementation: Hi-archers/StableKE (10 stars, last commit 2024-03-26). 1 more below.

Abstract

Efficient knowledge editing of large language models is crucial for replacing obsolete information or incorporating specialized knowledge on a large scale. However, previous methods implicitly assume that knowledge is localized and isolated within the model, an assumption that oversimplifies the interconnected nature of model knowledge. The premise of localization results in an incomplete knowledge editing, whereas an isolated assumption may impair both other knowledge and general abilities. It introduces instability to the performance of the knowledge editing method. To transcend these assumptions, we introduce StableKE, a method adopts a novel perspective based on knowledge augmentation rather than knowledge localization. To overcome the expense of human labeling, StableKE integrates two automated knowledge augmentation strategies: Semantic Paraphrase Enhancement strategy, which diversifies knowledge descriptions to facilitate the teaching of new information to the model, and Contextual Description Enrichment strategy, expanding the surrounding knowledge to prevent the forgetting of related information. StableKE surpasses other knowledge editing methods, demonstrating stability both edited knowledge and multi-hop knowledge, while also preserving unrelated knowledge and general abilities. Moreover, StableKE can edit knowledge on ChatGPT.

View on arXivView PDF

Code Implementations(2)

Stable Knowledge Editing in Large Language Models

100PythonNov 20, 20232 years ago
knowledge-editinglarge-language-models

Stable Knowledge Editing in Large Language Models

72PythonMar 7, 20242 years ago

Similar Papers

Cite this paper

@article{wei2024stable,
  title  = {Stable Knowledge Editing in Large Language Models},
  author = {Zihao Wei and Liang Pang and Hanxing Ding and Jingcheng Deng and Huawei Shen and Xueqi Cheng},
  year   = {2024},
  eprint = {2402.13048},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.13048v1}
}

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

Discussion