Skip to content

An empirical study on jailbreaking ChatGPT using prompt engineeringJailbreaking ChatGPT via Prompt Engineering: An Empirical Study

arXiv· arXiv:2305.13860· Yi Liu, Gelei Deng, Zhengzi Xu, Yuekang Li, Yaowen Zheng, Ying Zhang, Lida Zhao, Tianwei Zhang, Kailong Wang, Yang Liu·Indexed by this site · 25 days ago· Originally publishedAttacks
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.

Read originalarxiv.org