Greed is All You Need: An Evaluation of Tokenizer Inference Methods
Uzan, Omri, Schmidt, Craig W., Tanner, Chris, Pinter, Yuval
–arXiv.org Artificial Intelligence
While subword tokenizers such as BPE and WordPiece are typically used to build vocabularies for NLP models, the method of decoding text into a sequence of tokens from these vocabularies is often left unspecified, or ill-suited to the method in which they were constructed. We provide a controlled analysis of seven tokenizer inference methods across four different algorithms and three vocabulary sizes, performed on a novel intrinsic evaluation suite we curated for English, combining measures rooted in morphology, cognition, and information theory. We show that for the most commonly used tokenizers, greedy inference performs surprisingly well; and that SaGe, a recently-introduced contextually-informed tokenizer, outperforms all others on morphological alignment.
arXiv.org Artificial Intelligence
May-31-2024
- Country:
- South America > Colombia
- Meta Department > Villavicencio (0.04)
- Oceania > Australia
- North America
- United States > Massachusetts
- Middlesex County > Cambridge (0.04)
- Canada > Ontario
- Toronto (0.04)
- United States > Massachusetts
- Europe
- Germany > Berlin (0.04)
- Italy > Tuscany
- Florence (0.04)
- Ireland > Leinster
- County Dublin > Dublin (0.04)
- France > Provence-Alpes-Côte d'Azur
- Bouches-du-Rhône > Marseille (0.04)
- Croatia > Dubrovnik-Neretva County
- Dubrovnik (0.04)
- Belgium > Flanders
- Flemish Brabant > Leuven (0.04)
- Asia
- Singapore (0.05)
- China (0.04)
- Middle East
- UAE > Abu Dhabi Emirate
- Abu Dhabi (0.04)
- Israel > Southern District
- Beer-Sheva (0.04)
- UAE > Abu Dhabi Emirate
- South America > Colombia
- Genre:
- Research Report > New Finding (0.68)
- Technology: