paper-with-me

홈 › Papers

Do All Languages Cost the Same? Tokenization in the Era of Commercial Language Models

2023-05-23 · Orevaoghene Ahia, Sachin Kumar, Hila Gonen, Jungo Kasai, David R. Mortensen, Noah A. Smith, Yulia Tsvetkov

Language models have graduated from being research prototypes to commercialized products offered as web APIs, and recent works have highlighted the multilingual capabilities of these products. The API vendors charge their users based on usage, more specifically on the number of ``tokens'' processed or generated by the underlying language models. What constitutes a token, however, is training data and model dependent with a large variance in the number of tokens required to convey the same information in different languages. In this work, we analyze the effect of this non-uniformity on the fairness of an API's pricing policy across languages. We conduct a systematic analysis of the cost and utility of OpenAI's language model API on multilingual benchmarks in 22 typologically diverse languages. We show evidence that speakers of a large number of the supported languages are overcharged while obtaining poorer results. These speakers tend to also come from regions where the APIs are less affordable to begin with. Through these analyses, we aim to increase transparency around language model APIs' pricing policies and encourage the vendors to make them more equitable.

📄 PDF Abstract BibTeX arXiv:2305.13707

Code (0)

등록된 구현이 없습니다.

Tasks

AllFairnessLanguage ModelingLanguage Modelling

Similar Papers 제목 키워드 기반

Language Model Tokenizers Introduce Unfairness Between Languages

2023-05-17 · NeurIPS 2023 11 · Aleksandar Petrov, Emanuele La Malfa, Philip H. S. Torr, Adel Bibi

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 pape…

Language ModelingLanguage Modellingmodel

Language Models are not Equally Robust to Non-Canonical Tokenization across Languages

2026-07-29 · Poulami Ghosh, Preethi Jyothi arxiv

Despite the existence of exponentially many valid tokenizations for a given string, language models operate on a single canonical sequence deterministically produced by the tokenizer, leaving the broader tokenization spa…

Tokenization and Morphology in Multilingual Language Models: A Comparative Analysis of mT5 and ByT5

2024-10-15 · Thao Anh Dang, Limor Raviv, Lukas Galke

Morphology is a crucial factor for multilingual language modeling as it poses direct challenges for tokenization. Here, we seek to understand how tokenization influences the morphological knowledge encoded in multilingua…

Language ModelingLanguage Modelling

The African Language Tax: Quantifying the Cost, Latency, and Context Penalty of Tokenizing African Languages in Frontier LLMs

2026-06-23 · Olaoye Anthony Somide arxiv

Commercial large language models bill, scale latency, and budget context per token. Yet tokenizers assign more subword tokens to the same meaning in some languages than in others, so speakers of languages with high token…

Reducing Tokenization Premiums for Low-Resource Languages

2026-01-19 · Geoffrey Churchill, Steven Skiena arxiv

Relative to English, low-resource languages suffer from substantial tokenization premiums in modern LMs, meaning that it generally requires several times as many tokens to encode a sentence in a low-resource language tha…