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

因果探测的几何概念

A Geometric Notion of Causal Probing

Clément Guerner, Tianyu Liu, Anej Svete, Alexander Warstadt, Ryan Cotterell

AI总结:

本文提出一种基于信息论的内在标准来识别语言模型中的线性概念子空间,并验证其能有效擦除概念信息及精确控制生成词的概念值。

摘要:

线性子空间假说(Bolukbasi 等人,2016)指出,在语言模型的表示空间中,关于诸如动词数等概念的所有信息都编码在一个线性子空间中。先前的工作依赖于辅助分类任务来识别和评估可能支持该假说的候选子空间。我们转而给出了一组内在标准,这些标准刻画了理想线性概念子空间的特征,并使我们能够仅使用语言模型分布来识别该子空间。我们的信息论框架通过调和概念信息的统计概念与概念在表示空间中编码的几何概念,解释了表示空间中的虚假相关特征(Kumar 等人,2022)。作为该分析的副产品,我们假设了语言模型在生成过程中可能利用概念的因果过程。在实验上,我们发现,在我们的框架下,对于动词数以及来自餐厅评论数据集的一些复杂方面级情感概念,线性概念擦除能够成功擦除大部分概念信息。我们的受控生成因果干预表明,对于两个语言模型中的至少一个概念,概念子空间可以被用来精确地操纵生成词的概念值。

英文摘要:

The linear subspace hypothesis (Bolukbasi et al., 2016) states that, in a language model's representation space, all information about a concept such as verbal number is encoded in a linear subspace. Prior work has relied on auxiliary classification tasks to identify and evaluate candidate subspaces that might give support for this hypothesis. We instead give a set of intrinsic criteria which characterize an ideal linear concept subspace and enable us to identify the subspace using only the language model distribution. Our information-theoretic framework accounts for spuriously correlated features in the representation space (Kumar et al., 2022) by reconciling the statistical notion of concept information and the geometric notion of how concepts are encoded in the representation space. As a byproduct of this analysis, we hypothesize a causal process for how a language model might leverage concepts during generation. Empirically, we find that linear concept erasure is successful in erasing most concept information under our framework for verbal number as well as some complex aspect-level sentiment concepts from a restaurant review dataset. Our causal intervention for controlled generation shows that, for at least one concept across two languages models, the concept subspace can be used to manipulate the concept value of the generated word with precision.

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

↑