vix.ing · top · new · best · stats

DeepInception: Hypnotize Large Language Model to Be Jailbreaker

2023/11/06 by Xuan Li, Li, Xuan, Zhanke Zhou +9 · 114 citations
Computer Science · #Adversarial Robustness in Machine Learning #Adversarial system #Artificial intelligence #Code (set theory) #Computer science #Computer security #Construct (python library) #Control (management) #Hate Speech and Cyberbullying Detection #Programming language #Topic Modeling

paper · pdf · doi:10.48550/arxiv.2311.03191

published in arXiv (Cornell University) (Cornell University)

openalex publication_date 2023/11/06 · openalex created_date 2025/10/10 · openalex updated_date 2026/07/28

Abstract

Large language models (LLMs) have succeeded significantly in various applications but remain susceptible to adversarial jailbreaks that void their safety guardrails. Previous attempts to exploit these vulnerabilities often rely on high-cost computational extrapolations, which may not be practical or efficient. In this paper, inspired by the authority influence demonstrated in the Milgram experiment, we present a lightweight method to take advantage of the LLMs' personification capabilities to construct a virtual, nested scene, allowing it to realize an adaptive way to escape the usage control in a normal scenario. Empirically, the contents induced by our approach can achieve leading harmfulness rates with previous counterparts and realize a continuous jailbreak in subsequent interactions, which reveals the critical weakness of self-losing on both open-source and closed-source LLMs, e.g., Llama-2, Llama-3, GPT-3.5, GPT-4, and GPT-4o. The code and data are available at: https://github.com/tmlr-group/DeepInception.

Cited by

Related