paper-with-me

홈 › Papers

AlphaEdit: Null-Space Constrained Knowledge Editing for Language Models

2024-10-03 · Junfeng Fang, Houcheng Jiang, Kun Wang, Yunshan Ma, Xiang Wang, Xiangnan He, Tat-Seng Chua

Large language models (LLMs) often exhibit hallucinations due to incorrect or outdated knowledge. Hence, model editing methods have emerged to enable targeted knowledge updates. To achieve this, a prevailing paradigm is the locating-then-editing approach, which first locates influential parameters and then edits them by introducing a perturbation. While effective, current studies have demonstrated that this perturbation inevitably disrupt the originally preserved knowledge within LLMs, especially in sequential editing scenarios. To address this, we introduce AlphaEdit, a novel solution that projects perturbation onto the null space of the preserved knowledge before applying it to the parameters. We theoretically prove that this projection ensures the output of post-edited LLMs remains unchanged when queried about the preserved knowledge, thereby mitigating the issue of disruption. Extensive experiments on various LLMs, including LLaMA3, GPT2-XL, and GPT-J, show that AlphaEdit boosts the performance of most locating-then-editing methods by an average of 36.4% with a single line of additional code for projection solely. Our code is available at: https://github.com/jianghoucheng/AlphaEdit.

📄 PDF Abstract BibTeX arXiv:2410.02355

Code (2)

jianghoucheng/alphaedit 공식 구현 pytorch
jianghoucheng/nse pytorch

Tasks

knowledge editingModel Editing

Similar Papers 제목 키워드 기반

Reproducibility Study of "AlphaEdit: Null-Space Constrained Knowledge Editing for Language Models"

2026-06-25 · Ananth K Suresh, Arya Hariharan arxiv

Fang et al. (2025) introduced a null-space constrained projection, named AlphaEdit, for locate-then-edit knowledge editing methods, theoretically guaranteeing that edits do not disrupt previously preserved knowledge, and…

knowledge editing

CaseEdit: Enhancing Localized Commonsense Reasoning via Null-Space Constrained Knowledge Editing in Small Parameter Language Models

2025-05-26 · Varun Reddy, Yen-Ling Kuo

Large language models (LLMs) exhibit strong performance on factual recall and general reasoning but struggle to adapt to user-specific, commonsense knowledge, a challenge particularly acute in small-parameter settings wh…

Common Sense ReasoningComputational Efficiencyknowledge editing

The Labyrinth and the Thread: Rethinking Regularizations in Sequential Knowledge Editing for Large Language Models

2026-05-26 · Zheng Wang, Kaixuan Zhang, Wanfang Chen, Jingwen Zhang 외 arxiv

Sequential editing of structured knowledge in large language models allows targeted factual updates without retraining, yet existing methods often rely on complex regularization or constraint mechanisms whose necessity r…

knowledge editing

BetaEdit: Null-Space Constrained Sequential Model Editing

2026-05-10 · Bingqing Liu, Wei Liu, Yuhua Li arxiv

Null-space-based methods have garnered considerable attention in model editing by constraining updates to the null space of the pre-existing knowledge representation, thereby preserving the model's original behavior. How…

Editing as Unlearning: Are Knowledge Editing Methods Strong Baselines for Large Language Model Unlearning?

2025-05-26 · Zexi Li, Xiangzhu Wang, William F. Shen, Meghdad Kurmanji 외

Large language Model (LLM) unlearning, i.e., selectively removing information from LLMs, is vital for responsible model deployment. Differently, LLM knowledge editing aims to modify LLM knowledge instead of removing it. …

In-Context Learningknowledge editingLanguage ModelingLanguage Modelling+1