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

通过知识编辑理解语言模型电路

Understanding Language Model Circuits through Knowledge Editing

Columbia University(哥伦比亚大学);Dalhousie University(达尔豪斯大学);Stevens Institute of Technology(史蒂文斯理工学院)

Huaizhi Ge, Frank Rudzicz, Zining Zhu

AI总结:

本文通过在 GPT-2 语言模型电路上进行系统的知识编辑实验,揭示了电路对编辑的响应模式、知识分布程度及电路架构组成,为模型电路与知识表示的关系提供了新见解。

摘要:

语言模型可解释性的最新进展已识别出电路,即复制模型行为的关键子网络,但知识在这些关键子网络内部的结构方式仍不透明。为了理解电路中的知识,我们在 GPT-2 语言模型的电路上进行了系统的知识编辑实验。我们的分析揭示了电路如何响应编辑尝试、知识在网络组件间的分布程度,以及承载知识的电路的架构组成等方面的有趣模式。这些发现为模型电路与知识表示之间的复杂关系提供了见解,加深了对语言模型内信息组织方式的理解。我们的发现为电路的“含义”提供了新见解,并为语言模型的进一步可解释性和安全性研究指明了方向。

英文摘要:

Recent advances in language model interpretability have identified circuits, critical subnetworks that replicate model behaviors, yet how knowledge is structured within these crucial subnetworks remains opaque. To gain an understanding toward the knowledge in the circuits, we conduct systematic knowledge editing experiments on the circuits of the GPT-2 language model. Our analysis reveals intriguing patterns in how circuits respond to editing attempts, the extent of knowledge distribution across network components, and the architectural composition of knowledge-bearing circuits. These findings offer insights into the complex relationship between model circuits and knowledge representation, deepening the understanding of how information is organized within language models. Our findings offer novel insights into the ``meanings'' of the circuits, and introduce directions for further interpretability and safety research of language models.

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

↑