arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.01090cs.CL
收藏

记忆的精确定位:一种面向 LLM 的细粒度神经元级知识编辑技术

Precise Localization of Memories: A Fine-grained Neuron-level Knowledge Editing Technique for LLMs

University of Science and Technology of China(中国科学技术大学);Tsinghua University(清华大学);Fudan University(复旦大学);Hefei University of Technology(合肥工业大学)

Haowen Pan, Xiaozhi Wang, Yixin Cao, Zenglin Shi, Xun Yang, Juanzi Li, Meng Wang

AI总结:

针对现有“先定位后编辑”方法难以适应关系变化、局部性不足的问题,本文提出 FiNE,通过精确定位并修改前馈网络中的特定神经元,在保持成功率的同时提升知识编辑性能。

摘要:

知识编辑旨在更新大型语言模型(LLM)中的过时信息。一类具有代表性的研究是“先定位后编辑”方法,这类方法通常采用因果追踪来识别负责回忆实体相关事实性知识的模块。然而,我们发现这些方法往往只对主体实体的变化敏感,因此在适应关系变化方面效果较差。这一局限导致编辑局部性不佳,可能使无关或不准确的事实持续存在,最终损害 LLM 的可靠性。我们认为,该问题源于知识定位的精度不足。为解决这一问题,我们提出了一种细粒度神经元级知识编辑(Fine-grained Neuron-level Knowledge Editing,FiNE)方法,该方法可在不影响整体成功率的情况下增强编辑局部性。通过精确定位并修改前馈网络内的特定神经元,FiNE 显著改善了知识定位与编辑。定量实验表明,与现有技术相比,FiNE 高效取得了更优的整体性能,为 LLM 内部知识的定位与修改提供了新的见解。

英文摘要:

Knowledge editing aims to update outdated information in Large Language Models (LLMs). A representative line of study is locate-then-edit methods, which typically employ causal tracing to identify the modules responsible for recalling factual knowledge about entities. However, we find these methods are often sensitive only to changes in the subject entity, leaving them less effective at adapting to changes in relations. This limitation results in poor editing locality, which can lead to the persistence of irrelevant or inaccurate facts, ultimately compromising the reliability of LLMs. We believe this issue arises from the insufficient precision of knowledge localization. To address this, we propose a Fine-grained Neuron-level Knowledge Editing (FiNE) method that enhances editing locality without affecting overall success rates. By precisely identifying and modifying specific neurons within feed-forward networks, FiNE significantly improves knowledge localization and editing. Quantitative experiments demonstrate that FiNE efficiently achieves better overall performance compared to existing techniques, providing new insights into the localization and modification of knowledge within LLMs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑