DeepEdit: Knowledge Editing as Decoding with Constraints

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wang, Yiwei, Chen, Muhao, Peng, Nanyun, Chang, Kai-Wei
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915011094380544
author Wang, Yiwei
Chen, Muhao
Peng, Nanyun
Chang, Kai-Wei
author_facet Wang, Yiwei
Chen, Muhao
Peng, Nanyun
Chang, Kai-Wei
contents How to edit the knowledge in multi-step reasoning has become the major challenge in the knowledge editing (KE) of large language models (LLMs). The difficulty arises because the hallucinations of LLMs during multi-step reasoning often lead to incorrect use of new knowledge and incorrect answers. To address this issue, we design decoding constraints to "regulate" LLMs' reasoning, enhancing logical coherence when incorporating new knowledge. We propose a new KE framework: DEEPEDIT (Depth-first Search-based Constrained Decoding for Knowledge Editing), which enhances LLMs's ability to generate coherent reasoning chains with new knowledge through depth-first search. Our search selects the most important knowledge that satisfies our constraints as the reasoning step to efficiently increase the reasoning depth. In addition to DEEPEDIT, we propose two new KE benchmarks: MQUAKE-2002 and MQUAKE-HARD, which provide more precise and challenging assessments of KE approaches. Qualitatively, DEEPEDIT enables LLMs to produce succinct and coherent reasoning chains involving new knowledge. Quantitatively, it yields significant improvements on multiple KE benchmarks.
format Preprint
id arxiv_https___arxiv_org_abs_2401_10471
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle DeepEdit: Knowledge Editing as Decoding with Constraints
Wang, Yiwei
Chen, Muhao
Peng, Nanyun
Chang, Kai-Wei
Computation and Language
Artificial Intelligence
How to edit the knowledge in multi-step reasoning has become the major challenge in the knowledge editing (KE) of large language models (LLMs). The difficulty arises because the hallucinations of LLMs during multi-step reasoning often lead to incorrect use of new knowledge and incorrect answers. To address this issue, we design decoding constraints to "regulate" LLMs' reasoning, enhancing logical coherence when incorporating new knowledge. We propose a new KE framework: DEEPEDIT (Depth-first Search-based Constrained Decoding for Knowledge Editing), which enhances LLMs's ability to generate coherent reasoning chains with new knowledge through depth-first search. Our search selects the most important knowledge that satisfies our constraints as the reasoning step to efficiently increase the reasoning depth. In addition to DEEPEDIT, we propose two new KE benchmarks: MQUAKE-2002 and MQUAKE-HARD, which provide more precise and challenging assessments of KE approaches. Qualitatively, DEEPEDIT enables LLMs to produce succinct and coherent reasoning chains involving new knowledge. Quantitatively, it yields significant improvements on multiple KE benchmarks.
title DeepEdit: Knowledge Editing as Decoding with Constraints
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2401.10471