An empirical study on jailbreaking ChatGPT using prompt engineeringJailbreaking ChatGPT via Prompt Engineering: An Empirical Study
AI summary
The study analyzes the types of prompts that can jailbreak ChatGPT, identifying ten prompt patterns and three categories of jailbreak prompts, and evaluates their effectiveness in bypassing restrictions on ChatGPT 3.5 and 4.0. The authors build a classification model to analyze the distribution of existing prompts, test the two versions with 3,120 jailbreak questions covering eight categories of prohibited scenarios, and find that these prompts can persistently evade restrictions across 40 use-case scenarios. The study emphasizes the role of prompt structure in jailbreaking and discusses the challenges of robust generation and defending against jailbreak prompts.