← Torna al blog
Ricerca IAAlta

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.

Revisione editoriale:

In questa versione del sito il testo dell’articolo è disponibile in inglese.

Contesto e fonti

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]

Ambito e limiti

Effects depend on model and test conditions. A long context window alone does not establish vulnerability or success against current versions. [1]

Spiegato in modo semplice

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.

Raccomandazioni pratiche

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.

Fonte primaria / riferimento

  1. [1] Anthropic (02.04.2024): Many-shot jailbreaking