atlas

Research map / Learning theory and algorithms / Combinatorial and search optimization

A Partition Cover Approach to Tokenization

NeurIPS 2025 · Learning theory and algorithms › Combinatorial and search optimization · approach: Decision-focused optimization · 0 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.

Formulates tokenization as a partition cover optimization problem, proves it NP-hard via vertex cover, and proposes the polynomial-time greedy tokenizer GreedTok that beats BPE and Unigram on compression and yields lower bits/byte when pre-training 1B LMs.

Problem

Tokenization (encoding strings into a fixed-size vocabulary to minimize token count) is usually framed as merge-based compression (BPE) or path-based likelihood (Unigram); the complexity and optimal formulation of tokenization as a direct selection problem is unclear.

Approach

Reformulate tokenization as choosing up to k candidate substrings that maximize the number of adjacent singleton pairs covered by a common token (equivalently minimizing total partitions), independent of bottom-up merge sequences; relax it to weighted maximum coverage and use a greedy selection (GreedTok) that adds the token with highest objective gain.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use GreedTok instead of BPE for tokenizationTokenization · arXiv corpus (k=1000)Tokens/Word: 1.837 -> 1.742Helped
Use GreedTok instead of Unigram for tokenizationTokenization · PubMed corpus (k=2000)Tokens/Word: 1.699 -> 1.603Helped
Use GreedTok rather than BPE as tokenizer, keeping training-token count equal1B-parameter transformer pretraining · DCLM Dedup benchmark averageAccuracy: 62.0 -> 63.2Helped
Use GreedTok rather than BPE as tokenizer, keeping dataset proportion equal1B-parameter transformer pretraining · DCLM Dedup benchmark averageAccuracy: 62.0 -> 62.5Helped
Use GreedTok rather than BPE as tokenizer, keeping training-token count equal1B-parameter transformer pretraining · Wikitextbits/byte: 0.7066 -> 0.6989Helped
Use GreedTok rather than BPE as tokenizer, keeping dataset proportion equal1B-parameter transformer pretraining · Wikitextbits/byte: 0.7066 -> 0.7028Helped
Use GreedTok rather than Unigram for tokenizationTokenization · UN corpus at k=4000Tokens/Word: 1.193 -> 1.205Hurt
Use GreedTok rather than Unigram for tokenizationTokenization · UN corpus at k=5000Tokens/Word: 1.148 -> 1.163Hurt

Surprising findings

Limitations

Experimental setup

Datasets: UN arXiv wiki PubMed RefinedWeb DCLM Dedup

Benchmarks: ARC-c ARC-e HellaSwag OBQA PIQA SciQ BoolQ COPA LAMBADA RACE WinoGrande Wikitext

Metrics: tokens per word covering objective ratio bits per byte accuracy

Baselines: BPE Unigram GreedWMC

Builds on: Byte-Pair Encoding Unigram weighted maximum coverage greedy algorithm

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