mlsanityData to 14 Oct 2026

Improbable Bigrams Expose Vulnerabilities of Incomplete Tokens in Byte-Level Tokenizers

arXiv 2410.23684 ↗First posted 31 Oct 2024cs.CLcited by 7

Not on the map. Why?

Abstract (arXiv)

Tokenization is a crucial step that bridges human-readable text with model-readable discrete tokens. However, recent studies have revealed that tokenizers can be exploited to elicit unwanted model behaviors. In this work, we investigate incomplete tokens, i.e., undecodable tokens with stray bytes resulting from byte-level byte-pair encoding (BPE) tokenization. We hypothesize that such tokens are heavily reliant on their adjacent tokens and are fragile when paired with unfamiliar tokens. To demonstrate this vulnerability, we introduce improbable bigrams: out-of-distribution combinations of incomplete tokens designed to exploit their dependency. Our experiments show that improbable bigrams are significantly prone to hallucinatory behaviors. Surprisingly, the same phrases have drastically lower rates of hallucination (90% reduction in Llama3.1) when an alternative tokenization is used. We caution against the potential vulnerabilities introduced by byte-level BPE tokenizers, which may introduce blind spots to language models.

Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 8 of its 19 references that are in the map. First posted on arXiv 31 Oct 2024.

Builds on

8 of 19 references.

References · 8

  1. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
  2. 2020Byte Pair Encoding is Suboptimal for Language Model Pretrainingcited by 192
  3. 2019Neural Machine Translation with Byte-Level Subwordscited by 115
  4. 2024Tokenization counts: the impact of tokenization on arithmetic in frontier LLMscited by 115
  5. 2024Coercing LLMs to do and reveal (almost) anythingcited by 89
  6. 2024Unpacking Tokenization: Evaluating Text Compression and its Correlation with Model Performancecited by 61
  7. 2024MYTE: Morphology-Driven Byte Encoding for Better and Fairer Multilingual Language Modelingcited by 40
  8. 2023Tokenization Matters: Navigating Data-Scarce Tokenization for Gender Inclusive Language Technologiescited by 16

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 6.

7 papers.