Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

WilKE: Wise-Layer Knowledge Editor for Lifelong Knowledge Editing

About

Knowledge editing aims to rectify inaccuracies in large language models (LLMs) without costly retraining for outdated or erroneous knowledge. However, current knowledge editing methods primarily focus on single editing, failing to meet the requirements for lifelong editing. This study reveals a performance degradation encountered by knowledge editing in lifelong editing, characterized by toxicity buildup and toxicity flash, with the primary cause identified as pattern unmatch. We introduce a knowledge editing approach named Wise-Layer Knowledge Editor (WilKE), which selects editing layer based on the pattern matching degree of editing knowledge across different layers in language models. Experimental results demonstrate that, in lifelong editing, WilKE exhibits an average improvement of 46.2% and 67.8% on editing GPT2-XL and GPT-J relative to state-of-the-art knowledge editing methods.

Chenhui Hu, Pengfei Cao, Yubo Chen, Kang Liu, Jun Zhao• 2024

Related benchmarks

TaskDatasetResultRank
Lifelong Knowledge EditingLifelong Editing on GPT-2 XL 1024 edits (test)
Score (S)19.3
6
Lifelong Knowledge EditingLifelong Editing on GPT-J 1024 edits (test)
Score (S)14.6
4
Showing 2 of 2 rows

Other info

Code

Follow for update