← Latest papers
🤖 AI

Escaping Alignment: A Physical Trap Model of Best-of-N Jailbreaking

This paper challenges the prevailing power-law assumption for Best-of-N jailbreaking success rates by introducing a physical barrier model that accurately predicts attack outcomes across varying sample sizes, completion counts, and temperatures, revealing that observed scaling behaviors are finite-size artifacts rather than fundamental laws.

Original author: Marco Biroli

Published 2026-09-29
📖 5 min read🧠 Deep dive

Original author: Marco Biroli

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the author. For technical accuracy, refer to the original paper. Read full disclaimer

In the rapidly evolving world of artificial intelligence, researchers are constantly trying to teach computer programs to be helpful without being harmful. To do this, they train these systems to recognize and refuse requests that could cause damage, a process known as alignment. However, a persistent challenge remains: clever users can sometimes trick these aligned systems into ignoring their safety rules. One common method involves taking a harmful request and slightly altering its wording, or "augmenting" it, many times in a row. The attacker then asks the computer to generate a response for each of these slightly different versions. If even one of those attempts succeeds in breaking the safety rules, the attack is considered a success. This strategy, often called "Best-of-N," relies on the idea that if you try enough variations, you will eventually find a loophole that the system cannot see. For a long time, experts believed that the success of these attacks followed a predictable pattern, growing at a steady, mathematical rate as the number of attempts increased.

A new study challenges this long-held belief, offering a fresh way to understand how these safety systems fail. The researchers, led by Marco Biroli, propose that the process of breaking an aligned model is not just a matter of guessing the right words, but is better understood as a physical struggle against a landscape of barriers. Imagine the computer's internal state as a vast, hilly terrain. There is a deep, safe valley where the model stays when it is behaving correctly, and a dangerous, unsafe valley where it goes when it produces harmful content. Between these two valleys lies a high ridge, or a barrier, that the model must cross to become unsafe. The researchers suggest that every time a user tries to jailbreak the model, they are essentially trying to push the system over this ridge. Some prompts have a naturally high ridge, making them hard to cross, while others have a lower one. Furthermore, the act of slightly changing the prompt is like finding a specific, lower point on that ridge to attempt the crossing.

The team tested this idea by running thousands of attacks on several different open-source models, ranging from small to medium sizes. They did not just count how many times the attacks succeeded; they analyzed the specific patterns of failure and success across different numbers of attempts and different temperatures, which control how random the computer's responses are. By treating the problem as a physical system with energy and entropy, they discovered that the success rate of these attacks does not follow the simple, steady growth curve that previous studies had reported. Instead, the exponent governing the growth rate drifts with the number of attempts, and the apparent "exponential" growth that some experts had seen at very high numbers of attempts is actually a finite-size artifact of the limited adversarial datasets used for testing. When the dataset is small, the attack eventually finds the single hardest prompt in the list and breaks it, creating a false signal of rapid growth. In reality, the underlying behavior is much more stable and predictable than previously thought.

What makes this discovery particularly useful is that the researchers were able to describe the entire behavior of these attacks using just four numbers. These numbers represent the average height of the safety barrier, how much that barrier varies from one prompt to another, and how the system reacts to different types of changes. With these four values, the team could accurately predict how a model would perform against attacks it had never seen before, even when those attacks involved thousands of attempts. They also showed that these values could predict how the model would behave if the temperature of the generation was changed, a feat that previous methods could not achieve. This suggests that the safety of a model is not a single, fixed property, but a dynamic landscape that can be mapped and understood with surprising precision.

The study also revealed that different models defend themselves in different ways. Some models rely on a very high, consistent barrier that is hard to cross, while others have a more variable defense where some prompts are easy to break but others are nearly impossible. This distinction helps explain why some models seem safer than others in certain situations. The researchers found that the most effective defense is not necessarily to make the barrier uniformly high, but to ensure that the few prompts that are easy to break are extremely rare. This insight offers a new guide for developers who want to build safer systems: rather than trying to eliminate all weaknesses, they should focus on making the remaining weaknesses so rare that an attacker would need an impractical amount of time and computing power to find them.

Ultimately, this work shifts the conversation from simply counting how many times an attack succeeds to understanding the physical mechanisms behind why it succeeds. By moving away from simple curve-fitting and toward a model based on physical principles, the researchers have provided a tool that can predict the limits of current safety measures. They have shown that the fear of an inevitable, runaway success rate for jailbreaks is unfounded, provided the datasets used for testing are large enough to avoid misleading signals. The findings suggest that with the right understanding of these barriers, it is possible to design models that are robust against even the most persistent attempts to break them, offering a clearer path forward for the safe deployment of artificial intelligence.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →