基于知识神经元集成的大语言模型知识编辑
Knowledge Editing for Large Language Model with Knowledge Neuronal Ensemble
AI总结:
本文提出知识神经元集成(KNE)方法,通过梯度归因分数精确识别编码特定知识的神经元集合,仅对相关参数进行反向传播更新,从而缓解参数定位耦合问题,并在三个知识编辑数据集上显著提升编辑准确性、可移植性和局部性。
摘要:
由于现实世界知识不断演变,确保模型知识的时效性和准确性至关重要,这使得大语言模型中的知识编辑日益重要。然而,现有知识编辑方法面临若干挑战,包括参数定位耦合、定位不精确以及跨层缺乏动态交互。本文提出了一种新的知识编辑方法,称为知识神经元集成(Knowledge Neuronal Ensemble,KNE)。知识神经元集成表示一组编码特定知识的神经元,从而缓解了参数定位耦合引起的频繁参数修改问题。KNE方法通过计算每一层每个参数的梯度归因分数,提高了参数定位的精确性和准确性。在编辑过程中,仅计算与知识神经元集成相关的梯度和损失,并据此进行误差反向传播,确保参数之间的动态交互和协同更新。在三个广泛使用的知识编辑数据集上的实验结果表明,KNE方法显著提高了知识编辑的准确性,并在可移植性和局部性指标上达到甚至超过了最佳基线方法的性能。
英文摘要:
As real-world knowledge is constantly evolving, ensuring the timeliness and accuracy of a model's knowledge is crucial. This has made knowledge editing in large language models increasingly important. However, existing knowledge editing methods face several challenges, including parameter localization coupling, imprecise localization, and a lack of dynamic interaction across layers. In this paper, we propose a novel knowledge editing method called Knowledge Neuronal Ensemble (KNE). A knowledge neuronal ensemble represents a group of neurons encoding specific knowledge, thus mitigating the issue of frequent parameter modification caused by coupling in parameter localization. The KNE method enhances the precision and accuracy of parameter localization by computing gradient attribution scores for each parameter at each layer. During the editing process, only the gradients and losses associated with the knowledge neuronal ensemble are computed, with error backpropagation performed accordingly, ensuring dynamic interaction and collaborative updates among parameters. Experimental results on three widely used knowledge editing datasets show that the KNE method significantly improves the accuracy of knowledge editing and achieves, or even exceeds, the performance of the best baseline methods in portability and locality metrics.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。