Documented Exercise · OBS.EX0004
Many-Shot Long-Context Jailbreaking Evaluation
Anthropic (2024) evaluated how expanding context windows up to hundreds of simulated dialogue demonstrations affects safety refusal stability in frontier LLMs. By filling long prompts with many synthetic question-answer turns before a final restricted query, attack compliance rose monotonically with shot count across multiple model families, reaching 61% in an illustrative baseline case before mitigation. Prompt-based classification/mitigation reduced that illustrative case to 2%, though vendor notes emphasize missing denominators prevent cross-technique ranking. The takeaway is that long-context in-context learning can override RLHF refusal priors unless paired with context-aware input classifiers and defense-in-depth.
Exercise dossier metadata
- Case ID
OBS.EX0004- Classification
- Exercise
- Date
- Evaluation scope
- Long-Context Frontier LLMs · In-Context Conditioning Scaling Study
- Reference URI
https://www.anthropic.com/research/many-shot-jailbreaking
Mapped AI security techniques
- LLM Jailbreak AML.T0054
- LLM Prompt Crafting AML.T0065
- LLM Jailbreak: Many-shot jailbreaking (research family) ATO.T24040001
Mapped defensive controls
- Generative AI Guardrails AML.M0020
- Generative AI Model Alignment AML.M0022
- AI Red Team AML.M0035
Source citation records
- Many-shot jailbreaking · Anthropic ·