Adversarial Reasoning at Jailbreaking Time

Mahdi Sabbaghi, Paul Kassianik, George Pappas, Yaron Singer, Amin Karbasi +1 more
2/3/2025
cs.LGcs.AI

No official code found. Best implementation: Helloworld10011/Adversarial-Reasoning (26 stars, Apache-2.0, last commit 2025-07-02).

Abstract

As large language models (LLMs) are becoming more capable and widespread, the study of their failure cases is becoming increasingly important. Recent advances in standardizing, measuring, and scaling test-time compute suggest new methodologies for optimizing models to achieve high performance on hard tasks. In this paper, we apply these advances to the task of model jailbreaking: eliciting harmful responses from aligned LLMs. We develop an adversarial reasoning approach to automatic jailbreaking that leverages a loss signal to guide the test-time compute, achieving SOTA attack success rates against many aligned LLMs, even those that aim to trade inference-time compute for adversarial robustness. Our approach introduces a new paradigm in understanding LLM vulnerabilities, laying the foundation for the development of more robust and trustworthy AI systems.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

A new algorithm that formulates jailbreaking as a reasoning problem.

264Python, Jupyter NotebookFeb 3, 20251 years agoApache-2.0

Similar Papers

Cite this paper

@article{sabbaghi2025adversarial,
  title  = {Adversarial Reasoning at Jailbreaking Time},
  author = {Mahdi Sabbaghi and Paul Kassianik and George Pappas and Yaron Singer and Amin Karbasi and Hamed Hassani},
  year   = {2025},
  eprint = {2502.01633},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.01633v2},
  journal = {ICML 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.01633.svg)](https://codeofpaper.com/paper/2502.01633)

Discussion