Compromesso! Italian Many-Shot Jailbreaks Undermine the Safety of Large Language Models
Fabio Pernisi, Dirk Hovy, Paul Röttger
TL;DR
The paper investigates how many-shot jailbreaking affects the safety of Italian-language LLMs, addressing a gap in multilingual safety research. It introduces an Italian unsafe QA dataset derived from SST and SR, translates and augments prompts, and evaluates six open-weight models across four families using dual evaluation methods (normalized NLL and a GPT-4-based safety classifier). The findings show that unsafe behavior increases with more demonstrations, with an average safety degradation from 68% to 84% unsafe completions as shots rise, and reveal model-dependent differences in resilience linked to multilingual design. The work emphasizes the urgent need for cross-lingual safety measures, provides a public dataset and codebase, and encourages further multilingual, scale-aware safety evaluations across diverse model architectures.
Abstract
As diverse linguistic communities and users adopt large language models (LLMs), assessing their safety across languages becomes critical. Despite ongoing efforts to make LLMs safe, they can still be made to behave unsafely with jailbreaking, a technique in which models are prompted to act outside their operational guidelines. Research on LLM safety and jailbreaking, however, has so far mostly focused on English, limiting our understanding of LLM safety in other languages. We contribute towards closing this gap by investigating the effectiveness of many-shot jailbreaking, where models are prompted with unsafe demonstrations to induce unsafe behaviour, in Italian. To enable our analysis, we create a new dataset of unsafe Italian question-answer pairs. With this dataset, we identify clear safety vulnerabilities in four families of open-weight LLMs. We find that the models exhibit unsafe behaviors even when prompted with few unsafe demonstrations, and -- more alarmingly -- that this tendency rapidly escalates with more demonstrations.
