InstructEdit: Instruction-Based Knowledge Editing for Large Language Models

被引:0
|
作者
Zhang, Ningyu [1 ]
Tian, Bozhong [1 ]
Cheng, Siyuan [2 ]
Liang, Xiaozhuan [2 ]
Hu, Yi [2 ]
Xue, Kouying [2 ]
Gou, Yanjie [2 ]
Chen, Xi [2 ]
Chen, Huajun [1 ]
机构
[1] Zhejiang Univ, Hangzhou, Zhejiang, Peoples R China
[2] Tencent, Shenzhen, Guangdong, Peoples R China
基金
中国国家自然科学基金;
关键词
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Knowledge editing for large language models can offer an efficient solution to alter a model's behavior without negatively impacting the overall performance. However, the current approaches encounter issues with limited generalizability across tasks, necessitating one distinct editor for each task, significantly hindering the broader applications. To address this, we take the first step to analyze the multi-task generalization issue in knowledge editing. Specifically, we develop an instruction-based editing technique, termed InstructEdit, which facilitates the editor's adaptation to various task performances simultaneously using simple instructions. With only one unified editor for each LLM, we empirically demonstrate that InstructEdit can improve the editor's control, leading to an average 14.86% increase in Reliability in multi-task editing setting. Furthermore, experiments involving holdout unseen task illustrate that InstructEdit consistently surpass previous strong baselines. To further investigate the underlying mechanisms of instruction-based knowledge editing, we analyze the principal components of the editing gradient directions, which unveils that instructions can help control optimization direction with stronger OOD generalization.
引用
收藏
页码:6633 / 6641
页数:9
相关论文
共 50 条
  • [31] Evolution of Cellular Automata Using Instruction-Based Approach
    Bidlo, Michal
    Vasicek, Zdenek
    2012 IEEE CONGRESS ON EVOLUTIONARY COMPUTATION (CEC), 2012,
  • [32] Knowledge graph construction for intelligent cockpits based on large language models
    Dong, Haomin
    Wang, Wenbin
    Sun, Zhenjiang
    Kang, Ziyi
    Ge, Xiaojun
    Gao, Fei
    Wang, Jixin
    SCIENTIFIC REPORTS, 2025, 15 (01):
  • [33] Instruction-Based Self-Testing of Processor Cores
    Nektarios Kranitis
    Antonis Paschalis
    Dimitris Gizopoulos
    Yervant Zorian
    Journal of Electronic Testing, 2003, 19 : 103 - 112
  • [34] Instruction-based self-testing of processor cores
    Kranitis, N
    Paschalis, A
    Gizopoulos, D
    Zorian, Y
    JOURNAL OF ELECTRONIC TESTING-THEORY AND APPLICATIONS, 2003, 19 (02): : 103 - 112
  • [35] Mobile AR Interface for Instruction-based Disaster Preparedness Guidelines
    Aguilar, Sergio De Leon
    Matsuda, Yuki
    Yasumoto, Keiichi
    2023 FOURTEENTH INTERNATIONAL CONFERENCE ON MOBILE COMPUTING AND UBIQUITOUS NETWORK, ICMU, 2023,
  • [36] Instruction-based response activation depends on task preparation
    Baptist Liefooghe
    Jan De Houwer
    Dorit Wenke
    Psychonomic Bulletin & Review, 2013, 20 : 481 - 487
  • [37] BioInstruct: instruction tuning of large language models for biomedical natural language processing
    Tran, Hieu
    Yang, Zhichao
    Yao, Zonghai
    Yu, Hong
    JOURNAL OF THE AMERICAN MEDICAL INFORMATICS ASSOCIATION, 2024, 31 (09) : 1821 - 1832
  • [38] Instruction-Based Task-Rule Congruency Effects
    Liefooghe, Baptist
    Wenke, Dorit
    De Houwer, Jan
    JOURNAL OF EXPERIMENTAL PSYCHOLOGY-LEARNING MEMORY AND COGNITION, 2012, 38 (05) : 1325 - 1335
  • [39] Instruction-based response activation depends on task preparation
    Liefooghe, Baptist
    De Houwer, Jan
    Wenke, Dorit
    PSYCHONOMIC BULLETIN & REVIEW, 2013, 20 (03) : 481 - 487
  • [40] Instruction-based self-testing of processor cores
    Kranitis, N
    Gizopoulos, D
    Paschalis, A
    Zorian, Y
    20TH IEEE VLSI TEST SYMPOSIUM, PROCEEDINGS, 2002, : 223 - 228