Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
102 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
43 tokens/sec
o3 Pro
6 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Learning to Edit: Aligning LLMs with Knowledge Editing (2402.11905v2)

Published 19 Feb 2024 in cs.CL

Abstract: Knowledge editing techniques, aiming to efficiently modify a minor proportion of knowledge in LLMs without negatively impacting performance across other inputs, have garnered widespread attention. However, existing methods predominantly rely on memorizing the updated knowledge, impeding LLMs from effectively combining the new knowledge with their inherent knowledge when answering questions. To this end, we propose a Learning to Edit (LTE) framework, focusing on teaching LLMs to apply updated knowledge into input questions, inspired by the philosophy of "Teach a man to fish." LTE features a two-phase process: (i) the Alignment Phase, which fine-tunes LLMs on a meticulously curated parallel dataset to make reliable, in-scope edits while preserving out-of-scope information and linguistic proficiency; and (ii) the Inference Phase, which employs a retrieval-based mechanism for real-time and mass knowledge editing. By comparing our approach with seven advanced baselines across four popular knowledge editing benchmarks and two LLM architectures, we demonstrate LTE's superiority in knowledge editing performance, robustness in both batch and sequential editing, minimal interference on general tasks, and rapid editing speeds. The data and code are available at https://github.com/YJiangcm/LTE.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (12)
  1. Yuxin Jiang (26 papers)
  2. Yufei Wang (141 papers)
  3. Chuhan Wu (87 papers)
  4. Wanjun Zhong (49 papers)
  5. Xingshan Zeng (38 papers)
  6. Jiahui Gao (25 papers)
  7. Liangyou Li (36 papers)
  8. Xin Jiang (242 papers)
  9. Lifeng Shang (90 papers)
  10. Ruiming Tang (171 papers)
  11. Qun Liu (230 papers)
  12. Wei Wang (1793 papers)
Citations (10)

Summary

We haven't generated a summary for this paper yet.