Observatory research catalog · ATO.T786CE963 · Elevated severity
LLM Jailbreak: DeepInception (published research family)
DeepInception (Li et al., 2023) constructs deeply nested fictional narratives, dream-within-a-dream scenarios, or multi-character roleplay layers that induce an LLM to simulate fictional agents collaborating toward a forbidden output. Recursive persona framing exploits models' helpfulness toward complex narrative consistency at the expense of top-level safety rules.
Technique dossier overview
- Category
- Prompt and context integrity
- Severity
- Elevated
- Attack surface
- LLM / Prompt Layer
- Platforms
- Generative AI
- Tactics
- Defense Evasion, Privilege Escalation
- Aliases
- DeepInception
- Catalog entry modified
- Earliest cited research
- · DeepInception: Hypnotize Large Language Model to Be Jailbreaker · arXiv (author preprint; peer-review status not inferred)
How the mechanism works
- An adversarial prompt defines a benign meta-story (such as a movie script or simulation lab) containing nested sub-stories and specialized fictional characters.
- Responsibility for answering the target query is diffused across simulated character layers inside the nested frame.
- The model prioritizes maintaining coherent character dialogue across the nested scene hierarchy over triggering a top-level safety refusal.
Detection & telemetry signals
- Prompts containing deep nested roleplay definitions, multi-layer fictional scene hierarchies, or explicit persona-delegation rules.
- Output completions producing actionable restricted instructions embedded inside simulated character dialogue or screenplay blocks.
- Input classifiers flagging high narrative-recursion markers paired with restricted domain keywords.
- Red-team benchmark discrepancies between direct queries (refused) and nested-hypothetical reframings (complied).
Architectural defensive countermeasures
- Enforce output-side safety classifiers (`AML.M0020`) that inspect semantic harm independently of whether text is wrapped inside fictional dialogue or screenplay formatting.
- Train models via instruction-hierarchy and alignment fine-tuning (`AML.M0022`) to enforce safety policies uniformly across hypothetical, fictional, and roleplay contexts.
- Include nested-persona benchmarks (DeepInception) in routine pre-release validation suites (`AML.M0008`, `AML.M0035`).
- Ensure downstream tools never execute commands parsed from simulated narrative outputs.
Framework crosswalk (OWASP LLM Top 10 & NIST AI RMF)
- OWASP LLM Top 10 (2025)
- OWASP rationale
- Recursive roleplay framing exploits context prioritization to bypass safety instructions via Prompt Injection (LLM01).
- NIST AI RMF functions
- NIST AI RMF guidance
- Include nested-fictional prompt evaluations under MEASURE, and apply frame-agnostic output safeguards and instruction-hierarchy alignment under MANAGE.
Mapped defensive controls
- Validate AI Model AML.M0008
Run independent pre-release and post-fine-tuning assurance suites covering safety regressions, backdoor activation, alignment drift, and privacy leakage before promotion.
- Generative AI Guardrails AML.M0020
Deploy layered input and output classifiers, constitutional/topic rails, and structural validators with measured benign over-refusal rates—never relying on classifiers as the sole authorization boundary.
- Generative AI Guidelines AML.M0021
Codify explicit acceptable-use rules, prompt policy hierarchies, and refusal rubrics to steer model alignment and user expectations, recognizing text guidelines alone cannot stop attacks.
- Generative AI Model Alignment AML.M0022
Harden model weights via SFT, RLHF/DPO, deliberative alignment, and instruction-hierarchy training across base and fine-tuned revisions while monitoring residual safety drift.
- AI Red Team AML.M0035
Conduct authorized, isolated manual and automated adversarial testing across models, RAG pipelines, and agents—tracking reproducible breach rates, Wilson confidence intervals, and patch verification.
Related technique records
Documented incidents & exercises (1)
- DeepInception Nested Personification Jailbreak Study OBS.EX0009 · Exercise · Nov 6, 2023 · Open & Closed LLMs · Lightweight Authority & Nested Context Manipulation
Li et al. (2023) evaluated DeepInception, a lightweight zero-optimization probing approach inspired by Milgram authority studies that embeds restricted requests inside nested fictional character layers. Empirical evaluations on Llama-2, Llama-3, GPT-3.5, GPT-4, and GPT-4o…
Source citation records
- DeepInception: Hypnotize Large Language Model to Be Jailbreaker · arXiv (author preprint; peer-review status not inferred) ·
Common questions
- What is LLM Jailbreak: DeepInception (published research family) (ATO.T786CE963)?
- DeepInception (Li et al., 2023) constructs deeply nested fictional narratives, dream-within-a-dream scenarios, or multi-character roleplay layers that induce an LLM to simulate fictional agents collaborating toward a forbidden output. Recursive persona framing exploits models' helpfulness toward complex narrative consistency at the expense of top-level safety rules.
- How do you mitigate LLM Jailbreak: DeepInception (published research family)?
- MITRE ATLAS maps 5 mitigations to ATO.T786CE963: Validate AI Model, Generative AI Guardrails, Generative AI Guidelines, Generative AI Model Alignment, and AI Red Team. Enforce output-side safety classifiers (`AML.M0020`) that inspect semantic harm independently of whether text is wrapped inside fictional dialogue or screenplay formatting.