[Paper Review] Language Model Tokenizers Introduce Unfairness Between Languages
The paper shows that tokenization can cause large disparities across languages, leading to unfair costs and context limits, even for multilingual tokenizers.
Recent language models have shown impressive multilingual performance, even when not explicitly trained for it. Despite this, there are concerns about the quality of their outputs across different languages. In this paper, we show how disparity in the treatment of different languages arises at the tokenization stage, well before a model is even invoked. The same text translated into different languages can have drastically different tokenization lengths, with differences up to 15 times in some cases. These disparities persist even for tokenizers that are intentionally trained for multilingual support. Character-level and byte-level models also exhibit over 4 times the difference in the encoding length for some language pairs. This induces unfair treatment for some language communities in regard to the cost of accessing commercial language services, the processing time and latency, as well as the amount of content that can be provided as context to the models. Therefore, we make the case that we should train future language models using multilingually fair subword tokenizers.
Motivation & Objective
- Motivate fairness concerns in multilingual NLP beyond model training and data.
- Demonstrate that tokenization itself creates substantial cross-language disparities before model invocation.
- Quantify how tokenization length differences affect cost, latency, and context availability across languages.
Proposed method
- Analyze tokenization behavior across languages using various tokenizers (including multilingual, character-level, and byte-level).
- Measure tokenization length differences for the same content translated into different languages, reporting extreme disparities (up to 15x).
- Compare encoding lengths for character-level and byte-level models, noting differences over 4x for some language pairs.
- Argue for training future LMs with multilingually fair subword tokenizers.
Experimental results
Research questions
- RQ1How does tokenization length vary across languages for different tokenizers?
- RQ2Do multilingual, character-level, and byte-level tokenizers exhibit cross-language unfairness?
- RQ3What are the potential cost, latency, and context implications of tokenization disparities across languages?
- RQ4Can multilingual fairness be achieved by using fair subword tokenizers in LM training?
Key findings
- Tokenization length disparities across languages can be drastic, with differences up to 15 times for the same text in different languages.
- Even tokenizers designed for multilingual support exhibit sizable cross-language differences in tokenized length.
- Character-level and byte-level models show more than 4x differences in encoding length for some language pairs.
- Such tokenization disparities impose unfair costs regarding access to services, processing time and latency, and the amount of content usable as model context.
- The authors advocate training future language models with multilingually fair subword tokenizers.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.