~/talk

Terrible tokenizer troubles in large language models

slides:none on file

Claims that tokenizers leave rare vocabulary entries that break LLMs and cause hallucinations, shows an automated two-step pipeline (efficient candidate selection via small embedding norm exploiting weight decay, then repeat-token probe verification) and runs it on ~30–40 Hugging Face and API models. Finds concrete glitches (tokens like "solid gold Magikarp", a 65k+ Java string in StarCoder2) that truncate output or flip meanings, demonstrates exploits and detection lists on GitHub, and recommends input guards and limited-document counting as mitigations.

AI-written summary · about

  1. 0:00Introduction
  2. 1:09How LLMs work
  3. 3:38Tokenizer weirdness
  4. 8:40Detecting glitch tokens
  5. 12:58Verifying with pre-training data
  6. 16:28Model failures from glitch tokens
  7. 21:07Broken tokenizers in models
  8. 23:38Multilingual and long-token issues
  9. 24:43Fixing tokenizer problems
  10. 27:14Inspecting model inputs
  11. 28:10Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.