Summary
A new arXiv paper (2505.17394) by Jan Tempus, Philip Whittington, and Craig W. Schmidt, published May 23, 2025, reformulates tokenizer construction as a linear programming problem solvable with convex optimization tools. The proposed algorithm, ConvexTok, addresses a key weakness of standard tokenization methods such as BPE and Unigram, which are greedy and make only locally optimal decisions without considering the overall effectiveness of the vocabulary. Experiments show that ConvexTok yields consistent improvements on intrinsic tokenization metrics and on bits-per-byte (BpB) for language models, with improvements on downstream task performance that are less consistent in magnitude. A distinctive feature of ConvexTok is that it provides certified lower bounds, allowing users to quantify how close their tokenizer is to the true optimum; at common vocabulary sizes, the authors found tokenizers within 1% of optimal. The work offers a principled, optimization-based alternative to greedy tokenization pipelines in NLP.
Overview
- Field: NLP
- Authors: Jan Tempus, Philip Whittington, Craig W. Schmidt
- Published: 2025-05-23
- arXiv: 2505.17394
Summary
Tokenisation is a core component of current NLP pipelines. Existing tokenisation algorithms such as BPE and Unigram are greedy: they make only locally optimal decisions and never consider the overall effectiveness of the vocabulary.
This paper reformulates tokenizer construction as a linear programming problem and solves it using convex optimization tools, proposing a new algorithm called ConvexTok.
Findings
- ConvexTok delivers consistent improvements on intrinsic tokenisation metrics and on bits-per-byte (BpB) for language models.
- Improvements on downstream task performance are observed, but the gains are relatively less consistent in magnitude.
- ConvexTok allows users to certify via lower bounds how far their tokenizer is from the optimal solution — at common vocabulary sizes, experiments found it to be within 1% of optimal.
Links
- Paper: https://arxiv.org/abs/2505.17394
---
*Auto-collected on 2026-05-23*
This page is an English static mirror generated for search and AI citation.
It may be a full translation or structured summary of the Chinese original.
Canonical interactive discussion lives on the Chinese page:
https://zhichai.net/topic/177620653