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

优于空白:无自定义标记语言的信息检索

Better Than Whitespace: Information Retrieval for Languages without Custom Tokenizers

University of Waterloo(滑铁卢大学)

Odunayo Ogundepo, Xinyu Zhang, Jimmy Lin

摘要:

标记化是信息检索中的一个关键步骤,特别是对于词汇匹配算法,可索引标记的质量直接影响检索系统的效率。由于不同的语言具有独特的属性,标记化算法的设计通常是特定于语言的,并且至少需要一些语言知识。然而,在这个星球上的7000多种语言中,只有少数几种语言受益于专门的、定制的标记化算法,而其他语言则被“默认”的空格标记器所困,无法捕捉不同语言的复杂性。为了解决这一挑战,我们提出了一种不同的词汇匹配检索算法的标记化方法(例如,BM 25):使用WordPiece标记器,它可以从无监督数据自动构建。我们在MrTyDi集合中的11种类型学上不同的语言上测试了这种方法:结果表明,mBERT标记器为“开箱即用”的检索提供了强大的相关信号,在大多数语言上优于空白标记。在许多情况下,当与现有的定制标记器相结合时,我们的方法也提高了检索效率。

英文摘要:

Tokenization is a crucial step in information retrieval, especially for lexical matching algorithms, where the quality of indexable tokens directly impacts the effectiveness of a retrieval system. Since different languages have unique properties, the design of the tokenization algorithm is usually language-specific and requires at least some lingustic knowledge. However, only a handful of the 7000+ languages on the planet benefit from specialized, custom-built tokenization algorithms, while the other languages are stuck with a "default" whitespace tokenizer, which cannot capture the intricacies of different languages. To address this challenge, we propose a different approach to tokenization for lexical matching retrieval algorithms (e.g., BM25): using the WordPiece tokenizer, which can be built automatically from unsupervised data. We test the approach on 11 typologically diverse languages in the MrTyDi collection: results show that the mBERT tokenizer provides strong relevance signals for retrieval "out of the box", outperforming whitespace tokenization on most languages. In many cases, our approach also improves retrieval effectiveness when combined with existing custom-built tokenizers.

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

↑