arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2404.14270cs.CLcs.LG
收藏

Transformer模型对支配关系了解多少?

What do Transformers Know about Government?

University of Helsinki(赫尔辛基大学)

Jue Hou, Anisia Katinskaia, Lari Kotilainen, Sathianpong Trangcasanchai, Anh-Duc Vu, Roman Yangarber

AI总结:

本文研究BERT如何编码句子成分间的支配关系,发现该信息主要集中在模型早期层,少量注意力头足以训练分类器发现未知支配类型,并发布了Government Bank数据集。

摘要:

本文研究了可以从transformer语言模型的编码中获得哪些关于语言特征的见解以及关于自然语言结构的知识。特别地,我们探讨了BERT如何编码句子中成分之间的支配关系。我们使用了几个探测分类器,以及来自两种形态丰富语言的数据。我们的实验表明,关于支配关系的信息在所有transformer层中都有编码,但主要集中在模型的早期层。我们发现,对于这两种语言,少量的注意力头编码了足够多的关于支配关系的信息,使我们能够训练一个分类器,该分类器能够发现训练数据中从未见过的新颖且未知的支配类型。目前,致力于研究语法结构特别是支配关系的研究社区缺乏数据。我们发布了Government Bank——一个定义了我们实验中语言里数千个词元的支配关系的数据集。

英文摘要:

This paper investigates what insights about linguistic features and what knowledge about the structure of natural language can be obtained from the encodings in transformer language models.In particular, we explore how BERT encodes the government relation between constituents in a sentence. We use several probing classifiers, and data from two morphologically rich languages. Our experiments show that information about government is encoded across all transformer layers, but predominantly in the early layers of the model. We find that, for both languages, a small number of attention heads encode enough information about the government relations to enable us to train a classifier capable of discovering new, previously unknown types of government, never seen in the training data. Currently, data is lacking for the research community working on grammatical constructions, and government in particular. We release the Government Bank -- a dataset defining the government relations for thousands of lemmas in the languages in our experiments.

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

↑