XLM-V:克服多语言掩码语言模型中的词汇瓶颈
XLM-V: Overcoming the Vocabulary Bottleneck in Multilingual Masked Language Models
AI总结:
本文提出XLM-V,通过为各语言分配词汇容量并减少低重叠语言间的标记共享,构建百万级词汇的多语言模型,在多项任务上超越XLM-R,尤其显著提升低资源语言性能。
摘要:
大型多语言语言模型通常依赖于一个跨越100多种语言的共享词汇表。随着这些模型的参数数量和深度增加,词汇表大小基本保持不变。这种词汇瓶颈限制了像XLM-R这样的多语言模型的表示能力。在本文中,我们提出了一种新方法,通过减少语言间词汇重叠较少的语言之间的标记共享,并为每种语言分配词汇容量以实现足够的覆盖,从而扩展到非常大的多语言词汇表。使用我们的词汇表进行分词通常比XLM-R更具语义意义且更短。利用这一改进的词汇表,我们训练了XLM-V,一个具有一百万个标记词汇的多语言语言模型。XLM-V在我们测试的所有任务上都优于XLM-R,这些任务包括自然语言推理(XNLI)、问答(MLQA、XQuAD、TyDiQA)以及命名实体识别(WikiAnn)。XLM-V在低资源语言任务上尤其有效,在MasakhaNER和Americas NLI上分别比XLM-R绝对提高了11.2%和5.8%。
英文摘要:
Large multilingual language models typically rely on a single vocabulary shared across 100+ languages. As these models have increased in parameter count and depth, vocabulary size has remained largely unchanged. This \textit{vocabulary bottleneck} limits the representational capabilities of multilingual models like XLM-R. In this paper, we introduce a new approach for scaling to very large multilingual vocabularies by de-emphasizing token sharing between languages with little lexical overlap and assigning vocabulary capacity to achieve sufficient coverage for each individual language. Tokenizations using our vocabulary are typically more semantically meaningful and shorter compared to XLM-R. Leveraging this improved vocabulary, we train XLM-V, a multilingual language model with a one million token vocabulary. XLM-V outperforms XLM-R on every task we tested on ranging from natural language inference (XNLI), question answering (MLQA, XQuAD, TyDiQA), to named entity recognition (WikiAnn). XLM-V is particularly effective on low-resource language tasks and outperforms XLM-R by 11.2% and 5.8% absolute on MasakhaNER and Americas NLI, respectively.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。