The Jailbreak Tax: How Useful are Your Jailbreak Outputs?

Kristina Nikolić, Luze Sun, Jie Zhang, Florian Tramèr

Abstract

Jailbreak attacks bypass the guardrails of large language models to produce harmful outputs. In this paper, we ask whether the model outputs produced by existing jailbreaks are actually useful. Since the utility of most unsafe answers is hard to evaluate rigorously, we build new jailbreak evaluation sets with known ground truth answers by aligning models to refuse questions related to benign and easy-to-evaluate topics (e.g., biology or math). Our evaluation of eight representative jailbreaks reveals a consistent drop in model utility in jailbroken responses, which we term the jailbreak tax. While all jailbreaks we tested bypass guardrails, this often comes at the expense of a drop of up to 92% in accuracy.

Introduction: Beyond Binary Success

The AI safety community has historically evaluated "jailbreaks"—adversarial prompts designed to bypass safety filters—using a binary metric: did the model refuse, or did it comply? However, this approach ignores a critical question: Is the jailbroken output actually any good? If a model provides a chemically nonsensical recipe for a restricted substance, the jailbreak has "succeeded" in bypassing the guardrail but "failed" to provide utility to a malicious actor. This research introduces a framework to quantify this utility loss, revealing a significant and often overlooked "Jailbreak Tax."

Methodology: Pseudo-Alignment

To objectively measure utility, the authors propose a method called pseudo-alignment. Evaluating the quality of truly harmful content (like bomb instructions) is difficult and dangerous. Instead, the researchers align models to refuse benign, verifiable tasks such as mathematics or biology.

The concept of pseudo-alignment: models are trained to refuse benign tasks (like math) to allow for objective utility measurement of jailbroken responses.

By applying jailbreak attacks to these pseudo-aligned models, researchers can force them to answer questions with known ground truths. The Jailbreak Tax is defined as the percentage of the model's original utility lost during the jailbreak process. The study utilizes several benchmarks, including WMDP (bio-security), GSM8K (math), and the MATH dataset, alongside new datasets like EvilMath, which rewords math problems into harmful contexts to trigger actual safety filters.

Results: Quantifying the Tax

The evaluation of eight representative jailbreaks (including GCG, PAIR, TAP, and Many-shot) reveals that jailbreaking is rarely "free." The complex prompt engineering or adversarial suffixes required to bypass guardrails often consume the model's reasoning capacity, leading to significant performance degradation.

Jailbreak Tax across different attack types and benchmarks. Automated attacks like PAIR and TAP show significantly higher utility degradation compared to Many-shot attacks.

Key Findings:

  • The 92% Drop: On the GSM8K math benchmark, the PAIR attack caused a staggering 91.9% reduction in accuracy compared to the unaligned base model.
  • Attack-Dependent Costs: Not all jailbreaks are equal. "Many-shot" jailbreaking (providing multiple harmful examples in-context) incurs a very low tax. Conversely, automated iterative attacks like PAIR and TAP consistently show the highest degradation across all benchmarks.
  • Intelligence vs. Success: An attack can achieve a 100% success rate at bypassing a guardrail while simultaneously rendering the model's output practically useless. For difficult tasks (e.g., MATH Level 5), attacks like PAIR effectively destroyed the model's problem-solving ability.
  • Scaling Limitations: Increasing model size (up to 405B parameters) does not inherently mitigate the Jailbreak Tax; even highly capable models lose significant intelligence when forced through a jailbreak.

Conclusion

The "Jailbreak Tax" highlights a critical trade-off in AI safety: the methods used to bypass guardrails often degrade the very reasoning capabilities that make the model useful. This research suggests that "Success Rate" alone is a misleading metric for jailbreak efficacy. The authors propose that the Jailbreak Tax should become a standard metric in safety research to better understand the real-world risks and limitations of adversarial attacks on Large Language Models.

Summary updated

BibTeX
@inproceedings{nikolic2025jailbreak,
  author = {Kristina Nikolić and Luze Sun and Jie Zhang and Florian Tramèr},
  title = {{The Jailbreak Tax: How Useful are Your Jailbreak Outputs?}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=VSSQud4diJ},
}
Figure