arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.02283cs.CLcs.AI
收藏

BETO语言模型所用子词词汇的形态学评估

Morphological evaluation of subwords vocabulary used by BETO language model

Universidad Complutense de Madrid(马德里康普顿斯大学);dezzai

Óscar García-Sierra, Ana Fernández-Pampillón Cesteros, Miguel Ortega-Martín

AI总结:

本文对西班牙语BERT模型BETO的子词词汇进行形态学评估,发现其形态质量较低,且更大语料训练不能提升质量,并澄清其分词算法为Wordpiece。

摘要:

大型语言模型使用的子词分词算法显著更高效,并且能够在无需人工干预的情况下独立构建必要的单词和子词词汇。然而,这些子词并不总是与真实语素对齐,这可能影响模型的性能,尽管目前尚不确定这种情况何时会发生。在先前的研究中,我们提出了一种评估词汇形态质量的方法,重点关注这些词汇与给定语言语素之间的重叠。我们的评估方法建立在三个质量指标之上:相关性、凝聚力和形态准确性,以及一套评估程序。通过将该方法应用于由三种子词分词算法(BPE、Wordpiece和Unigram)生成的词汇,我们得出结论:这些词汇通常表现出非常低的形态质量。在本文中,我们将该评估应用于BETO的分词器,BETO是一个在大型西班牙语语料库上训练的BERT语言模型。该评估结合我们先前的结果,帮助我们得出结论:其词汇的形态质量较低,并且我们还发现,在更大的语料库上训练分词器并不会提高所生成词汇的形态质量。此外,鉴于作者声明与模型配置之间的不一致,该评估有助于澄清分词器所使用的算法,即Wordpiece。

英文摘要:

Subword tokenization algorithms used by Large Language Models are significantly more efficient and can independently build the necessary vocabulary of words and subwords without human intervention. However, those subwords do not always align with real morphemes, potentially impacting the models' performance, though it remains uncertain when this might occur. In previous research, we proposed a method to assess the morphological quality of vocabularies, focusing on the overlap between these vocabularies and the morphemes of a given language. Our evaluation method was built on three quality measures, relevance, cohesion, and morphological accuracy, and a procedure for their assessment. By applying this method to vocabularies created by three subword tokenization algorithms, BPE, Wordpiece, and Unigram, we concluded that these vocabularies generally exhibit very low morphological quality. In this article, we apply this evaluation to the tokenizer of BETO, a BERT language model trained on large Spanish corpora. This evaluation, along with our previous results, helped us conclude that its vocabulary has a low morphological quality, and we also found that training the tokenizer in a larger corpus does not improve the morphological quality of the generated vocabulary. Additionally, this evaluation helps clarify the algorithm used by the tokenizer, that is, Wordpiece, given the inconsistencies between the authors' claims and the model's configuration.

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

↑