Research map / Adversarial robustness and security / Attacks on text and graphs
Adversarial Tokenization
Renato Lui Geh, Zilei Shao, Guy Van den Broeck
University of California, Los Angeles
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use an adversarial (noncanonical) tokenization of the request instead of the canonical one | Llama3 (1B) · AdvBench jailbreak | StrongREJECT score: 0.0226 -> 0.2750 | Improved |
| use AdvTok instead of canonical tokenization | Llama3 (1B) · Masterkey jailbreak | StrongREJECT score: 0.2715 -> 0.4511 | Improved |
| use AdvTok instead of canonical tokenization | Gemma (2B) · AdvBench jailbreak | StrongREJECT score: 0.0200 -> 0.1501 | Improved |
| use AdvTok instead of canonical tokenization | OLMo (7B) · AdvBench jailbreak | StrongREJECT score: 0.0153 -> 0.2144 | Improved |
| add AdvTok tokenizations to AutoDAN | AutoDAN · AdvBench jailbreak, OLMo (7B) | StrongREJECT score: 0.2394 -> 0.6696 | Improved |
| add AdvTok tokenizations to AutoDAN | AutoDAN · AdvBench jailbreak, Llama3 (1B) | StrongREJECT score: 0.0602 -> 0.0985 (AdvTok alone 0.2750) | Hurt |
| add AdvTok tokenizations to GCG | GCG · AdvBench jailbreak, Llama3 (1B) | StrongREJECT score: 0.0732 -> 0.1131 | Improved |
| add AdvTok tokenizations to FFA | FFA · AdvBench jailbreak, OLMo (7B) | StrongREJECT score: 0.4466 -> 0.4581 | Mixed |
| use AdvTok tokenization against LlamaGuard | LlamaGuard · AdvBench safety-model evasion | bypass rate (%): 3.27 -> 16.15 | Improved |
| use AdvTok tokenization against ShieldGemma | ShieldGemma · AdvBench safety-model evasion | bypass rate (%): 53.27 -> 63.27 | Improved |
| increase tokenization distance from canonical | Llama3, Gemma, OLMo · Q&A dataset (15 questions) | mean accuracy | Hurt |
| sample noncanonical tokenizations at larger distance from canonical | Llama3, Gemma, OLMo · malicious malware request | StrongREJECT score | Improved |
Open problems this paper states
- “Applicability to closed-source LLMs is limited because the attack needs access to logits.” → The method needs white-box or logit access and cannot reach closed models. (an open problem in adversarial prompts for language models)
- “Fails against closed-source models that do not allow raw token sequences as input.” → The method needs white-box or logit access and cannot reach closed models. (an open problem in adversarial prompts for language models)
Open problems in adversarial prompts for language models
Do adversarial-prompt attacks and defenses for language models hold on closed models, other languages, multi-turn use and adaptive opponents?
- The method needs white-box or logit access and cannot reach closed models. · 11 papers state it
- Evaluation is English-only, and other languages are untested. · 11 papers state it
- Models tested are open-weight and small, with frontier models left out. · 9 papers state it
Closest papers by meaning
- An LLM can Fool Itself: A Prompt-Based Adversarial Attack (ICLR 2024 · similarity 0.89)
- Exploiting LLM Quantization (NeurIPS 2024 · similarity 0.89)
- Soft Prompt Threats: Attacking Safety Alignment and Unlearning in Open-Source LLMs through the Embedding Space (NeurIPS 2024 · similarity 0.89)
- Does Safety Training of LLMs Generalize to Semantically Related Natural Prompts? (ICLR 2025 · similarity 0.88)
- Safeguarding LLMs via Model-Agnostic Latent Safety Signals from Dark Knowledge (NeurIPS 2026 · similarity 0.88)
- Improved Generation of Adversarial Examples Against Safety-aligned LLMs (NeurIPS 2024 · similarity 0.88)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.