代表性是从底层建立起来的吗?语言模型中局部成分的实证研究
Are Representations Built from the Ground Up? An Empirical Examination of Local Composition in Language Models
摘要:
组合性是人类语言的一个重要特征,它是一个短语的意义可以从它的组成部分推导出来的现象。与此同时,许多短语是非合成的,其含义超出了孤立的每个部分。表示这两种类型的短语是语言理解的关键,但它是一个悬而未决的问题,现代语言模型(LM)是否学会这样做,在这项工作中,我们研究这个问题。首先,我们制定了一个问题,预测LM内部表示较长的短语给定的成分。我们发现,一个父短语的表示可以预测一定的准确性给出了仿射变换的孩子。虽然我们希望预测准确性与人类对语义组合性的判断相关,但我们发现情况在很大程度上并非如此,这表明LM可能无法准确区分成分和非成分短语。我们进行了各种分析,揭示了不同品种的LM做,不产生组成表示,并讨论了未来的建模工作的影响。
英文摘要:
Compositionality, the phenomenon where the meaning of a phrase can be derived from its constituent parts, is a hallmark of human language. At the same time, many phrases are non-compositional, carrying a meaning beyond that of each part in isolation. Representing both of these types of phrases is critical for language understanding, but it is an open question whether modern language models (LMs) learn to do so; in this work we examine this question. We first formulate a problem of predicting the LM-internal representations of longer phrases given those of their constituents. We find that the representation of a parent phrase can be predicted with some accuracy given an affine transformation of its children. While we would expect the predictive accuracy to correlate with human judgments of semantic compositionality, we find this is largely not the case, indicating that LMs may not accurately distinguish between compositional and non-compositional phrases. We perform a variety of analyses, shedding light on when different varieties of LMs do and do not generate compositional representations, and discuss implications for future modeling work.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。