Geometric Configurations of Perturbed Jailbreak Prompts

πŸ“… 2026-07-22
πŸ“ˆ Citations: 0
✨ Influential: 0
πŸ“„ PDF
πŸ€– AI Summary
This study addresses the security threat posed by string-level perturbation-based jailbreaking attacks on small-scale large language models by systematically investigating the relationship between their internal representations and output behaviors. Focusing on Qwen and Llama family models, the authors analyze the embedding space of the final token in the last layer and the geometric structure of the probability distributions over the top-50 next tokens. The work reveals, for the first time, that in refusal-dominant responses, neither representation space exhibits a clear behavioral hyperplane; the embedding space primarily separates inputs by spelling and formatting, while the probability space, though approximately one-dimensional, resists meaningful clustering. Notably, only a few tokensβ€”such as β€œSure” and β€œ,”—show significant association with compliant responses in specific models. These findings offer novel insights into jailbreaking mechanisms and pathways toward enhancing model robustness.
πŸ“ Abstract
Perturbation techniques that turn unsuccessful jailbreak prompts into successful ones are continuously evolving, constituting a major security threat to LLM safety. In this paper, we investigate the internal representations of such string-level perturbed jailbreak inputs in the small weight models of the Qwen-2.5-1.5B/-3B/-7B-Instruct and Llama-3.2-1B/-3B/-3.1-8B-Instruct families. We select two representation spaces: the last-layer-last-token embedding space and the top-50 next-token probability space. The former space separates prompts based on their spelling and format, while the latter space is effectively one-dimensional but appears more complex to cluster. Within our refusal-dominated answer set we find no behavioral hyperplane in either space. Only the next token "Sure" in the 1.5B Qwen model, and both tokens "," and "ĊĊ" in the 1$ Llama model, display a significant association with a compliant-labeled answer.
Problem

Research questions and friction points this paper is trying to address.

jailbreak prompts
perturbation
internal representations
LLM safety
geometric configurations
Innovation

Methods, ideas, or system contributions that make the work stand out.

jailbreak prompts
geometric representation
embedding space
next-token probability
LLM safety
L
Lynn Delcon
Department of Business Technology and Operations, Data Analytics Laboratory, Vrije Universiteit Brussel, Pleinlaan 2, 1050 Brussels, Belgium; imec-SMIT, Vrije Universiteit Brussel, Pleinlaan 9, 1050 Brussels, Belgium
A
Andres Algaba
Department of Business Technology and Operations, Data Analytics Laboratory, Vrije Universiteit Brussel, Pleinlaan 2, 1050 Brussels, Belgium; imec-SMIT, Vrije Universiteit Brussel, Pleinlaan 9, 1050 Brussels, Belgium
Vincent Ginis
Vincent Ginis
Vrije Universiteit Brussel / Harvard University
Physics | Machine Learning