Editing Large Language Models: Problems, Methods, and Opportunities

Yunzhi Yao, Peng Wang, Bozhong Tian, Siyuan Cheng, Zhoubo Li +3 more
5/22/2023
cs.CLcs.AIcs.CV

Official code: zjunlp/EasyEdit (2,923 stars, MIT, last commit 2026-04-01).

Abstract

Despite the ability to train capable LLMs, the methodology for maintaining their relevancy and rectifying errors remains elusive. To this end, the past few years have witnessed a surge in techniques for editing LLMs, the objective of which is to efficiently alter the behavior of LLMs within a specific domain without negatively impacting performance across other inputs. This paper embarks on a deep exploration of the problems, methods, and opportunities related to model editing for LLMs. In particular, we provide an exhaustive overview of the task definition and challenges associated with model editing, along with an in-depth empirical analysis of the most progressive methods currently at our disposal. We also build a new benchmark dataset to facilitate a more robust evaluation and pinpoint enduring issues intrinsic to existing techniques. Our objective is to provide valuable insights into the effectiveness and feasibility of each editing technique, thereby assisting the community in making informed decisions on the selection of the most appropriate method for a specific task or context. Code and datasets are available at https://github.com/zjunlp/EasyEdit.

View on arXivView PDF

Code Implementations(1)

zjunlp/EasyEditOfficial100%
MIT

[ACL 2024] An Easy-to-use Knowledge Editing Framework for LLMs.

2,923377MDX, ShellMay 9, 20236 months agoMIT
artificial-intelligencebaichuanchatgptcknowediteasyedit+15 more

Similar Papers

Cite this paper

@article{yao2023editing,
  title  = {Editing Large Language Models: Problems, Methods, and Opportunities},
  author = {Yunzhi Yao and Peng Wang and Bozhong Tian and Siyuan Cheng and Zhoubo Li and Shumin Deng and Huajun Chen and Ningyu Zhang},
  year   = {2023},
  eprint = {2305.13172},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.13172v3}
}

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

Discussion