arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.09053cs.CLcs.AI
收藏

通过关系视角评估语言模型中的知识编辑

Assessing Knowledge Editing in Language Models via Relation Perspective

University of Chinese Academy of Sciences(中国科学院大学);Institute of Automation, CAS(中国科学院自动化研究所);Kunming University of Science and Technology(昆明理工大学);Beijing Institute of Technology(北京理工大学)

Yifan Wei, Xiaoyan Yu, Huanhuan Ma, Fangyu Lei, Yixuan Weng, Ran Song, Kang Liu

AI总结:

本文从关系视角评估语言模型的知识编辑,构建新基准RaKE,发现现有方法编辑关系困难,并证实关系知识存储于FFN和注意力层,为未来方法提供实验支持。

摘要:

知识编辑(KE)用于修改大型语言模型(LLMs)中的事实知识,正受到越来越多的关注。然而,现有的知识编辑方法是实体中心的,尚不清楚这种方法是否适用于以关系为中心的视角。为弥补这一空白,本文构建了一个名为RaKE的新基准,专注于基于关系的知识编辑。在本文中,我们建立了一套创新的评估指标,并进行了涉及多种知识编辑基线的综合实验。我们注意到,现有的知识编辑方法在编辑关系的能力上表现出潜在困难。因此,我们进一步探讨了关系在变压器中事实三元组中的作用。我们的研究结果证实,与关系相关的知识不仅存储在FFN网络中,还存储在注意力层中。这为未来基于关系的知识编辑方法提供了实验支持。

英文摘要:

Knowledge Editing (KE) for modifying factual knowledge in Large Language Models (LLMs) has been receiving increasing attention. However, existing knowledge editing methods are entity-centric, and it is unclear whether this approach is suitable for a relation-centric perspective. To address this gap, this paper constructs a new benchmark named RaKE, which focuses on Relation based Knowledge Editing. In this paper, we establish a suite of innovative metrics for evaluation and conduct comprehensive experiments involving various knowledge editing baselines. We notice that existing knowledge editing methods exhibit the potential difficulty in their ability to edit relations. Therefore, we further explore the role of relations in factual triplets within the transformer. Our research results confirm that knowledge related to relations is not only stored in the FFN network but also in the attention layers. This provides experimental support for future relation-based knowledge editing methods.

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

↑