atlas

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

The Foundations of Tokenization: Statistical and Computational Concerns

ICLR 2025 · Large language models › Language, safety and interpretability · approach: Controlled text generation · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes a formal framework for tokenizers based on the category of stochastic maps, proving necessary and sufficient conditions for tokenizer consistency of language model estimators and characterizing inconsistency, ambiguity, finiteness, and sequentiality.

Problem

Tokenization is widely used in neural language modeling but its theoretical underpinnings, particularly its effect on the consistency of language model estimation, are poorly understood.

Approach

Defines a tokenizer as a pair of stochastic maps (encoder, decoder) between character strings and token sequences, and shows a tokenized LM is consistent iff decoder∘encoder preserves the true distribution; known issues are cast as injectivity, multiplicativity, and bounded variation of these maps.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
require the tokenizer to be exact (decoder after encoder equals identity)tokenizer model · language-model estimationestimator consistencyHelped
use a multiplicative decoder with a trivial kerneltokenizer model · text decodingnumber of token-sequence preimages per textHelped
use a multiplicative mappingstring-to-string function · sequentiality analysisbounded variationHelped

Surprising findings

Limitations

Experimental setup

Builds on: byte-pair encoding WordPiece Unigram subword regularization

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