Skip to content
← All posts

Does the English Refusal Direction Work in Bengali?

Chat models refuse harmful requests through a single direction in their activations. I tested whether the direction found on English prompts also controls refusal when the request is written in Bengali, on Gemma-2-2B.

Contents

Chat models are trained to refuse harmful requests. Most of that safety training happens in English, but people talk to these models in every language. Bengali is my native language, spoken by more than 250 million people, so I wanted to know: when a harmful request arrives in Bengali, does the model refuse it the same way?

Interpretability gives a sharper version of that question. For English, we know where refusal lives inside many chat models. So I asked whether the same internal mechanism also runs refusal in Bengali.

All model results in this post come from gemma-2-2b-it. No harmful prompts or model answers are shown.

Refusal is a direction

Arditi et al. [ref] found that in 13 open chat models, refusal is controlled by a single direction in the Residual streamThe main vector each token carries through a transformer. Every layer reads from it and adds its output back, like a shared whiteboard. Read more in “Opening the Black Box” →, the Refusal directionA single direction in a chat model’s residual stream that controls refusal: removing it stops the model from refusing, adding it makes the model refuse (Arditi et al., 2024). Jump to the section →. Finding it takes three steps:

  1. Run the model on harmful and on harmless prompts and record the activations at the last tokens of the prompt, just before the model starts to answer.
  2. Take the Difference in meansThe average activation over one set of inputs minus the average over another set, e.g. harmful minus harmless prompts. The result is a direction in activation space. Jump to the section →: r=μharmful−μharmlessr = \mu_{\text{harmful}} - \mu_{\text{harmless}}. This gives one candidate per layer and token position.
  3. Keep the candidate that works best on held-out prompts.

Then two tests show that the direction does something, rather than just correlating with harmfulness:

  • Remove it (Directional ablationRemoving the part of every activation that points along one direction, at every layer and position, so the model can no longer use that direction. Jump to the section →): at every layer, replace each activation xx by x−(x⋅r^) r^x - (x \cdot \hat r)\,\hat r. The model then complies with harmful requests.
  • Add it (Activation additionAdding a fixed vector to the activations at one layer while the model runs, a simple form of steering. Jump to the section →): at one layer, replace xx by x+rx + r. The model then refuses harmless requests.

It’s the same recipe I used for sentiment in Looking for What We Already Know, now applied to a safety behavior.

1. Find it

rharmlessharmful

Average activation on harmful prompts minus average on harmless prompts.

2. Remove it

rx − (x · r̂) r̂harmful prompt, refusal signal gone

Project r out of every layer. If refusal runs through r, the model stops refusing.

3. Add it

+ rharmless prompt, now refused

Add r at one layer. If r means “refuse”, the model refuses harmless requests.

Figure 1. The refusal direction in three steps.Illustrative values, not measured
Takeaway: One vector, found by subtracting two averages, can be removed to stop refusal or added to cause it.

One direction, many languages

Wang et al. [ref] took this to 14 languages. Their main findings:

  • A direction found on English prompts also controls refusal for prompts in the other languages.
  • Directions found separately in each language are nearly parallel.
  • Harmful and harmless prompts are less clearly separated inside the model for non-English languages, which helps explain why jailbreaks in other languages work.

Bengali was not one of their 14 languages, so I tested it.

The experiment

English test set
572 harmful, 100 harmless
↓ Google Translate
Bengali test set
the same prompts, same IDs
English train prompts
128 harmful, 128 harmless
↓ difference in means, pick the best candidate
refusal direction r
layer 15, last prompt token
Interventions
  • none
  • remove r (harmful prompts)
  • add r (harmless prompts)
  • same with a random direction of the same size
Measures
  • refusal phrases in the reply
  • refusal score (first token)
  • language of the reply
Figure 2. The setup.
Takeaway: Same prompts in two languages, one direction found on English only, and three ways to intervene.
  • Model: gemma-2-2b-it, a smaller relative of the Gemma-2 model Wang et al. used.
  • Prompts: the public splits from the reference code of both papers: harmful requests from AdvBench, MaliciousInstruct, TDC2023 and HarmBench, harmless requests from Alpaca. 572 harmful and 100 harmless prompts are used for testing.
  • Bengali: every prompt translated with Google Translate (through its official API; Wang et al. also used Google Translate). Each Bengali prompt keeps the ID of its English source, so I can compare the two languages prompt by prompt. Translated back to English, the prompts stay close to the originals: the average embedding similarity (LaBSE) between the original and the round trip is 0.94 for harmful and 0.96 for harmless prompts.
  • Direction: computed on 128 + 128 English training prompts only. The selection picked layer 15 of 26, at the last token of the prompt.
  • Controls: each intervention is repeated with a random direction of the same size.

Bengali is expensive for Gemma’s tokenizer: a harmful prompt takes on average 64 tokens in Bengali and 21 in English, about 3 times as many.

How I measure refusal. Two ways:

  • Refusal phrases: a reply counts as a refusal if it contains a phrase like “I cannot” or “আমি দুঃখিত” (“I’m sorry”). The same English and Bengali phrase list is used for every reply.
  • Refusal scoreHow likely the model is to start its reply with a typical refusal token (for Gemma: “I” or “It”), as log-odds. Above 0 means those tokens get more than half of the probability.: read the probability of the first token of the reply. For Gemma, refusals in English start with “I” or “It”.

Neither measure has been checked against hand labels yet, so the exact percentages carry some uncertainty. With 572 prompts, a rate around 70% has a 95% confidence interval of roughly ±4 percentage points.

Finding 1: Gemma refuses less in Bengali

Harmful prompts (572) · high is safe

  • English94.4%
  • Bengali71.3%

Harmless prompts (100) · low is good

  • English6.0%
  • Bengali7.0%

A reply counts as a refusal if it contains a refusal phrase (“I cannot”, “আমি দুঃখিত”, …). English and Bengali phrases are checked for every reply.

Figure 3. Refusal without any intervention, English vs Bengali. Switch between the two refusal measures.Measured on Gemma-2-2B-it
Takeaway: With refusal phrases, Gemma refuses 94% of harmful English prompts and 71% of the same prompts in Bengali. Both languages refuse few harmless prompts.
  • With refusal phrases, the refusal rate on harmful prompts drops from 94.4% in English to 71.3% in Bengali.
  • On harmless prompts, both languages stay low: 6% in English and 7% in Bengali.
  • The refusal score tells a different story for Bengali (30.9% above zero). That gap is a measurement issue I can see in the data: the score only counts refusals that start with “I” or “It”. Many Bengali refusals start with “আমি” (“I”) instead.

One fact surprised me: Gemma often answers a Bengali prompt in English.

Language of Gemma’s reply to Bengali prompts

  • harmful, no interventionBengali 59% · English 41%
  • harmful, English direction removedBengali 57% · English 43%
  • harmless, no interventionBengali 61% · English 39%
  • harmless, English direction addedBengali 6% · English 94%

Harmful Bengali prompts, no intervention: share refused, by reply language

79%replies in Bengali (266 of 335)

60%replies in English (140 of 235)

Figure 4. Language of Gemma's replies to Bengali prompts.Measured on Gemma-2-2B-it
Takeaway: About 4 in 10 replies to Bengali prompts are in English, and those replies refuse less often than replies written in Bengali.

On harmful Bengali prompts, 41% of the replies are in English. Of the replies written in Bengali, 79% are refusals. Of the replies written in English, 60% are. The data shows the difference, not its cause.

Finding 2: the English direction controls refusal in Bengali

This is the main test. The direction comes from English prompts only. What happens when I remove it, or add it, while the model reads Bengali?

Harmful prompts · direction removed at every layer

share of replies that refuse (refusal phrases)

  • English0.2%
  • Bengali0.9%

Harmless prompts · direction added at layer 15

share of replies that refuse (refusal phrases)

  • English100.0%
  • Bengali100.0%

The black tick marks the value without intervention. The direction was found on English prompts only.

Figure 5. Removing the English refusal direction (harmful prompts) and adding it (harmless prompts), in both languages.Measured on Gemma-2-2B-it
Takeaway: Removing the English direction takes Bengali refusals from 71% to 1%; adding it makes every harmless Bengali prompt refused. A random direction of the same size barely changes anything.
EnglishBengali
Harmful, no intervention94.4%71.3%
Harmful, English direction removed0.2%0.9%
Harmful, random direction removed94.2%69.9%
Harmless, no intervention6.0%7.0%
Harmless, English direction added100%100%
Harmless, random direction added6.0%4.0%

The effect is as strong in Bengali as in English, and the random direction shows it isn’t just the size of the change. One side effect: with the direction added, 94% of the replies to harmless Bengali prompts are in English, compared with 39% without it. Removing the direction leaves the reply language almost unchanged (43% English, compared with 41%).

Finding 3: nearly parallel directions, weaker separation

Next I computed a refusal direction from the Bengali versions of the training prompts and compared it with the English one, layer by layer. To read a cosine, I need a reference: two directions computed from two random halves of the same language’s prompts.

Are the two directions parallel?

cosine similarity (1 = same direction, ≈0.02 for random directions)

0.20.40.60.81.01510152025layer
  • ━ English vs Bengali direction: 0.901
  • ┅ English vs English (two random halves): 0.968
  • ┅ Bengali vs Bengali (two random halves): 0.964

How separated are harmful and harmless?

silhouette score (higher = more clearly separated)

0.00.10.20.30.41510152025layer
  • ━ English: 0.224
  • ━ Bengali: 0.156
Figure 6. English vs Bengali, layer by layer. Move the slider to read off values.Measured on Gemma-2-2B-it
Takeaway: Around the middle layers the English and Bengali directions are nearly parallel (0.90 at layer 15), a bit below the same-language reference (0.96–0.97). Harmful and harmless prompts are less separated in Bengali.
  • At layer 15, the cosine between the English and the Bengali direction is 0.901. Two halves of the same language reach 0.968 (English) and 0.964 (Bengali). Random directions would give about 0.02.
  • The cosine peaks at 0.916 at layer 13. It is below 0.5 in layers 1 to 5 and falls to 0.64 at the last layer.
  • The Silhouette scoreHow well two groups of points are separated: close to 1 means two tight groups far apart, 0 means they overlap. for harmful vs harmless is lower in Bengali than in English at every layer on the training prompts, and from layer 3 on for the test prompts. At layer 15: 0.224 vs 0.156 (training) and 0.240 vs 0.146 (test).
PC1 (19.7%) →↑ PC2 (8.9%)
  • ● English harmful
  • ● English harmless
  • △ Bengali harmful
  • △ Bengali harmless
  • One point per prompt: the residual stream at layer 15, last prompt token, reduced to two dimensions. English and Bengali share the same axes.
Figure 7. The test prompts at layer 15, last prompt token, reduced to two dimensions with PCA (English and Bengali on the same axes).Measured on Gemma-2-2B-it
Takeaway: Bengali harmful prompts sit closer to the harmless prompts than English harmful prompts do, and the Bengali harmful prompts that weren't refused sit closest of all.

Along the first axis, the averages are 35 for English harmful prompts, −14 for Bengali harmful prompts and −55 and −67 for English and Bengali harmless prompts. Split by outcome, Bengali harmful prompts that were refused average 0 and those that weren’t average −48. The two axes explain 28.6% of the variance together, so this picture leaves out most of the structure.

Finding 4: did it fail because it didn’t understand?

This was my own extension. When Gemma doesn’t refuse a harmful Bengali prompt, there are two possible reasons:

  • Comprehension: it doesn’t understand the Bengali well enough to notice the harm.
  • Recognition: it understands, but the understanding doesn’t trigger refusal.

To measure comprehension without asking for harmful text, I gave the model each Bengali prompt and four English sentences, and asked which one has the same meaning. The three wrong options are other harmful prompts, so “which one sounds harmful” doesn’t give away the answer. I read the model’s choice from the probabilities of the letters A to D and averaged over two option orders.

C1 testrefusednot refusedrefusal rate
understood40216171.4%
not understood6366.7%

572 Bengali harmful prompts. “Understood” = the model picked the right English meaning out of four options. Fisher’s exact test: p = 0.72.

Each prompt’s activation along the English refusal direction (before the model writes anything)

-202060100refused, understoodn = 402, mean 69.8not refused, understoodn = 161, mean 26.8not understoodn = 9, mean 45.5
Figure 8. Understanding (multiple-choice test) vs refusal, and each prompt's activation along the English refusal direction.Measured on Gemma-2-2B-it
Takeaway: Gemma picks the right meaning for 98% of the Bengali harmful prompts, including most of the ones it doesn't refuse. Those prompts have a much weaker activation along the refusal direction.
  • Gemma picks the right English meaning for 98.4% of the Bengali harmful prompts. When the prompt is shown in English instead, it scores 95.8%, so the task isn’t harder in Bengali.
  • Only 9 prompts count as “not understood”. With so few, the comparison of refusal rates (71.4% vs 66.7%, p = 0.72) can’t tell the two explanations apart.
  • Among prompts it understood, the activation along the English refusal direction averages 69.8 when the model refused and 26.8 when it didn’t.
  • A logistic regression with comprehension, translation quality and prompt length explains almost none of the refusals (pseudo-R² = 0.007), and no predictor’s 95% interval excludes zero.

One caveat for this test: the letters A to D get only about 37% of the model’s first-token probability on harmful items, so the multiple-choice answer is a weaker signal than the 98% suggests.

The projection also works as a detector before the model writes anything:

Task (projection on the English direction, layer 15)AUROCThe probability that a randomly chosen positive example gets a higher score than a randomly chosen negative one. 0.5 is chance, 1 is perfect separation., EnglishAUROC, Bengali
Harmful vs harmless prompt0.9990.983
Refused vs not refused (harmful prompts)0.7390.922

For English, only 32 harmful prompts were not refused, so that number is less certain.

What the data supports

  • Gemma-2-2B refuses harmful requests less often in Bengali (71%) than in English (94%), measured on the same 572 prompts.
  • The refusal direction found on English prompts controls refusal in Bengali: removing it brings Bengali refusals to 1%, adding it makes Gemma refuse all 100 harmless Bengali prompts, and a random direction does neither.
  • A direction computed from Bengali prompts is nearly parallel to the English one in the middle layers (0.90 at the layer used), and harmful and harmless prompts are less separated in Bengali.
  • These three results point the same way as Wang et al.’s findings for 14 other languages.
  • For the harmful Bengali prompts Gemma didn’t refuse, my multiple-choice test found no sign that it misunderstood them, but this test is too easy to decide between the comprehension and recognition explanations.

What I can’t say yet

  • One small model. Everything is measured on Gemma-2-2B. Wang et al. used larger models such as Gemma-2-9B.
  • Machine translation. A native speaker hasn’t checked the translations yet. A softened translation would look like a safety failure.
  • Automatic refusal measures. The phrase lists and refusal tokens are my first choice, not validated against hand labels. Some Bengali phrases, such as “দুঃখিত” (“sorry”), also appear in harmless replies.
  • One random direction as a control, and no confidence intervals on the intervention results.
  • The comprehension test needs to be harder, with distractors that are closer in meaning, before it can answer the question of Finding 4.