Tricking LLMs into Disobedience: Formalizing, Analyzing, and Detecting Jailbreaks (original) (raw)
Abstract: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.
Submission history
From: Abhinav Rao [view email]
[v1] Wed, 24 May 2023 09:57:37 UTC (8,129 KB)
[v2] Mon, 26 Feb 2024 08:42:37 UTC (10,640 KB)
[v3] Mon, 25 Mar 2024 15🔞06 UTC (7,054 KB)
[v4] Wed, 27 Mar 2024 04:38:44 UTC (7,055 KB)