paper-with-me

홈 › Papers

Best-of-N Jailbreaking

2024-12-04 · John Hughes, Sara Price, Aengus Lynch, Rylan Schaeffer, Fazl Barez, Sanmi Koyejo, Henry Sleight, Erik Jones, Ethan Perez, Mrinank Sharma

We introduce Best-of-N (BoN) Jailbreaking, a simple black-box algorithm that jailbreaks frontier AI systems across modalities. BoN Jailbreaking works by repeatedly sampling variations of a prompt with a combination of augmentations - such as random shuffling or capitalization for textual prompts - until a harmful response is elicited. We find that BoN Jailbreaking achieves high attack success rates (ASRs) on closed-source language models, such as 89% on GPT-4o and 78% on Claude 3.5 Sonnet when sampling 10,000 augmented prompts. Further, it is similarly effective at circumventing state-of-the-art open-source defenses like circuit breakers. BoN also seamlessly extends to other modalities: it jailbreaks vision language models (VLMs) such as GPT-4o and audio language models (ALMs) like Gemini 1.5 Pro, using modality-specific augmentations. BoN reliably improves when we sample more augmented prompts. Across all modalities, ASR, as a function of the number of samples (N), empirically follows power-law-like behavior for many orders of magnitude. BoN Jailbreaking can also be composed with other black-box algorithms for even more effective attacks - combining BoN with an optimized prefix attack achieves up to a 35% increase in ASR. Overall, our work indicates that, despite their capability, language models are sensitive to seemingly innocuous changes to inputs, which attackers can exploit across modalities.

📄 PDF Abstract BibTeX arXiv:2412.03556

Code (1)

jplhughes/bon-jailbreaking 공식 구현

Similar Papers 제목 키워드 기반

Defense Against the Dark Prompts: Mitigating Best-of-N Jailbreaking with Prompt Evaluation

2025-02-01 · Stuart Armstrong, Matija Franklin, Connor Stevens, Rebecca Gorman

Recent work showed Best-of-N (BoN) jailbreaking using repeated use of random augmentations (such as capitalization, punctuation, etc) is effective against all major large language models (LLMs). We have found that $100\%…

FLAME: Flexible LLM-Assisted Moderation Engine

2025-02-13 · Ivan Bakulin, Ilia Kopanichuk, Iaroslav Bespalov, Nikita Radchenko 외

The rapid advancement of Large Language Models (LLMs) has introduced significant challenges in moderating user-model interactions. While LLMs demonstrate remarkable capabilities, they remain vulnerable to adversarial att…

Computational Efficiencyinput filtering

Adaptive Jailbreaking Strategies Based on the Semantic Understanding Capabilities of Large Language Models

2025-05-29 · Mingyu Yu, Wei Wang, Yanjie Wei, Sujuan Qin

Adversarial attacks on Large Language Models (LLMs) via jailbreaking techniques-methods that circumvent their built-in safety and ethical constraints-have emerged as a critical challenge in AI security. These attacks com…

Many-Turn Jailbreaking

2025-08-09 · Xianjun Yang, Liqiang Xiao, Shiyang Li, Faisal Ladhak 외 arxiv

Current jailbreaking work on large language models (LLMs) aims to elicit unsafe outputs from given prompts. However, it only focuses on single-turn jailbreaking targeting one specific query. On the contrary, the advanced…

How to Trick Your AI TA: A Systematic Study of Academic Jailbreaking in LLM Code Evaluation

2025-12-11 · Devanshu Sahoo, Vasudev Majhi, Arjun Neekhra, Yash Sinha 외 arxiv

The use of Large Language Models (LLMs) as automatic judges for code evaluation is becoming increasingly prevalent in academic environments. But their reliability can be compromised by students who may employ adversarial…