Tokenization is Sensitive to Language Variation

Variation in language is ubiquitous and often systematically linked to regional, social, and contextual factors.Tokenizers split texts into smaller units and might behave differently for less common linguistic forms.This might affect downstream LLM performance differently on two types of tasks: Tasks where the model should be robust to language variation (e.g., for semantic tasks like NLI, labels do not depend on whether a text uses British or American spelling) and tasks where the model should be sensitive to language variation (e.g., for formbased tasks like authorship verification, labels depend on whether a text uses British or American spelling).We pre-train BERT base models with the popular Byte-Pair Encoding algorithm to investigate how key tokenization design choices impact the performance of downstream models: the corpus used to train the tokenizer, the pre-tokenizer and the vocabulary size.We find that the best tokenizer varies on the two task types and that the pre-tokenizer has the biggest overall impact on performance.Further, we introduce a new approach to estimate tokenizer impact on downstream LLM performance, showing substantial improvement over metrics like Rnyi efficiency.We encourage more work on language variation and its relation to tokenizers and thus LLM performance.

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.findings-acl.572
Primary Topic
Natural Language Processing Techniques
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Tokenization is Sensitive to Language Variation

Dong Nguyen, David Jurgens, Anna Wegmann
1 links
Natural Language Processing Techniques
article

Tokenization is Sensitive to Language Variation

Dong Nguyen, David Jurgens, Anna Wegmann
article en

Abstract

Variation in language is ubiquitous and often systematically linked to regional, social, and contextual factors.Tokenizers split texts into smaller units and might behave differently for less common linguistic forms.This might affect downstream LLM performance differently on two types of tasks: Tasks where the model should be robust to language variation (e.g., for semantic tasks like NLI, labels do not depend on whether a text uses British or American spelling) and tasks where the model should be sensitive to language variation (e.g., for formbased tasks like authorship verification, labels depend on whether a text uses British or American spelling).We pre-train BERT base models with the popular Byte-Pair Encoding algorithm to investigate how key tokenization design choices impact the performance of downstream models: the corpus used to train the tokenizer, the pre-tokenizer and the vocabulary size.We find that the best tokenizer varies on the two task types and that the pre-tokenizer has the biggest overall impact on performance.Further, we introduce a new approach to estimate tokenizer impact on downstream LLM performance, showing substantial improvement over metrics like Rnyi efficiency.We encourage more work on language variation and its relation to tokenizers and thus LLM performance.

University of Michigan, Universiteit Utrecht, Nederlandse Organisatie voor Wetenschappelijk Onderzoek
Openalex Percentile: Top 90%
Natural Language Processing Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.