Saved in:
Bibliographic Details
Main Authors: Ramesh, Govind, Dou, Yao, Xu, Wei
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2405.13077
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910651855667200
author Ramesh, Govind
Dou, Yao
Xu, Wei
author_facet Ramesh, Govind
Dou, Yao
Xu, Wei
contents Research on jailbreaking has been valuable for testing and understanding the safety and security issues of large language models (LLMs). In this paper, we introduce Iterative Refinement Induced Self-Jailbreak (IRIS), a novel approach that leverages the reflective capabilities of LLMs for jailbreaking with only black-box access. Unlike previous methods, IRIS simplifies the jailbreaking process by using a single model as both the attacker and target. This method first iteratively refines adversarial prompts through self-explanation, which is crucial for ensuring that even well-aligned LLMs obey adversarial instructions. IRIS then rates and enhances the output given the refined prompt to increase its harmfulness. We find that IRIS achieves jailbreak success rates of 98% on GPT-4, 92% on GPT-4 Turbo, and 94% on Llama-3.1-70B in under 7 queries. It significantly outperforms prior approaches in automatic, black-box, and interpretable jailbreaking, while requiring substantially fewer queries, thereby establishing a new standard for interpretable jailbreaking methods.
format Preprint
id arxiv_https___arxiv_org_abs_2405_13077
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle GPT-4 Jailbreaks Itself with Near-Perfect Success Using Self-Explanation
Ramesh, Govind
Dou, Yao
Xu, Wei
Cryptography and Security
Artificial Intelligence
Computation and Language
Research on jailbreaking has been valuable for testing and understanding the safety and security issues of large language models (LLMs). In this paper, we introduce Iterative Refinement Induced Self-Jailbreak (IRIS), a novel approach that leverages the reflective capabilities of LLMs for jailbreaking with only black-box access. Unlike previous methods, IRIS simplifies the jailbreaking process by using a single model as both the attacker and target. This method first iteratively refines adversarial prompts through self-explanation, which is crucial for ensuring that even well-aligned LLMs obey adversarial instructions. IRIS then rates and enhances the output given the refined prompt to increase its harmfulness. We find that IRIS achieves jailbreak success rates of 98% on GPT-4, 92% on GPT-4 Turbo, and 94% on Llama-3.1-70B in under 7 queries. It significantly outperforms prior approaches in automatic, black-box, and interpretable jailbreaking, while requiring substantially fewer queries, thereby establishing a new standard for interpretable jailbreaking methods.
title GPT-4 Jailbreaks Itself with Near-Perfect Success Using Self-Explanation
topic Cryptography and Security
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2405.13077