Pith. sign in

REVIEW 3 cited by

Theoretical Analysis of Byte-Pair Encoding

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2411.08671 v1 pith:CMNQRXSC submitted 2024-11-13 cs.DS cs.CL

classification cs.DScs.CL
keywords compressionencodingutilitybyte-pairlanguageoptimalpairproblem
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
abstract

Byte-Pair Encoding (BPE) is a widely used method for subword tokenization, with origins in grammar-based text compression. It is employed in a variety of language processing tasks such as machine translation or large language model (LLM) pretraining, to create a token dictionary of a prescribed size. Most evaluations of BPE to date are empirical, and the reasons for its good practical performance are not well understood. In this paper we focus on the optimization problem underlying BPE: finding a pair encoding that achieves optimal compression utility. We show that this problem is APX-complete, indicating that it is unlikely to admit a polynomial-time approximation scheme. This answers, in a stronger form, a question recently raised by Zouhar et al. On the positive side, we show that BPE approximates the compression utility of the optimal pair encoding to a worst-case factor between $0.333$ and $0.625$. Our results aim to explain the ongoing success of BPE and are, to our knowledge, the first rigorous guarantees on its compression utility that hold for all inputs.

Discussion (0). Sign in to comment.

Forward citations

Cited by 3 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. A Multi-head-based architecture for effective morphological tagging in Russian with open dictionary

    cs.CL 2026-04 unverdicted novelty 6.0 of 10

    A multi-head attention model for Russian morphological tagging supports open dictionaries via subtoken splitting and reports 98-99% accuracy on grammatical categories while running efficiently on consumer hardware.

  2. Skill Reuse as Compression in Agentic RL

    cs.LG 2026-05 unverdicted novelty 5.0 of 10

    ReuseRL augments agentic RL with an MDL-based compression penalty on skill reuse, proves a PAC-Bayes bound, and reports higher in- and out-of-distribution success on ALFWorld, TextWorld-Cooking, and Countdown-Stepwise...

  3. Understanding Secret Leakage Risks in Code LLMs: A Tokenization Perspective

    cs.CR 2026-04 unverdicted novelty 5.0 of 10

    BPE tokenization creates gibberish bias in CLLMs, causing secrets with high character entropy but low token entropy to be preferentially memorized due to training data distribution shifts.

Pith tools