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.
Concept Direction Reliability Across Languages with Different Tokenizer Fertility
University of Cape Town(开普敦大学);African Institute for Mathematical Sciences(非洲数学科学研究所);Bayero University Kano(卡诺巴耶罗大学);Federal University Dutse(联邦杜策大学);University of Vienna(维也纳大学)
From English-Centric to Effective Bilingual: LLMs with Custom Tokenizers for Underrepresented Languages
OpenBabylon;ARG-Tech, University of Dundee(邓迪大学ARG-Tech公司);Georg-August Universität Göttingen(哥廷根大学);Doha Institute for Graduate Studies(多哈研究生学院);Arab Center for Research and Policy Studies(阿拉伯研究与政策研究中心);Google(谷歌);PolyAgent