What matters in AI.

Subscribe

Learn / AI security

Definition · AI security

Refusal direction

A refusal direction is one direction in the internal activations of a chat model. It controls if the model refuses an instruction. Arditi and colleagues found it in 13 open chat models in 2024. When you remove the direction, the model does not refuse harmful instructions. When you add it, the model refuses harmless instructions.

Last reviewed

Key points

  • A refusal direction is one vector in the residual stream of a model. Its strength sets if the model refuses.
  • Arditi and colleagues (NeurIPS 2024) found it in 13 open chat models of 72B parameters or less.
  • An edit of the weights removes the direction. This white box jailbreak costs less than $5 of compute on a 70B model.
  • The attack needs the model weights. It is a risk for open weight models, not for a closed model behind an API.
  • The single direction is contested. Wollschläger and colleagues (ICML 2025) found many independent directions.

How a refusal direction is found and used

An activation is a set of numbers that a transformer sends from layer to layer. Arditi and colleagues find the direction in four steps:

  1. Give 128 harmful and 128 harmless instructions to the model.
  2. Calculate the mean activation of each set, at each layer and token position.
  3. Subtract the harmless mean from the harmful mean. Each result is a candidate direction.
  4. Test each candidate on 32 new instructions of each type. Keep the candidate that stops and starts refusal best.
The refusal direction is the difference between the mean activations on harmful and harmless instructions.
The refusal direction is the difference between the mean activations on harmful and harmless instructions.

The paper uses the direction in three procedures:

Procedure Change Result
Directional ablation Remove the direction from the activations The model obeys harmful instructions
Activation addition Add the direction to the activations The model refuses harmless instructions
Weight orthogonalization Edit the model weights A permanent white box jailbreak

Activation addition is a type of steering vector. A June 2024 guide by Maxime Labonne calls the weight edit abliteration.

Why the refusal direction is a security problem

Arditi and colleagues tell that their result shows a brittle safety fine tuning. Four facts for a security team:

  • Cost. The weight edit can jailbreak a 70B model for “less than $5 of compute”.
  • Function kept. Most benchmark scores stay in the 99% confidence intervals of the initial model. Qwen 7B and Yi 34B do not, and TruthfulQA scores fall in all models.
  • Access. The attacker must have the weights. The risk is for each open weight model.
  • Prompt attacks. On one model, an adversarial suffix “heavily suppressed” the refusal direction.

Defences against removal of the refusal direction

Researchers use the direction to train models against jailbreaking and against abliteration. These two defences are research results, not standards:

  • Refusal feature adversarial training (ReFAT). Yu and colleagues (2024) remove the refusal direction in training to copy the effect of input attacks. They report “considerably less computational overhead” than other adversarial training.
  • Extended refusal. Abu Shairah and colleagues (preprint, 2025) train models to tell why they refuse, before the refusal. This puts the refusal signal on more tokens.
Model set (Abu Shairah et al., 2025) Fall in refusal rate after abliteration
Baseline models 70 to 80%
Llama-2-7B-Chat, Qwen2.5-Instruct 1.5B and 3B, with extended refusal at most 10%

The test set of that paper is small: three models of 7B parameters or less.

Where research disagrees: one direction or many

The single direction is not settled.

  • One direction. Arditi and colleagues found one good direction in each of 13 models. They tell that the paper is “an existence proof that such a direction exists”, not a full map of refusal.
  • Many directions. Wollschläger and colleagues (ICML 2025) find “multiple independent directions” and “multi-dimensional concept cones” that control refusal. They also show that two directions at right angles can have an effect on each other.

For a security team, the second result shows a limit. A defence or a test that examines only one refusal direction can miss a part of how the model refuses. The two papers use methods of mechanistic interpretability.

Questions and answers

Can an attacker remove the refusal direction of ChatGPT or Claude?

Not with this method. The method changes the activations or the weights of a model. Thus the attacker must have the weights. Arditi and colleagues tested it only on open chat models. A closed model behind an API does not give that access.

Is a refusal direction the same as abliteration?

No. The refusal direction is the internal vector. Abliteration is the removal of that vector from the weights. A June 2024 Hugging Face guide by Maxime Labonne uses this name.

Does each model have only one refusal direction?

The research does not agree. Arditi and colleagues found one good direction in each of 13 open chat models. Wollschläger and colleagues (ICML 2025) found many independent directions and cones of directions that also control refusal.

Sources

  1. Refusal in Language Models Is Mediated by a Single DirectionarXiv (Arditi et al.), 30 Oct 2024
  2. Refusal in Language Models Is Mediated by a Single Direction (NeurIPS 2024 proceedings)NeurIPS, 1 Jan 2024
  3. Refusal in Language Models Is Mediated by a Single Direction (v3, full text)arXiv (Arditi et al.), 30 Oct 2024
  4. The Geometry of Refusal in Large Language Models: Concept Cones and Representational IndependencePMLR 267 (ICML 2025), 1 Jan 2025
  5. Robust LLM safeguarding via refusal feature adversarial trainingarXiv (Yu et al.), 20 Mar 2025
  6. An Embarrassingly Simple Defense Against LLM Abliteration AttacksarXiv (Abu Shairah et al.), 7 Oct 2025
  7. Uncensor any LLM with abliterationHugging Face blog (Maxime Labonne), 13 Jun 2024

In the news