@inproceedings{geh-etal-2025-adversarial,
title = "Adversarial Tokenization",
author = "Geh, Renato and
Shao, Zilei and
Van Den Broeck, Guy",
editor = "Che, Wanxiang and
Nabende, Joyce and
Shutova, Ekaterina and
Pilehvar, Mohammad Taher",
booktitle = "Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)",
month = jul,
year = "2025",
address = "Vienna, Austria",
publisher = "Association for Computational Linguistics",
url = "https://preview.aclanthology.org/ingestion-acl-25/2025.acl-long.1012/",
pages = "20738--20765",
ISBN = "979-8-89176-251-0",
abstract = "Current LLM pipelines account for only one possible tokenization for a given string, ignoring exponentially many alternative tokenizations during training and inference. For example, the $\texttt{Llama3}$ standard tokenization of penguin is $\texttt{[p,enguin]}$, yet $\texttt{[peng,uin]}$ is another perfectly valid alternative. In this paper, we show that despite LLMs being trained solely on one tokenization, they still retain semantic understanding of other tokenizations, raising questions about their implications in LLM safety. Put succinctly, we answer the following question: can we adversarially tokenize an obviously malicious string to evade safety and alignment restrictions? We show that not only is adversarial tokenization an effective yet previously neglected axis of attack, but it is also competitive against existing state-of-the-art adversarial approaches without changing the text of the harmful request. We empirically validate this exploit across three state-of-the-art LLMs and adversarial datasets, revealing a previously unknown vulnerability in subword models."
}
Markdown (Informal)
[Adversarial Tokenization](https://preview.aclanthology.org/ingestion-acl-25/2025.acl-long.1012/) (Geh et al., ACL 2025)
ACL
- Renato Geh, Zilei Shao, and Guy Van Den Broeck. 2025. Adversarial Tokenization. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 20738–20765, Vienna, Austria. Association for Computational Linguistics.