Skip to content
InfoResearchPreprintLLM-specific

Retokenization Reveals the Gap Between Semantics and Behavior

Published
Record updated
View JSON

Summary

Language models show only partial invariance to non-canonical tokenizations of the same prompt, and this invariance is fragile. Adversarial tokenizations can circumvent safety alignment. The authors propose consistency-training objectives that enforce agreement across retokenizations of the prompt, which make three tested model families more robust to adversarial tokenization at some cost in benchmark accuracy.