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

回路中的Transformers:语言神经模型的极性

Transformers in the loop: Polarity in neural models of language

Bookarang;Yandex Technologies GmbH(Yandex技术有限责任公司)

Lisa Bylinina, Alexey Tikhonov

摘要:

计算语言模型中语言现象的表示通常根据这些现象的现有语言理论的预测进行评估。使用极性的概念作为一个案例研究,我们表明,这并不总是最适当的设置。我们在两个预先训练的基于transformer的模型(BERT和GPT-2)中通过所谓的“负极性项”(特别是英语中的“任何”)来探测极性。我们表明,至少极性-来自语言模型的指标更符合心理语言学实验的数据比语言理论的预测。建立这一点使我们能够更充分地评估语言模型的性能,并使用语言模型来发现超越现有语言学理论的自然语言语法的新见解。这一工作有助于在心理语言学实验和语言模型实验之间建立更紧密的联系。

英文摘要:

Representation of linguistic phenomena in computational language models is typically assessed against the predictions of existing linguistic theories of these phenomena. Using the notion of polarity as a case study, we show that this is not always the most adequate set-up. We probe polarity via so-called 'negative polarity items' (in particular, English 'any') in two pre-trained Transformer-based models (BERT and GPT-2). We show that - at least for polarity - metrics derived from language models are more consistent with data from psycholinguistic experiments than linguistic theory predictions. Establishing this allows us to more adequately evaluate the performance of language models and also to use language models to discover new insights into natural language grammar beyond existing linguistic theories. This work contributes to establishing closer ties between psycholinguistic experiments and experiments with language models.

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

↑