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

基于语言类型学的多语言掩码语言模型中词序和形态敏感性评估框架

A Typologically Grounded Evaluation Framework for Word Order and Morphology Sensitivity in Multilingual Masked LMs

Anna Feldman, Libby Barak, Jing Peng

AI总结:

本文提出了一种基于语言类型学的评估框架,用于评估多语言掩码语言模型对词序和形态敏感性的依赖性,通过多种扰动方法测试模型性能。

摘要:

我们介绍了一种基于语言类型学的诊断工具,用于测试多语言掩码语言模型对词序与屈折形式的依赖性。使用通用依赖关系数据集,我们应用推理时的扰动:完整的令牌打乱、内容词打乱(功能词固定)、基于依赖关系的头词-依赖词交换,以及句子级词根替换(+L),该方法对上下文和掩码目标标签都进行词根化处理。我们评估了mBERT和XLM-R在英语、中文、德语、西班牙语和俄语中的表现。完整的打乱使词级重建准确率在所有语言中接近零;部分和头-依赖扰动导致较小但仍然显著的下降。+L在中文中效果有限,但在德语/西班牙语/俄语中显著降低准确率,并且无法缓解打乱的影响。前五名词准确率显示相同模式:在完整打乱下,正确词很少出现在五个最高排名的重建中。我们发布了代码、采样脚本和平衡评估子集;附录中报告了土耳其结果在严格重建下的表现。

英文摘要:

We introduce a typology-aware diagnostic for multilingual masked language models that tests reliance on word order versus inflectional form. Using Universal Dependencies, we apply inference-time perturbations: full token scrambling, content-word scrambling with function words fixed, dependency-based head--dependent swaps, and sentence-level lemma substitution (+L), which lemmatizes both the context and the masked target label. We evaluate mBERT and XLM-R on English, Chinese, German, Spanish, and Russian. Full scrambling drives word-level reconstruction accuracy near zero in all languages; partial and head--dependent perturbations cause smaller but still large drops. +L has little effect in Chinese but substantially lowers accuracy in German/Spanish/Russian, and it does not mitigate the impact of scrambling. Top-5 word accuracy shows the same pattern: under full scrambling, the gold word rarely appears among the five highest-ranked reconstructions. We release code, sampling scripts, and balanced evaluation subsets; Turkish results under strict reconstruction are reported in the appendix.

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

↑