Enhancing Multi-hop Reasoning through Knowledge Erasure in Large Language Model Editing

Mengqi Zhang, Bowen Fang, Qiang Liu, Pengjie Ren, Shu Wu +2 more
8/22/2024
cs.CL

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

Abstract

Large language models (LLMs) face challenges with internal knowledge inaccuracies and outdated information. Knowledge editing has emerged as a pivotal approach to mitigate these issues. Although current knowledge editing techniques exhibit promising performance in single-hop reasoning tasks, they show limitations when applied to multi-hop reasoning. Drawing on cognitive neuroscience and the operational mechanisms of LLMs, we hypothesize that the residual single-hop knowledge after editing causes edited models to revert to their original answers when processing multi-hop questions, thereby undermining their performance in multihop reasoning tasks. To validate this hypothesis, we conduct a series of experiments that empirically confirm our assumptions. Building on the validated hypothesis, we propose a novel knowledge editing method that incorporates a Knowledge Erasure mechanism for Large language model Editing (KELE). Specifically, we design an erasure function for residual knowledge and an injection function for new knowledge. Through joint optimization, we derive the optimal recall vector, which is subsequently utilized within a rank-one editing framework to update the parameters of targeted model layers. Extensive experiments on GPT-J and GPT-2 XL demonstrate that KELE substantially enhances the multi-hop reasoning capability of edited LLMs.

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. 5 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{zhang2024enhancing,
  title  = {Enhancing Multi-hop Reasoning through Knowledge Erasure in Large Language Model Editing},
  author = {Mengqi Zhang and Bowen Fang and Qiang Liu and Pengjie Ren and Shu Wu and Zhumin Chen and Liang Wang},
  year   = {2024},
  eprint = {2408.12456},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.12456v1}
}

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

Discussion