SWEA: Updating Factual Knowledge in Large Language Models via Subject Word Embedding Altering
Xiaopeng Li, Shasha Li, Shezheng Song, Huijun Liu, Bin Ji, Xi Wang, Jun Ma, Jie Yu, Xiaodong Liu, Jing Wang, Weimin Zhang
摘要
The general capabilities of large language models (LLMs) make them the infrastructure for various AI applications, but updating their inner knowledge requires significant resources. Recent model editing is a promising technique for efficiently updating a small amount of knowledge of LLMs and has attracted much attention. In particular, local editing methods, which directly update model parameters, are proven suitable for updating small amounts of knowledge. Local editing methods update weights by computing least squares closed-form solutions and identify edited knowledge by vector-level matching in inference, which achieve promising results. However, these methods still require a lot of time and resources to complete the computation. Moreover, vector-level matching lacks reliability, and such updates disrupt the original organization of the model's parameters. To address these issues, we propose a detachable and expandable Subject Word Embedding Altering (SWEA) framework, which finds the editing embeddings through tokenlevel matching and adds them to the subject word embeddings in Transformer input. To get these editing embeddings, we propose optimizing then suppressing fusion method, which first optimizes learnable embedding vectors for the editing target and then suppresses the Knowledge Embedding Dimensions (KEDs) to obtain final editing embeddings. We thus propose SWEA⊕OS method for editing factual knowledge in LLMs. We demonstrate the overall state-of-the-art (SOTA) performance of SWEA⊕OS on the COUNTERFACT and zsRE datasets. To further validate the reasoning ability of SWEA⊕OS in editing knowledge, we evaluate it on the more complex RIPPLEEDITS benchmark. The results demonstrate that SWEA⊕OS possesses SOTA reasoning ability.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Identifying Knowledge Editing Types in Large Language Models 引用了 Aging with GRACE: Lifelong Model Editing with Discrete Key-Value Adaptors
- Identifying Knowledge Editing Types in Large Language Models 引用了 Editing Large Language Models: Problems, Methods, and Opportunities
- Identifying Knowledge Editing Types in Large Language Models 引用了 WISE: Rethinking the Knowledge Memory for Lifelong Model Editing of Large Language Models
- Parameter-Aware Contrastive Knowledge Editing: Tracing and Rectifying based on Critical Transmission Paths 引用了 Aging with GRACE: Lifelong Model Editing with Discrete Key-Value Adaptors
- Parameter-Aware Contrastive Knowledge Editing: Tracing and Rectifying based on Critical Transmission Paths 引用了 Massive Editing for Large Language Models via Meta Learning
- Parameter-Aware Contrastive Knowledge Editing: Tracing and Rectifying based on Critical Transmission Paths 引用了 WISE: Rethinking the Knowledge Memory for Lifelong Model Editing of Large Language Models
- Unveiling the Pitfalls of Knowledge Editing for Large Language Models 引用了 Aging with GRACE: Lifelong Model Editing with Discrete Key-Value Adaptors
- Unveiling the Pitfalls of Knowledge Editing for Large Language Models 引用了 Editing Large Language Models: Problems, Methods, and Opportunities
- Model Editing for LLMs4Code: How Far are we? 引用了 Aging with GRACE: Lifelong Model Editing with Discrete Key-Value Adaptors
- Model Editing for LLMs4Code: How Far are we? 引用了 Unveiling the Pitfalls of Knowledge Editing for Large Language Models
- Model Editing for LLMs4Code: How Far are we? 引用了 Editing Large Language Models: Problems, Methods, and Opportunities
- Model Editing for LLMs4Code: How Far are we? 引用了 Massive Editing for Large Language Models via Meta Learning
- Editing Large Language Models: Problems, Methods, and Opportunities 引用了 Aging with GRACE: Lifelong Model Editing with Discrete Key-Value Adaptors
- WISE: Rethinking the Knowledge Memory for Lifelong Model Editing of Large Language Models 引用了 Aging with GRACE: Lifelong Model Editing with Discrete Key-Value Adaptors
- WISE: Rethinking the Knowledge Memory for Lifelong Model Editing of Large Language Models 引用了 Editing Large Language Models: Problems, Methods, and Opportunities
引用它的顶会 Paper4
- Do LLMs Really Forget? Evaluating Unlearning with Knowledge Correlation and Confidence AwarenessRongzhe Wei, Peizhi Niu, Hans Hao-Hsun Hsu, Ruihan Wu 等NeurIPS 2025 · 20 次引用
- Parameter-Aware Contrastive Knowledge Editing: Tracing and Rectifying based on Critical Transmission PathsSonglin Zhai, Yuan Meng, Yuxin Zhang, Guilin QiACL 2025 · 3 次引用
- Model Editing for LLMs4Code: How Far are we?Xiaopeng Li, Shangwen Wang, Shasha Li, Jun Ma 等ICSE 2025 · 2 次引用
- Identifying Knowledge Editing Types in Large Language ModelsXiaopeng Li, Shasha Li, Shangwen Wang, Shezheng Song 等KDD 2025
它引用的 Paper13
- Aging with GRACE: Lifelong Model Editing with Discrete Key-Value AdaptorsTom Hartvigsen, Swami Sankaranarayanan, Hamid Palangi, Yoon Kim 等NeurIPS 2023 · 349 次引用
- WISE: Rethinking the Knowledge Memory for Lifelong Model Editing of Large Language ModelsPeng Wang, Zexi Li, Ningyu Zhang, Ziwen Xu 等NeurIPS 2024 · 125 次引用
- Editing Large Language Models: Problems, Methods, and OpportunitiesYunzhi Yao, Peng Wang, Bozhong Tian, Siyuan Cheng 等EMNLP 2023 · 83 次引用
- Massive Editing for Large Language Models via Meta LearningChenmien Tan, Ge Zhang, Jie FuICLR 2024 · 68 次引用
- Unveiling the Pitfalls of Knowledge Editing for Large Language ModelsZhoubo Li, Ningyu Zhang, Yunzhi Yao, Mengru Wang 等ICLR 2024 · 47 次引用
相关 Paper
- EAMET: Robust Massive Model Editing via Embedding Alignment OptimizationYanbo Dai, Zhenlan Ji, Zongjie Li, Shuai WangICLR 2026
- PMET: Precise Model Editing in a TransformerXiaopeng Li, Shasha Li, Shezheng Song, Jing Yang 等AAAI 2024 · 208 次引用
- Scaling Knowledge Editing in LLMs to 100, 000 Facts with Neural KV DatabaseWeizhi Fei, Hao Shi, Jing Xu, Jingchen Peng 等ICLR 2026 · 2 次引用
- Mitigating Error Accumulation in Knowledge Editing for Multi-Hop Question AnsweringJiaxin Guo, Hao Sun, Wenhao Zhang, Xuanbo Fan 等AAAI 2026
- Resolving UnderEdit & OverEdit with Iterative & Neighbor-Assisted Model EditingBhiman Kumar Baghel, Emma Jordan, Zheyuan Ryan Shi, Xiang Lorraine LiEMNLP Findings 2025 · 1 次引用
