NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Systematic Scaling Analysis of Jailbreak Attacks in Large Language Models

Xiangwen Wang, Ananth Balashankar, Varun Chandrasekaran

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: AI Safety, Security & Alignment › LLM Safety Attack Strategies · Type: empirical study · Keywords: jailbreak attacks, scaling laws, language model security, prompt-based attacks, optimization attacks

Areas: Safety & Security › Language Model Security › Jailbreak Defense

Summary

We propose a scaling-law framework for jailbreaks that quantifies how attack success scales with attacker compute across multiple paradigms and model families.

Explained to a 5-year-old

A language model is a computer program that can write and talk like a person. Sometimes people try to make it say things that are not nice or true, which we call jailbreaks. We wanted to know how hard it is to make these jailbreaks work. We measured how much computer power each attack used and how often it succeeded. This helps us protect the models better.

Explained to a 5-year-old, longer

A language model is a computer program that can write and talk like a person. Sometimes people try to make it say things that are not nice or true, which we call jailbreaks. We wanted to know how hard it is to make these jailbreaks work. We measured how much computer power (called FLOPs) each attack used and how often it succeeded. We looked at four different ways to try to jailbreak the model. We found that some ways needed less computer power and were more successful. We also saw that some kinds of bad requests were easier to get answered than others. We studied many different language models, from small to very big ones. We compared attacks that use math tricks with attacks that use clever wording. The results show that clever wording is often better than math tricks. We also learned that the model’s size does not always make it harder to jailbreak. Overall, the study gives a clear picture of how jailbreak attempts scale with effort. This information helps researchers make safer models and better defenses.

For a technical reader

We analyzed how often language models can be coerced into unsafe outputs when attackers invest computational resources. By treating each jailbreak as an optimization problem bounded by FLOPs, we measured success rates across four attack strategies-optimization, prompting, sampling, and genetic-over multiple model families and scales. The results show that prompt-based attacks achieve higher success and stealth with less compute than optimization-based methods, and that the difficulty varies by the type of harmful request. This scaling-law perspective provides a quantitative framework for comparing attack efficiency and informing defensive resource allocation. Engineers can use these insights to prioritize safety evaluations and design more robust mitigation strategies.

Problem

There is limited systematic understanding of how jailbreak success scales with attacker effort across different attack methods, model families, and harm types.

Method

We treat each jailbreak attack as a compute-bounded optimization procedure, measure progress on a shared FLOPs axis, evaluate four paradigms (optimization-based attacks, self-refinement prompting, sampling-based selection, and genetic optimization) across multiple model families and scales, and fit saturating exponential functions to FLOPs-success trajectories to derive scaling laws and efficiency summaries.

Results

The approach finds that prompting-based attacks are more compute-efficient than optimization-based ones, achieve higher success and stealth, and that misinformation-related harms are easier to elicit than other harms.

Contributions

We introduce a scaling-law framework for jailbreaks that provides a unified FLOPs axis for comparing attack efficiency across paradigms and model families, reveal compute-efficiency differences between prompting and optimization attacks, and demonstrate goal-dependent vulnerability patterns.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction