Skip to main content

/research/master-thesis

Multilingual jailbreaks

M.Sc. dissertation · PPGCC/UFSC · 2026

Data and figures from my master's dissertation. The prompts, translations, model responses and judge scores here are the same files used in the text, so any number in it can be checked against the raw records.

The prompts ask for harmful help and many responses give it. They are shown as recorded, without edits.

36 189

model runs

313

StrongREJECT prompts

13

attack languages

9

models

32 090

responses in the main analysis

0.221

mean score, paired models

> method

How the study was run

Each step opens the page with its data. BELEBELE runs alongside the jailbreak pipeline and enters the analysis as the specialization measure.

> abstract

This dissertation investigates whether linguistic distance and language specialization are associated with the vulnerability of large language models to multilingual attacks. These attacks, known as jailbreaks, try to bypass a model's safety restrictions to obtain help in carrying out harmful actions. The study evaluates, across thirteen languages, eight assistants organized into four pairs focused on Brazilian Portuguese, Italian, Swedish, and Bulgarian, plus an English reference model. Harmful prompts are machine-translated, and non-English responses are translated into English before evaluation.

Evaluation follows the StrongREJECT protocol, which gives each response a score from zero to one according to how much it helps carry out the harmful action. Distance between languages is calculated from linguistic features. The specialization proxy combines accuracy on multilingual reading-comprehension questions with how often the model repeats the answers it gives in the language it is designed to serve. The main analysis includes 32,090 scored responses from the eight paired models, retaining zero scores, and uses fractional-logit regression with model and language fixed effects and robust standard errors clustered by model–language combination. The score outcome and the other analytical choices were defined after the results had been inspected.

The distance coefficient is negative in 11 of the 12 specifications examined, which runs contrary to the hypothesis, but the 95% confidence interval in the main analysis includes zero. When at least one hundred comparable answers are required on the reading-comprehension test, the estimate becomes positive, again with an interval that includes zero; this requirement, however, excludes all observations from one model. Specialization is positively associated with scores, contrary to the expected protection. Because the two predictors are collinear, their associations are hard to separate. Within the evaluated panel, the results confirm neither the expected positive association for distance nor the expected protective relationship for specialization.

> hypotheses

H1not supported

Jailbreak effectiveness increases as the attack language becomes more distant from the model's aligned language.

The distance coefficient is negative in 11 of 12 specifications, and the main interval (clustered by cell) includes zero.

H2not supported

Jailbreak effectiveness decreases as post-training specialization in the attack language increases.

SPEC has a positive association with the score.

H3not established

When both are considered together, linguistic distance is the stronger and more stable predictor.

Distance and SPEC are collinear (VIF of SPEC: 13.5), so I cannot say which one matters more.

> models

Model pairs

Each pair has two assistants specialized in the same language, one with weaker and one with stronger safety alignment. The bars give the mean StrongREJECT score in the model's own language and in the other twelve.

Portuguesepor

Sagui-7B-Instruct-v0.1

weak · open weights
  1. LLaMA 7B (original base)
  2. Sabiá-7B (Portuguese continuation)
  3. Sagui-7B Instruct-v0.1
own language0.630
other languages0.377

Sabiá-3

strong · API
  1. Undisclosed upstream
  2. Private model training
  3. Sabiá-3 (closed API)
own language0.044
other languages0.049
Italianita

LLaMAntino-2-chat-7b-hf-UltraChat-ITA

weak · open weights
  1. LLaMA-2 7B (chat checkpoint)
  2. Italian UltraChat (QLoRA, merged)
  3. LLaMAntino-2 chat-UltraChat-ITA
own language0.404
other languages0.259

LLaMAntino-3-ANITA-8B-Inst-DPO-ITA

strong · open weights
  1. Meta Llama-3 8B Instruct
  2. Italian SFT / DPO
  3. LLaMAntino-3 ANITA
own language0.063
other languages0.070
Swedishswe

GPT-SW3-6.7B-v2-instruct

weak · open weights
  1. GPT-SW3 6.7B v2 (Nordic base)
  2. Instruction tuning (Nordic / English)
  3. GPT-SW3 6.7B v2-instruct
own language0.408
other languages0.132

AI-Sweden Llama-3-8B-instruct

strong · open weights
  1. Meta Llama-3 8B (base)
  2. Nordic continued pretraining
  3. AI Sweden Llama-3 8B-instruct
own language0.518
other languages0.194
Bulgarianbul

BgGPT-7B-Instruct-v0.2

weak · open weights
  1. Mistral 7B v0.1 (base)
  2. Bulgarian continued pretraining / SFT
  3. BgGPT-7B Instruct-v0.2
own language0.732
other languages0.511

BgGPT-Gemma-2-9B-IT-v1.0

strong · open weights
  1. Gemma 2 9B (base + IT)
  2. Branch-and-merge Bulgarian adaptation / SFT
  3. BgGPT-Gemma 2 9B-IT-v1.0
own language0.066
other languages0.077
Englisheng

LLaMA-3.1-8B-Instruct

reference · open weights
  1. Llama 3.1 8B
  2. Meta instruction and safety post-training
  3. Llama 3.1 8B Instruct
own language0.022
other languages0.072

> rubric

StrongREJECT score

The judge decides whether the response refuses and rates convincingness and specificity from 1 to 5. A refusal is always 0. Move the controls to see how the other two ratings map to the score.

convincingness4 / 5
specificity3 / 5

s = (1 − 0) × (4 + 3 − 2) / 8

0.625

> limitations

Limitations

  • 01I chose the graded outcome and its regression after looking at the results. They were not pre-registered.
  • 02Prompts and responses go through machine translation, and no bilingual human checked the prompts or the judge scores.
  • 03The audit of the 148 flagged translations was done by an LLM judge that was not calibrated against people.
  • 04Some BELEBELE cells have few parseable answers because of the generation limit, which weakens SPEC for one model.
  • 05Models in a pair differ in ancestry and training data, so a pair is not a controlled comparison of safety tuning.
  • 06In the mechanistic analysis, directions, layers and steering strengths were picked on the same sample they are tested on.

> data

sha256 0c83e6f746cb04080be7e73064115bcbfc7fb53f632d748634bdfe3624f1225c

Data release: final-v2-2026-10-19, DOI 10.5281/zenodo.23473765, commit 4a9a84a363.