Large language models (LLMs) have achieved remarkable performance on various natural language tasks. However, they are trained on static corpora and their knowledge can become outdated quickly in the fast-changing world. This motivates the development of knowledge editing methods designed to update certain knowledge in LLMs without changing unrelated others. To make selective edits, previous efforts often sought to update a small amount of parameters in some specific layer(s) of a LLM. Nonetheless, in challenging scenarios, they still fall short in making successful edits while preserving knowledge irrelevant to the updates simultaneously, resulting in a notable editing-locality trade-off. In this work, we question if the trade-offs are caused by the fact that parameter-based updates have a global effect, i.e., edited parameters affect all inputs indiscriminately. In light of this, we explore the feasibility of representation fine-tuning, which applied some linear update to a few representations in a learned subspace, for knowledge editing. While being effective to enhance an LLM's general ability as demonstrated in the previous work, we theoretically show that this linear update imposes a tension in editing-locality trade-off. Subsequently, BaFT is proposed to break the linearity. BaFT computes a weight for each basis that spans a dimension of the subspace based on the input representation. This input-dependent weighting mechanism allows BaFT to manage different types of knowledge in an adaptive way, thereby achieving a better editing-locality trade-off. Experiments on three LLMs with five editing benchmarks in diverse scenarios show the superiority of our method.
Beyond the Covariance Trap: Unlocking Generalization in Same-Subject Knowledge Editing for Large Language Models
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络安全学院)
From Completion to Editing: Unlocking Context-Aware Code Infilling via Search-and-Replace Instruction Tuning
USTC(University of Science and Technology of China);Alibaba Group(阿里巴巴集团);CASIA(Chinese Academy of Sciences Institute of Automation);SIAT(Institute of Automation, Chinese Academy of Sciences)
WikiBigEdit: Understanding the Limits of Lifelong Knowledge Editing in LLMs
Tübingen AI Center, University of Tübingen(图宾根人工智能中心,图宾根大学);Munich Center for Machine Learning (MCML)(慕尼黑机器学习中心);Technical University, Munich(慕尼黑技术大学);University of Virginia(弗吉尼亚大学)
TruthX: Alleviating Hallucinations by Editing Large Language Models in Truthful Space
Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);Key Laboratory of AI Safety, Chinese Academy of Sciences(中国科学院人工智能安全重点实验室)
HyperEdit: Unlocking Instruction-based Text Editing in LLMs via Hypernetworks
University of Connecticut(康涅狄格大学);San Francisco State University(旧金山州立大学);University of California, Riverside(加州大学河滨分校);University of North Carolina at Charlotte(北卡罗来纳大学夏洛特分校);Florida State University(佛罗里达州立大学);University of Notre Dame(圣约翰大学)
EvoEdit: Evolving Null-space Alignment for Robust and Efficient Knowledge Editing
Institute for Clarity in Documentation(文档清晰度研究所);Inria Paris-Rocquencourt(法国国家信息与自动化研究所巴黎-罗康库尔中心);Rajiv Gandhi University(拉吉夫·甘地大学);Tsinghua University(清华大学);Palmer Research Laboratories(帕默研究实验室)
In-Context Editing: Learning Knowledge from Self-Induced Distributions
State Key Laboratory of General Artificial Intelligence, BIGAI(通用人工智能国家重点实验室,北京智源人工智能研究院);University of Science and Technology of China(中国科学技术大学);Peking University(北京大学)
RomanSetu: Efficiently unlocking multilingual capabilities of Large Language Models via Romanization
Nilekani Centre at AI4Bharat(AI4Bharat的尼莱卡尼中心);National Institute of Information and Communications Technology(国家信息通信技术研究所);Indian Institute of Technology Madras(印度马德拉斯理工学院);Flipkart;Microsoft(微软);IIIT D&M Kancheepuram;Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);Institute for Infocomm Research (IR), A * STAR, Singapore(新加坡资讯通信研究院(A*STAR));Indian Institute of Technology Bombay(印度孟买理工学院)
Unlocking Continual Learning Abilities in Language Models
School of Computing and Data Science, The University of Hong Kong(香港大学计算与数据科学学院);CUHK-SZ(香港中文大学(深圳));Tsinghua University(清华大学);University of Edinburgh(爱丁堡大学);NVIDIA(英伟达公司);HKUST(香港科技大学);ICT, Chinese Academy of Sciences(中国科学院信息技术研究所)
REPAIR: Robust Editing via Progressive Adaptive Intervention and Reintegration
Engineering Center for Space Utilization of Chinese Academy of Sciences(中国科学院空间利用工程技术中心);University of Chinese Academy of Sciences(中国科学院大学);School of Computer Science and Engineering(计算机科学与工程学院);Northeastern University(东北大学);New York University(纽约大学);School of Computing(计算机学院);National University of Singapore(新加坡国立大学);The Chinese University of Hong Kong(香港中文大学);Technical University of Munich(慕尼黑技术大学)
A Comprehensive Study of Knowledge Editing for Large Language Models
Zhejiang University(浙江大学);National University of Singapore(新加坡国立大学);University of California, Los Angeles(加州大学洛杉矶分校);Ant Group(蚂蚁集团);Alibaba Group(阿里巴巴集团)
Bring Your Own Knowledge: A Survey of Methods for LLM Knowledge Expansion
Bosch Center for Artificial Intelligence (BCAI)(博世人工智能中心);LMU Munich(慕尼黑大学);Munich Center for Machine Learning (MCML)(慕尼黑机器学习中心);Karlsruhe University of Applied Sciences(卡尔斯鲁厄应用技术大学);Hochschule der Medien, Stuttgart(斯图加特媒体大学)
RAG or Learning? Understanding the Limits of LLM Adaptation under Continuous Knowledge Drift in the Real World
Tsinghua University(清华大学);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);School of Artificial Intelligence, Chinese University of Hong Kong (Shenzhen)(香港中文大学(深圳)人工智能学院);Shenzhen Key Laboratory of Ubiquitous Data Enabling, Tsinghua Shenzhen International Graduate School, Tsinghua University(深圳 ubiquitous 数据赋能重点实验室,清华大学深圳国际研究生院,清华大学)
Unlocking the Potential of Model Merging for Low-Resource Languages
Wangxuan Institute of Computer Technology, Peking University(北京大学王选计算机研究所);State Key Laboratory of General Artificial Intelligence, Peking University(北京大学通用人工智能国家重点实验室);Center for Data Science, Peking University(北京大学数据科学中心);College of Engineering, Peking University(北京大学工学院)