Tokenisation is NP-Complete

Philip Whittington, Gregor Bachmann, Tiago Pimentel
12/19/2024
cs.DScs.CLcs.FL

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

In this work, we prove the NP-completeness of two variants of tokenisation, defined as the problem of compressing a dataset to at most $δ$ symbols by either finding a vocabulary directly (direct tokenisation), or selecting a sequence of merge operations (bottom-up tokenisation).

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{whittington2024tokenisation,
  title  = {Tokenisation is NP-Complete},
  author = {Philip Whittington and Gregor Bachmann and Tiago Pimentel},
  year   = {2024},
  eprint = {2412.15210},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.15210v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.15210.svg)](https://codeofpaper.com/paper/2412.15210)

Discussion