检测 LLMs 中的概念抽象
Detecting Conceptual Abstraction in LLMs
AI总结:
提出基于心理学名词对和表面模式分析 BERT 注意力矩阵的方法,检测 LLM 中的名词上位关系抽象机制,为概念抽象可解释性提供初步证据。
摘要:
我们提出了一种检测大型语言模型(LLM)内名词抽象的新方法。从一组具有分类关系的心理学动机的名词对出发,我们实例化指示上位关系的表面模式,并分析 BERT 生成的注意力矩阵。我们将结果与两组反事实进行比较,表明我们可以检测抽象机制中的上位关系,这不能仅仅归因于名词对的分布相似性。我们的发现是迈向 LLMs 中概念抽象可解释性的第一步。
英文摘要:
We present a novel approach to detecting noun abstraction within a large language model (LLM). Starting from a psychologically motivated set of noun pairs in taxonomic relationships, we instantiate surface patterns indicating hypernymy and analyze the attention matrices produced by BERT. We compare the results to two sets of counterfactuals and show that we can detect hypernymy in the abstraction mechanism, which cannot solely be related to the distributional similarity of noun pairs. Our findings are a first step towards the explainability of conceptual abstraction in LLMs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。