AI Paper Atlas

Research map / Large language models / Language, safety and interpretability

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

Orevaoghene Ahia, Sachin Kumar, Hila Gonen, Jungo Kasai, David R. Mortensen, Noah A. Smith, Yulia Tsvetkov

EMNLP 2023Large language models › Language, safety and interpretabilityapproach: Multilingual LLM data and culture329 citations (OpenAlex)

University of Washington · Carnegie Mellon University · Allen Institute for Artificial Intelligence

Read the paperPlace an idea next to itCheck your own paper ↗

8measured effects
1improved
1no clear effect
6hurt

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use a non-Latin script language instead of a Latin script oneChatGPT tokenizer · FLORES-200tokens per sentence: up to 5x more tokens (e.g. Telugu, Georgian)Hurt
use mid-resourced Indic non-Latin languages instead of EnglishChatGPT API cost · FLORES-200 estimated costrelative API cost: close to 5x cost vs EnglishHurt
run XLSUM in Telugu or Amharic instead of EnglishChatGPT API cost · XLSUMrelative cost: up to 4x moreHurt
increase BBPE vocabulary size to equalize fragmentation across scriptscontrolled BBPE tokenizers · parallel text, one language per scripttokens per sentenceNo clear effect
add in-context examples (zero-shot to k-shot)ChatGPT · multilingual benchmarks (5 tasks)task metricsImproved
add in-context examples (zero-shot to one-shot)BLOOMZ · multilingual benchmarks (5 tasks)task metricsHurt
higher-fragmentation language (Telugu, Amharic) with limited contextChatGPT · XLSUMin-context examples that fit: cannot fit even one example for most of test setHurt
lower Human Development Index of the language's top countryfragmentation rate / cost · XFACT, XLSUM, CROSS SUMcorrelation with cost: Spearman -0.41, -0.42, -0.41 (cost-HDI)Hurt

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy