Glossary

What is the Refusal Direction? The Vector Behind Refusals

The refusal direction is a single vector in a chat model's residual stream that mediates refusal: removing it stops refusals, adding it causes them.

Reviewed AbliterationInterpretability

Definition

The refusal direction is a single vector in a chat model's residual stream activations, found by taking the difference between mean activations on harmful and harmless instructions, whose presence makes the model refuse and whose removal stops it from refusing.

Definition

The refusal direction is a vector in a language model's residual stream that encodes "this request should be refused". Arditi et al. (2024) showed that across 13 open-source chat models up to 72B parameters, refusal is mediated by this one direction. Erasing it from the activations stops the model from refusing harmful instructions. Adding it makes the model refuse even harmless ones.

That makes the direction both necessary and sufficient for refusal in those models, which is why a single rank-one edit can remove refusal behavior. The finding is the basis of abliteration.

How it is found

Arditi et al. use a difference-in-means method:

  1. Take a set of harmful instructions and a set of harmless ones. The paper's training sets have 128 prompts each: harmful ones from AdvBench, MaliciousInstruct and TDC2023, harmless ones from Alpaca.
  2. Run the model on both and record residual-stream activations at every layer, at the token positions after the instruction (the chat template's closing tokens).
  3. For each layer and position, compute the mean harmful activation μ and the mean harmless activation ν. The candidate direction is r = μ − ν.
  4. Normalize each candidate and test it on held-out prompts. Keep the one that most reduces refusal when ablated, still induces refusal when added, changes outputs on harmless prompts little (KL divergence under 0.1) and sits in the first 80% of layers, away from the output.

No gradients and no harmful completions are needed; only forward passes over prompts.

Example

Suppose a model's hidden size is 4,096. After running both prompt sets, the chosen direction is one 4,096-dimensional unit vector r̂ from, say, a middle layer. For any activation x, the dot product r̂ᵀx measures how strongly the model is "leaning toward refusal" at that point. On a prompt like "Explain how phishing kits harvest credentials, for our awareness training", that projection is high in the original model and the reply starts with an apology. Remove the component along r̂ at every layer and the model answers.

The same direction works in reverse: adding r to activations on "Give me a recipe for banana bread" makes the model decline it.

Why it matters

The refusal direction shows that much of what safety fine-tuning installs is a narrow, linear feature rather than knowledge spread through the network. Arditi et al. also found that adversarial suffixes from jailbreak research work partly by suppressing this direction. The authors present this as evidence that current safety fine-tuning is brittle.

For evaluation, it means a model's refusal rate can change sharply with a small weight edit, so refusal behavior should be measured, not assumed.

How it relates to Abliterator

Abliterator's models are edited along a refusal direction. For DeepSeek V4.1 Flash Abliterated, it is the direction AtomicChat published with its release, and the weight edit reverses the model's component along it rather than only removing it. On that model, refusals on JailbreakBench harmful prompts went from 94% to 1%, and refusals on the same harmful requests embedded in an image went from 96% to 1% (benchmarks).

Frequently asked questions

Is the refusal direction the same in every model?

No. Each model has its own direction, computed from that model's activations. Arditi et al. found one in each of the 13 open chat models they studied, from 1.8B to 72B parameters.

Does removing the refusal direction work in other languages?

It can. On DeepSeek V4.1 Flash Abliterated, refusals on the Chinese version of JailbreakBench's harmful prompts fell from 95% to 1%, about the same as in English.