Tokenisation is NP-Complete

作者: Philip Whittington, Gregor Bachmann, Tiago Pimentel

摘要

In this work, we prove the NP-completeness of two variants of tokenisation, defined here 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).

PDF打开原文