atlas

Research map / Large language models / Language, safety and interpretability

Multilingual Jailbreak Challenges in Large Language Models

ICLR 2024 · Large language models › Language, safety and interpretability · approach: Jailbreak attacks and defenses · 16 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Shows that non-English (especially low-resource) prompts and multilingual combinations with malicious instructions bypass safety of ChatGPT and GPT-4, releases the MultiJail dataset, and proposes Self-Defense, a self-generated multilingual safety fine-tuning framework.

Problem

Safety alignment of LLMs is mostly English-focused, so jailbreak attacks in non-English languages (unintentional and intentional misuse) may bypass safety mechanisms.

Approach

Frames multilingual jailbreaking as two scenarios (unintentional user queries in low-resource languages; intentional combination of translated harmful prompts with an English malicious instruction), builds a human-translated 10-language benchmark, and uses the LLM itself to generate multilingual safety fine-tuning data (Self-Defense).

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Fine-tune ChatGPT with Self-Defence multilingual safety dataChatGPT · MultiJail, unintentional scenariounsafe rate: 10.19% to 3.95%Helped
Fine-tune ChatGPT with Self-Defence multilingual safety dataChatGPT · MultiJail, intentional scenariounsafe rate: 80.92% to 60.00%Helped
Use non-English harmful prompts with the AIM malicious instruction instead of English prompts with AIMChatGPT and GPT-4 · MultiJail, intentional scenariounsafe rate: 0.63% to 80.92%; 0.95% to 40.71%Mixed
Lower language-resource availability from high-resource to low-resourceChatGPT and GPT-4 · MultiJail, unintentional scenariounsafe rate: 4.34% to 14.92%; 3.60% to 10.16%Hurt
Use machine-translated rather than human-translated prompts (ablation)ChatGPT · MultiJail, unintentional scenario, Avg. 9 non-English languagesunsafe rate: 10.19% to 11.15%Hurt
Translate the AIM malicious instruction into the target language (ablation)ChatGPT · MultiJail, intentional scenariounsafe rate: 80.92% to 58.66%Helped
Use nucleus sampling with top_p = 0.8 instead of temperature 0 (ablation)ChatGPT · MultiJail, unintentional scenario, Avg. 9 non-English languagesunsafe rate: 1.25% higherHurt
Increase the share of unsafe input-output pairs in Self-Defence training (ablation)ChatGPT · MultiJail safety evaluationsafety: 59.67 to 63.50 to 82.17 to 90.67Helped
Increase the share of unsafe input-output pairs in Self-Defence training (ablation)ChatGPT · XNLI and X-CSQAusefulness: 46.67 to 41.39 to 40.83 to 35.28Hurt
Add language-specific safety tuning for Southeast Asian languagesSeaLLM-v2 · MultiJail, unintentional scenario, Thai, Vietnamese, and Javaneseunsafe rateHelped
Combine the AIM instruction with non-English prompts and adaptively try multiple languagesChatGPT and GPT-4 · MultiJail, intentional multilingual adaptive attackunsafe rate: 99.37%; 79.05%Hurt

Surprising findings

Limitations

Experimental setup

Datasets: GPT-4 report harmful prompts (15) Anthropic red-teaming dataset (300 sampled) XNLI X-CSQA

Benchmarks: MultiJail XNLI X-CSQA

Metrics: unsafe rate safe rate invalid rate accuracy Cohen's kappa

Baselines: GPT-4 Llama2-chat Vicuna SeaLLM-v2

Builds on: Self-Instruct red-teaming dataset (Anthropic HH) GPT-4 technical report safety evaluation

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy