Knowledge Editing for Large Language Model with Knowledge Neuronal Ensemble

Yongchang Li, Yujin Zhu, Tao Yan, Shijian Fan, Gang Wu +1 more
12/30/2024
cs.CL

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

As real-world knowledge is constantly evolving, ensuring the timeliness and accuracy of a model's knowledge is crucial. This has made knowledge editing in large language models increasingly important. However, existing knowledge editing methods face several challenges, including parameter localization coupling, imprecise localization, and a lack of dynamic interaction across layers. In this paper, we propose a novel knowledge editing method called Knowledge Neuronal Ensemble (KNE). A knowledge neuronal ensemble represents a group of neurons encoding specific knowledge, thus mitigating the issue of frequent parameter modification caused by coupling in parameter localization. The KNE method enhances the precision and accuracy of parameter localization by computing gradient attribution scores for each parameter at each layer. During the editing process, only the gradients and losses associated with the knowledge neuronal ensemble are computed, with error backpropagation performed accordingly, ensuring dynamic interaction and collaborative updates among parameters. Experimental results on three widely used knowledge editing datasets show that the KNE method significantly improves the accuracy of knowledge editing and achieves, or even exceeds, the performance of the best baseline methods in portability and locality metrics.

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. 2 weaker matches are 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{li2024knowledge,
  title  = {Knowledge Editing for Large Language Model with Knowledge Neuronal Ensemble},
  author = {Yongchang Li and Yujin Zhu and Tao Yan and Shijian Fan and Gang Wu and Liang Xu},
  year   = {2024},
  eprint = {2412.20637},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.20637v1}
}

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

Discussion