TokSuite: Measuring the Impact of Tokenizer Choice on Language Model Behavior
By: Gül Sena Altıntaş , Malikeh Ehghaghi , Brian Lester and more
Potential Business Impact:
Helps computers understand words better.
Tokenizers provide the fundamental basis through which text is represented and processed by language models (LMs). Despite the importance of tokenization, its role in LM performance and behavior is poorly understood due to the challenge of measuring the impact of tokenization in isolation. To address this need, we present TokSuite, a collection of models and a benchmark that supports research into tokenization's influence on LMs. Specifically, we train fourteen models that use different tokenizers but are otherwise identical using the same architecture, dataset, training budget, and initialization. Additionally, we curate and release a new benchmark that specifically measures model performance subject to real-world perturbations that are likely to influence tokenization. Together, TokSuite allows robust decoupling of the influence of a model's tokenizer, supporting a series of novel findings that elucidate the respective benefits and shortcomings of a wide range of popular tokenizers.
Similar Papers
Beyond Text Compression: Evaluating Tokenizers Across Scales
Computation and Language
Finds best word-choosers for language AI.
CharBench: Evaluating the Role of Tokenization in Character-Level Tasks
Computation and Language
Helps computers understand letters inside words better.
CharBench: Evaluating the Role of Tokenization in Character-Level Tasks
Computation and Language
Helps computers understand words letter by letter.