Many-Shot Jailbreaking: How numerous example dialogues influence safety behaviour
Anthropic’s 2024 study used fabricated dialogues with disallowed answers, not a sequence of harmless stories.
Revisión editorial:
El texto de este artículo está disponible en inglés en esta versión del sitio.
Contexto y fuentes
Anthropic published its many-shot jailbreaking research on 2 April 2024. A single input contains numerous fabricated conversations showing an assistant answering requests it should refuse, followed by a target request. In tested configurations, increasing the number of examples increased the likelihood of an unwanted answer. The publication also discusses mitigations. [1]
Alcance y límites
Effects depend on model and test conditions. A long context window alone does not establish vulnerability or success against current versions. [1]
Explicación sencilla
The model is given an extended staged conversation as a pattern. The concern is that it continues that pattern despite the application’s intended rules.
Recomendaciones prácticas
We recommend evaluating long inputs for rule adherence as well as accuracy and speed. Separate supplied example conversations from the legitimate task. Record example type and count, model version and evaluation method. Keep consequential operations behind independent controls rather than assuming more context is either automatically safe or automatically unsafe.