Jailbreaking Large Language Models in Infinitely Many Ways
Oliver Goldstein, Emanuele La Malfa, Felix Drinkall, Samuele Marro, Michael Wooldridge
TL;DR
The paper investigates Infinitely Many Paraphrases (IMP), a class of jailbreaking attacks that leverage a model's capacity to interpret paraphrases and encoded prompts to defeat safety guardrails. It formalizes a threat model with a guardrail $g$ and paraphrase set $\mathcal{X} \subset \sum^*$, showing that encoded prompts can bind semantics to English and bypass protections, a phenomenon studied through both scaling and inverse-scaling analyses. Empirically, IMPs bypass safety on a wide range of text and image models, including open- and closed-source systems, underscoring brittleness in several defenses such as the Anthropic Constitutional Classifier and DeepSeek. The authors propose token-space and embedding-space defenses, discuss multi-modal defenses, and outline future research directions and ethical considerations, calling for robust, scalable safety mechanisms that adapt to increasing model capabilities.
Abstract
We discuss the ``Infinitely Many Paraphrases'' attacks (IMP), a category of jailbreaks that leverages the increasing capabilities of a model to handle paraphrases and encoded communications to bypass their defensive mechanisms. IMPs' viability pairs and grows with a model's capabilities to handle and bind the semantics of simple mappings between tokens and work extremely well in practice, posing a concrete threat to the users of the most powerful LLMs in commerce. We show how one can bypass the safeguards of the most powerful open- and closed-source LLMs and generate content that explicitly violates their safety policies. One can protect against IMPs by improving the guardrails and making them scale with the LLMs' capabilities. For two categories of attacks that are straightforward to implement, i.e., bijection and encoding, we discuss two defensive strategies, one in token and the other in embedding space. We conclude with some research questions we believe should be prioritised to enhance the defensive mechanisms of LLMs and our understanding of their safety.
