What is a refusal direction?
One vector inside a language model that determines whether it refuses. Explained from linear-algebra beginner's level up. Includes the math, the diagram, the seven documented extraction methods, and the four-group dispute over whether refusal is really just one direction.
A refusal direction is a vector in a language model's internal activation space. When the model's state has a large component along this direction, the model refuses; when the state is orthogonal to it, the model complies. Arditi et al. (2024) showed that this direction exists for every open-source chat model tested. Since then, seven methods have been documented for extracting it, and four research groups have argued that the geometry of refusal is richer than one line through the origin (an affine offset, concept cones, multiple directions) - though Joad et al. observe that all directions move the same refuse-or-comply lever.
- What a direction means inside a language model (no linear algebra assumed)
- How the refusal direction is found (difference-of-means and six other methods)
- The catalog distribution of extraction methods (theory ahead of practice)
- What happens when you remove it (abliteration)
- The four-group dispute: cones, affine offsets, SOM, RFM-AGOP
- Where the concept came from (Arditi 2024) and where it is going
The short answer
A refusal direction is a vector inside a language model. Not a rule the model follows, not a phrase it emits - a direction in the mathematical sense, a line pointing one way through the very high-dimensional space where the model keeps its internal state as it processes text. When the model's state has a large component along this direction, the model will refuse the request. When the state has no component along the direction, the model will comply. The direction is what determines the outcome.
The concept came from a 2024 paper by Andy Arditi and colleagues, Refusal in Language Models Is Mediated by a Single Direction, published at NeurIPS 2024. Its central empirical claim: across 13 open-source chat models up to 72B parameters, refusal is mediated by one such direction per model. Erasing that direction from the model's stored weights stops the model from refusing. Adding a component along it makes the model refuse even harmless prompts.
The word abliteration refers to the procedure that removes this direction from the model's weights. See our what-is-abliteration article for the general reference and the Arditi method article for the historical account of the paper.
What a direction means inside a language model
Language models represent everything - the current word, the meaning of the sentence, what to say next - as long lists of numbers. These lists live in a mathematical space with thousands of dimensions per model (4,096 for Llama-3 8B, 8,192 for Llama-3 70B, and so on). Every internal state the model computes as it processes text is one point in that space. A model's "thinking" is a trajectory through the space, one point per computation step.
A direction in this space is what you would expect from the geometric analogy: a line pointing one particular way. But because the space has thousands of dimensions, most directions have no human-readable meaning. What interpretability research has found is that some directions appear to correspond to specific human-recognizable concepts. There is a direction (roughly) for "gender." The model's state at any moment can be decomposed along such directions - so much of one property, so much of another.
The Arditi paper's finding is that refusal is one such concept. It has its own direction, per model. And the direction is not distributed across many features in some abstract way - it is a single, findable, editable axis.
How the refusal direction is found
The technique is called difference-of-means. It is disarmingly simple.
The practitioner gathers two matched sets of prompts. One set contains harmful instructions - the kind that reliably trigger the model's refusal template ("I cannot help with that"). The other set contains harmless instructions of comparable length and style. Arditi et al. drew harmful instructions partly from AdvBench and harmless ones from Alpaca.
The model is run over both sets, and its internal state is recorded at the moment it is about to respond. For each layer of the model, the practitioner computes the mean of the internal states over harmful prompts, and the mean over harmless prompts. The difference between these two means, normalized, is the refusal direction for that layer:
# refusal direction =
# mean(harmful) - mean(harmless),
# normalized to unit length.
#
# no training. no gradient descent.
# just two averages and a subtraction.
harmful_states = [
model(p).hidden_states[LAYER][-1]
for p in ADVBENCH # 128 train prompts in Arditi
]
harmless_states = [
model(p).hidden_states[LAYER][-1]
for p in ALPACA # 128 train prompts in Arditi
]
diff = (
torch.stack(harmful_states).mean(0)
- torch.stack(harmless_states).mean(0)
)
refusal_direction = diff / diff.norm()
# points from "about to comply"
# toward "about to refuse." The formula: refusal direction equals mean of harmful activations, minus mean of harmless activations, normalized to unit length. That is the whole extraction. No training, no gradient descent, no optimization - just two averages and a subtraction.
Why it works: on average, the harmful prompts move the model's state toward the refusal direction (that is how they trigger refusals), and the harmless prompts do not. So the difference of the two average states, pointing from "compliant" to "refusing," is the direction that moves the model between those two behaviors.
Implementations pick the layer differently: Sumandora's script hard-codes 60% depth; Labonne's notebook extracts a candidate from every layer and picks the best; Heretic (v1.x) uses an optimizer to search per-layer ablation weights automatically.
Seven documented extraction methods
Difference-of-means is the foundational method, but it is not the only one. The academic literature that has grown around Arditi 2024 has produced several other geometrical procedures for finding refusal representations. They differ in how they turn the harmful-vs-harmless contrast into a direction, or into a set of directions. All of them start from a contrast between two sets of activations; the disagreements are about what to do with the raw signal.
| Method | Year | Primary source | Feeds catalog | Models in catalog |
|---|---|---|---|---|
| Contrastive Activation Addition caa | 2023 | Panickssery (Rimsky) et al. | M2 | - |
| Difference-of-means diff-of-means | 2024 | Arditi et al. | M1,M2 | 8,514 (39.6%) |
| Affine Concept Editing (ACE) affine-decomp | 2024 | Marshall, Scherlis, Belrose (EleutherAI) | M1,M2 | - |
| huihui-ai layer-band extraction huihui-layer-band | 2026 | huihui-ai | M3 | 190 (0.9%) |
| PCA/SVD on activation differences pca-svd | 2025 | Abbas et al. | M2 | - |
| Self-Organizing Maps som | 2026 | Piras, Mura, Brau, Oneto, Roli, Biggio (University of Cagliari and University of Genova) | M2 | - |
| Recursive Feature Machines with AGOP rfm-agop | 2026 | Winninger | M2 | - |
Theory has run ahead of practice
The distribution above is one useful angle on the state of the field. Seven methods are listed in our extraction-methods table; our extraction classifier assigns only two of them, the huihui-ai layer-band variant and difference-of-means (the Arditi default that Heretic v1.x uses), so these two account for all classified models in our catalog. The remaining five methods - Affine Concept Editing, PCA/SVD extraction (used, for example, as an analysis tool in a latent adversarial training study), RFM-AGOP, Self-Organizing Maps, and CAA-style contrastive extraction - exist as papers, several with public research code, but no released model in our catalog is tagged as having been produced with them.
This is not a criticism. The academic methods appeared between 2023 and 2026, and academic time and production time are different clocks. RFM-AGOP was submitted in July 2026; SOM in November 2025; ACE in November 2024. Whether any of these five will end up in the production distribution a year from now, or whether difference-of-means will remain the dominant extraction for practical reasons (simplicity, speed, sufficient for most single-model pipelines), is an open question.
For a reader looking at the numbers above and drawing conclusions: the picture is not that the academic literature is idle, and not that production is inattentive to it. The picture is that this is a field where theoretical vocabulary is being built faster than production practice adopts it. Both movements are visible; they proceed on different timescales.
What happens when you remove it
Once you have the direction, you have two options. You can ablate it at inference time - install a hook that subtracts the direction's component from every internal state as the model runs. Or you can orthogonalize the weights themselves - edit every weight matrix that writes into the residual stream so that the matrix is mathematically incapable of producing any output along the refusal direction.
Arditi and colleagues show that the two operations are equivalent. The weight orthogonalization is what people mean when they say a model is "abliterated" - the modification is baked into the file, permanent, and travels with the model when it is distributed.
The empirical outcome: the model stops refusing. Prompts that previously produced "I cannot help with that" now produce substantive responses. On standard capability benchmarks (MMLU, ARC, GSM8K), the change is typically under 1% - the modification is surgical. The consistent exception is TruthfulQA, which drops on every model tested, by 1.0 to 5.9 points; Arditi et al. note that the dataset veers close to the territory of refusal, with categories including misinformation, stereotypes and conspiracies. This is the beginning of a longer story about what else the refusal direction was doing besides mediating refusal; see our Arditi method article for the follow-on work.
The dispute: one direction, or several?
The most contested point in the interpretability literature that grew up around the Arditi paper is whether refusal is really one direction. As of late 2026, four independent research groups have produced evidence that the geometry is richer than a single line - and a fifth (Joad et al.) has framed the finding in a way that reconciles both readings.
Marshall, Scherlis, and Belrose (EleutherAI, November 2024), in Refusal in LLMs is an Affine Function, propose an affine decomposition of activation space: refusal is not a line through the origin but a direction plus an offset, and correct intervention treats both.
Wollschläger and colleagues (ICML 2025), in The Geometry of Refusal in Large Language Models, use a gradient-based extraction method (rather than difference-of-means) and argue that refusal is mediated not by one direction but by multiple independent directions forming multi-dimensional concept cones. Orthogonality between directions, they note, does not guarantee they act independently. If the finding holds, single-direction ablation removes only the dominant refusal channel and leaves others latent.
Piras and colleagues (University of Cagliari and University of Genova, AAAI 2026), in SOM Directions are Better than One, apply Self-Organizing Maps to harmful-prompt representations: each neuron on the map's two-dimensional lattice, minus the harmless centroid, gives a candidate refusal direction, and ablating several of them outperforms the single-direction baseline.
Winninger (ICML 2026 workshop), using Recursive Feature Machines with the Average Gradient Outer Product, reports concrete figures: Qwen 3 8B needs at least three directions ablated to reach a 50% attack-success threshold. In its Qwen 3 experiments, single-direction ablation was insufficient from 8B up.
Joad and colleagues (2026), in There Is More to Refusal in Large Language Models than a Single Direction, reach a compatible conclusion by decomposing refusal across eleven evaluation splits - and add a subtle observation that partially reconciles the debate: refusal has many directions, but they all move the same underlying refuse-or-comply lever. The multiple directions govern how the model refuses (the style, the register, the domain-specific templates), not whether it refuses. In this reading, both Arditi and the cone papers can be right at once: one behavioral control knob, several representational directions expressing it.
The dispute is unresolved. RFM-AGOP reports that single-direction ablation suppresses refusal in the smaller Qwen 3 models it tested but not from 8B up; on larger models, plan to either ablate multiple directions or use a tool that effectively does so. For a deeper treatment of the dispute and its consequences for method classification, see the dimensionality debate article.
What this means for practice
For a practitioner: single-direction abliteration can work cleanly on small models and produces a documented, mathematically clean edit. On models 8B and larger, plan to either ablate multiple directions or use a tool that effectively does so (Heretic v1.x's optimizer searches interpolated refusal directions and per-layer ablation weights, and v2.0.0 made Arbitrary-Rank Ablation its default; M3 layer-wise selection can also help). For fully removing refusal on a model where the cone finding applies, no single-direction method will suffice.
For an auditor: a model card that says "abliterated" usually means the producer applied single-direction removal to at least one direction. It does not mean the model has no remaining refusal capacity. Test the model's actual behavior on your target task; do not infer completeness from the label.
For a philosopher: the "refusal direction" is one of the more consequential technical concepts to emerge from interpretability research. It grounds the abliteration practice, it is contested at the geometric level, and it stands as evidence that trained moral dispositions in language models reduce to specific findable structures in activation space. Whether that is a comforting reduction or a disturbing one depends on your priors about what alignment training was doing.
Frequently asked questions
What is a refusal direction in an LLM?
A vector inside the language model's activation space. When the model's internal state has a large component along this vector, the model refuses the request. When the state is orthogonal to the vector, the model complies. Arditi et al. 2024 showed that this vector exists for every open-source chat model they tested and can be found via difference-of-means over harmful and harmless prompts.
How is the refusal direction found?
By difference-of-means. The practitioner runs the model over two matched prompt sets - harmful (which trigger refusals) and harmless (which do not) - and records the model's internal state at each layer. For each layer, they compute the mean of the harmful activations and the mean of the harmless activations, then subtract. The normalized difference is the refusal direction for that layer. No training, no optimization - just two averages and a subtraction.
Why does refusal collapse to one direction?
The interpretability field's answer draws on the "linear representation hypothesis": the idea that high-level concepts are represented linearly, as directions in a model's representation space. Refusal appears to be one such concept. The empirical fact is that difference-of-means extraction returns a direction whose removal reliably suppresses refusal on small-to-medium models. Why the representation is linear rather than more complex is an open question in interpretability research.
Is refusal really just one direction?
Contested. Wollschläger et al. (ICML 2025) argue refusal is mediated by multiple independent directions forming a multi-dimensional cone, not one line. The RFM-AGOP paper reports that Qwen3 8B needs at least three directions ablated to reach a 50% attack-success threshold. In that paper single-direction ablation sufficed for the smaller Qwen 3 models tested but not from 8B up. The field has not settled the question.
What happens when you remove the refusal direction?
The model stops refusing. Prompts that would previously produce refusal templates ("I cannot help with that") produce substantive responses instead. Standard capability benchmarks (MMLU, ARC, GSM8K) typically change by less than 1%. The consistent exception is TruthfulQA, which drops on every model Arditi et al. tested, by between 1.0 and 5.9 points. Arditi et al. attribute this to the dataset veering close to the territory of refusal (its categories include misinformation, stereotypes and conspiracies). Our own reading, not the paper's, is that the refusal direction is also entangled with the model's willingness to disagree with plausible falsehoods.
How is a refusal direction related to abliteration?
Abliteration is the procedure that finds and removes the refusal direction from a model's weights. It has three stages: collect activations (run the model over harmful and harmless prompts), extract the direction (difference-of-means), and orthogonalize the weights (edit every matrix that writes to the residual stream so it can no longer output along that direction). The technique was introduced by Arditi et al. 2024; the word was coined by the practitioner FailSpy.
Can I find the refusal direction myself?
Yes. Sumandora's remove-refusals-with-transformers script does the extraction in under 100 lines of Python. You need a chat/instruct model, ~32 harmful prompts (AdvBench works), ~32 harmless prompts (Alpaca works), and a GPU that can hold the model. See our M1 direct removal article for the code.
Do refusal directions differ between models?
Yes - every model has its own. The refusal direction for Llama-3 8B is a specific vector in Llama-3 8B's 4,096-dimensional activation space, and it is not the "same" direction as the one for Qwen2.5 32B (which lives in a different space with different geometry). A refusal direction cannot be applied directly to a model with a different activation space; each such model has to be extracted separately.
References
- Arditi, A., et al. (2024). Refusal in Language Models Is Mediated by a Single Direction. NeurIPS 2024. arXiv:2406.11717
- Wollschläger, T., et al. (2025). The Geometry of Refusal in Large Language Models. ICML 2025. arXiv:2502.17420
- Joad, F., Hawasly, M., Boughorbel, S., et al. (2026). There Is More to Refusal in Large Language Models than a Single Direction. EMNLP 2026. arXiv:2602.02132
- Winninger, T. (2026). Fast Multi-dimensional Refusal Subspaces via RFM-AGOP. Mechanistic Interpretability Workshop at ICML 2026. arXiv:2607.02396
- Panickssery, N., et al. (2023). Steering Llama 2 via Contrastive Activation Addition. arXiv:2312.06681
- Labonne, M. (2024). Uncensor any LLM with abliteration. mlabonne.github.io
- Sumandora. remove-refusals-with-transformers. github.com/Sumandora/remove-refusals-with-transformers
- AdvBench dataset (harmful prompts). huggingface.co/datasets/walledai/AdvBench