← 研踪 PaperTrailarXiv:2611.15074 · v1
Tokenization: Hardness and Bicriteria Approximation Algorithms
首次提交 2026-11-11 13:49
版本更新 2026-11-11 13:49
雷达观测 2026-11-13 11:11
摘要
We study Binary Tokenization: given a corpus of binary strings over and a vocabulary budget , select at most substrings (called vocabulary) to minimize the total number of tokens needed to represent the corpus. The primitive symbols and are always available, and each document must be segmented separately. Letting denote the total corpus length and for the maximum document length, we prove that, for every fixed , Binary Tokenization problem does not have polynomial-time -approximation algorithms unless . To complement the hardness result, we give a polynomial-time -bicriteria algorithm, with : The algorithm outputs a vocabulary of size at most with number of tokens at most , where is the optimal number of tokens under the original budget . We also study a storage-budget variant, in which the sum of the selected substrings' lengths is bounded by . For , we obtain an -bicriteria approximation algorithm.
观测到的版本
相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。
v1 · 2026-11-11 13:49 · 最新观测版本
Tokenization: Hardness and Bicriteria Approximation Algorithms
We study Binary Tokenization: given a corpus of binary strings over and a vocabulary budget , select at most substrings (called vocabulary) to minimize the total number of tokens needed to represent the corpus. The primitive symbols and are always available, and each document must be segmented separately. Letting denote the total corpus length and for the maximum document length, we prove that, for every fixed , Binary Tokenization problem does not have polynomial-time -approximation algorithms unless . To complement the hardness result, we give a polynomial-time -bicriteria algorithm, with : The algorithm outputs a vocabulary of size at most with number of tokens at most , where is the optimal number of tokens under the original budget . We also study a storage-budget variant, in which the sum of the selected substrings' lengths is bounded by . For , we obtain an -bicriteria approximation algorithm.
查看此版本解读 →查看此版本原文 ↗