arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.01444cs.CLcs.AIcs.ITcs.LGmath.IT
收藏

语言模型全生命周期中组合性的几何特征

Geometric Signatures of Compositionality Across a Language Model's Lifetime

University College London(伦敦大学学院);Université de Montréal(蒙特利尔大学);Mila(Mila研究院);University of Toronto(多伦多大学);Universitat Pompeu Fabra(庞培法布拉大学)

Jin Hwa Lee, Thomas Jiralerspong, Lei Yu, Yoshua Bengio, Emily Cheng

AI总结:

该研究从几何视角出发,将数据集组合性与语言模型表征的内在维度关联,验证了组合性与几何复杂度的关联源于训练习得的语言特征,还发现非线性与线性维度分别编码语言组合的语义与表层特征。

摘要:

凭借语言的组合性,少量句法规则与有限词库就能生成无穷多句子。也就是说,语言看似高维,却可用相对较少的自由度来解释。一个悬而未决的问题是,当代语言模型(LM)是否反映了由组合性带来的语言内在简洁性。我们从几何视角研究该问题,将数据集的组合性程度与其在语言模型下表征的内在维度(ID,一种特征复杂度度量)相关联。我们发现,不仅数据集的组合性程度会反映在表征的内在维度中,而且组合性与几何复杂度之间的关联是在训练过程中通过习得的语言特征形成的。最后,我们的分析揭示了非线性维度与线性维度之间的显著差异:二者分别编码了语言组合的语义层面与表层层面。

英文摘要:

By virtue of linguistic compositionality, few syntactic rules and a finite lexicon can generate an unbounded number of sentences. That is, language, though seemingly high-dimensional, can be explained using relatively few degrees of freedom. An open question is whether contemporary language models (LMs) reflect the intrinsic simplicity of language that is enabled by compositionality. We take a geometric view of this problem by relating the degree of compositionality in a dataset to the intrinsic dimension (ID) of its representations under an LM, a measure of feature complexity. We find not only that the degree of dataset compositionality is reflected in representations' ID, but that the relationship between compositionality and geometric complexity arises due to learned linguistic features over training. Finally, our analyses reveal a striking contrast between nonlinear and linear dimensionality, showing they respectively encode semantic and superficial aspects of linguistic composition.

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

↑