paper-with-me

홈 › Papers

Byte BPE Tokenization as an Inverse string Homomorphism

2024-12-04 · Saibo Geng, Sankalp Gambhir, Chris Wendler, Robert West

Tokenization is an important preprocessing step in the training and inference of large language models (LLMs). While there has been extensive research on the expressive power of the neural achitectures used in LLMs, the impact of tokenization has not been well understood. In this work, we demonstrate that tokenization, irrespective of the algorithm used, acts as an inverse homomorphism between strings and tokens. This suggests that the character space of the source language and the token space of the tokenized language are homomorphic, preserving the structural properties of the source language. Additionally, we explore the concept of proper tokenization, which refers to an unambiguous tokenization returned from the tokenizer. Our analysis reveals that the expressiveness of neural architectures in recognizing context-free languages is not affected by tokenization.

📄 PDF Abstract BibTeX arXiv:2412.03160

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Constructing a BPE Tokenization DFA

2024-05-13 · Martin Berglund, Willeke Martens, Brink van der Merwe

Many natural language processing systems operate over tokenizations of text to address the open-vocabulary problem. In this paper, we give and analyze an algorithm for the efficient construction of deterministic finite a…

DNATokenizer: A GPU-First Byte-to-Identifier Tokenizer for High-Throughput DNA Language Models

2026-01-09 · Eliatan Niktab, Hardip Patel arxiv

Tokenization sits at the boundary between high-throughput genomic input and GPU compute, posing challenges in both algorithm design and system throughput. Overlapping k-mer tokenization can introduce information leakage …

Emergent retokenization symmetry in large language models: phenomenology and applications

2026-06-14 · Kanishk Jain, Matthew Day, Tankut Can arxiv

Tokenization introduces representational redundancy: under a fixed token vocabulary, every byte string admits many valid token encodings, or segmentations, that decode to the same surface string. However, given a prompt,…

A partition cover approach to tokenization

2025-01-08 · Jia Peng Lim, Shawn Tan, Davin Choo, Hady W. Lauw

Tokenization is the process of encoding strings into tokens of a fixed vocabulary size, and is widely utilized in Natural Language Processing applications. The leading tokenization algorithm today is Byte-Pair Encoding (…

Temporal Tokenization Strategies for Event Sequence Modeling with Large Language Models

2025-12-15 · Zefang Liu, Nam H. Nguyen, Yinzhu Quan, Shi-Xiong Zhang arxiv

Representing continuous time is a critical and under-explored challenge in modeling temporal event sequences with large language models (LLMs). Various strategies like byte-level representations or calendar tokens have b…