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

多语言BERT模型的形态句法探测

Morphosyntactic probing of multilingual BERT models

ELKH Institute for Computer Science and Control (SZTAKI)(ELKH计算机科学与控制研究所(SZTAKI));Budapest University of Technology and Economics(布达佩斯技术与经济大学);Comenius University in Bratislava(布拉迪斯拉发考门斯基大学);Hebrew University of Jerusalem(耶路撒冷希伯来大学);University of Washington(华盛顿大学);Allen Institute for Artificial Intelligence(艾伦人工智能研究所)

Judit Acs, Endre Hamerlik, Roy Schwartz, Noah A. Smith, Andras Kornai

AI总结:

本文构建了覆盖42种语言247个任务的多语言形态探测数据集,发现mBERT和XLM-RoBERTa表现强劲,并通过扰动方法与Shapley值揭示前文上下文比后文包含更多消歧信息。

摘要:

我们引入了一个广泛的数据集,用于对语言模型中的形态信息进行多语言探测(涵盖10个语系的42种语言,共247个任务),每个任务由一个包含目标词的句子和一个作为期望标签的形态标签组成,数据来源于Universal Dependencies树库。我们发现预训练的Transformer模型(mBERT和XLM-RoBERTa)学习到的特征在这些任务上取得了很强的性能。随后,我们应用两种方法来定位每个探测任务中消歧信息在输入中的位置。第一种是一种新的扰动方法,用于遮蔽上下文的不同部分;第二种是经典的Shapley值方法。最引人注目的发现是,前文上下文比后文上下文更倾向于包含与预测相关的信息。

英文摘要:

We introduce an extensive dataset for multilingual probing of morphological information in language models (247 tasks across 42 languages from 10 families), each consisting of a sentence with a target word and a morphological tag as the desired label, derived from the Universal Dependencies treebanks. We find that pre-trained Transformer models (mBERT and XLM-RoBERTa) learn features that attain strong performance across these tasks. We then apply two methods to locate, for each probing task, where the disambiguating information resides in the input. The first is a new perturbation method that masks various parts of context; the second is the classical method of Shapley values. The most intriguing finding that emerges is a strong tendency for the preceding context to hold more information relevant to the prediction than the following context.

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

↑