CLMay 24, 2023

Tricking LLMs into Disobedience: Formalizing, Analyzing, and Detecting Jailbreaks

arXiv:2305.14965v4113 citationsHas Code
Originality Incremental advance
AI Analysis

This work addresses security and safety vulnerabilities in LLMs for developers and users, though it is incremental as it builds on existing studies by providing a systematic framework.

The paper formalizes and analyzes jailbreak attacks on large language models, where non-expert users manipulate prompts to cause harmful outputs, and it releases a dataset of 3700 jailbreak prompts across 4 tasks to aid in detection and mitigation.

Recent explorations with commercial Large Language Models (LLMs) have shown that non-expert users can jailbreak LLMs by simply manipulating their prompts; resulting in degenerate output behavior, privacy and security breaches, offensive outputs, and violations of content regulator policies. Limited studies have been conducted to formalize and analyze these attacks and their mitigations. We bridge this gap by proposing a formalism and a taxonomy of known (and possible) jailbreaks. We survey existing jailbreak methods and their effectiveness on open-source and commercial LLMs (such as GPT-based models, OPT, BLOOM, and FLAN-T5-XXL). We further discuss the challenges of jailbreak detection in terms of their effectiveness against known attacks. For further analysis, we release a dataset of model outputs across 3700 jailbreak prompts over 4 tasks.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes