AlphaEdit: Null-Space Constrained Knowledge Editing for Language Models
원문 초록
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.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
Model Editing for LLMs4Code: How Far are We?
Lifelong Knowledge Editing for LLMs with Retrieval-Augmented Continuous Prompt Learning
Retrieval-enhanced Knowledge Editing in Language Models for Multi-Hop Question Answering
BadEdit: Backdooring large language models by model editing
A Comprehensive Study of Knowledge Editing for Large Language Models
History Matters: Temporal Knowledge Editing in Large Language Model
토론
이 논문과 연결된 포럼 글이 아직 없습니다.