What Is Abliteration? Refusal Directions, Weight Orthogonalization, and What Changes in an Abliterated Model
Where the term comes from The research basis is Arditi et al., Refusal in Language Models Is Mediated by a Single Direction (arXiv:2406.11717, 2024). The authors report that across 13 popular open-source chat models up
Where the term comes from
The research basis is Arditi et al., Refusal in Language Models Is Mediated by a Single Direction (arXiv:2406.11717, 2024). The authors report that across 13 popular open-source chat models up to 72B parameters, refusal is mediated by a one-dimensional subspace of the residual stream:
- Erasing that direction from the model's activations stops it refusing harmful instructions.
- Adding it makes the model refuse even harmless ones.
They present this as an interpretability finding, and they note it shows how brittle safety fine-tuning can be.
The community name "abliteration" combines ablation (removing a component) and obliteration. You'll also see "obliterated" in some checkpoint names. It means the same thing and is usually a play on the word or a misspelling.
Two pieces of open work made the technique widely known:
- FailSpy's abliterator, an early public implementation.
- Maxime Labonne's tutorial, Uncensor any LLM with abliteration (June 2024), which walks through the method on Llama 3 8B Instruct with code.
How abliteration works, step by step
The procedure in the Arditi paper and the Labonne tutorial has four parts.
1. Collect activations on two prompt sets. Run the original model on a set of instructions it refuses and a matched set it answers. Record the residual-stream activations at the last token position for each prompt, at each layer.
2. Take the difference in means. For each layer, subtract the mean activation on the answered set from the mean activation on the refused set. The result is a candidate refusal direction for that layer. Arditi et al. call this difference-in-means.
3. Pick one direction. Normalize the candidates and evaluate them. Keep the single direction that best suppresses refusal when it's removed and best induces refusal when it's added, while changing the rest of the model's behavior least.
4. Remove it. There are two ways to do this:
- Inference-time intervention (directional ablation). At every layer and token, subtract the projection of the activation onto the refusal direction. The model is unchanged on disk, but the edit has to run on every forward pass.
- Weight orthogonalization. Edit the matrices that write to the residual stream, such as the embedding, attention-output and MLP-output projections, so they can no longer write along the refusal direction. This is permanent. The output is a normal checkpoint you can quantize, upload and serve like any other.
In symbols, for a unit refusal direction rΜ and an activation x, directional ablation computes x β (rΜΒ·x) rΜ. Weight orthogonalization applies the same projection to the output side of each writing matrix, so the result is baked in.
When a repository on the Hub has "abliterated" in its name, it almost always means the weight-orthogonalized version.
What abliteration is not
People search for abliteration alongside three other things. They're different artifacts, and a security or procurement review should be able to tell them apart.
| Technique | What changes | Persists without the prompt? | Typical side effects |
|---|---|---|---|
| Jailbreak prompt | Text added to the conversation | No. It has to be resent and can stop working | Brittle; varies with the prompt |
| "Uncensored" fine-tune | Many weights, via gradient training on new data | Yes | Can shift tone, style and knowledge; quality depends on the dataset |
| RLHF / preference re-training | Many weights, via preference optimization | Yes | Expensive; needs labelled preference data |
| Abliteration (weight orthogonalization) | The output side of writing matrices, projected away from one direction | Yes | Usually small, but measurable, drift on capability benchmarks |
Two clarifications help:
- Abliteration doesn't add knowledge. It removes a learned tendency to refuse. If the base model didn't know something, the abliterated model doesn't either.
- Abliteration doesn't remove external controls. Input and output filters, API-level policies, and the organizational scope around a deployment are separate layers, and an abliterated model sits behind them like any other model.
I wrote a longer comparison for security teams in Abliterated vs Uncensored vs Jailbroken: What Security Teams Actually Need.
What changes in an abliterated model
The honest answer is "less than a fine-tune, more than zero, and it depends on the model."
- Refusals go down, but not always to zero. The NousResearch llm-abliteration README says plainly that abliteration does not guarantee full removal of censorship. A model can still decline prompts that fall outside the refusal behavior captured by the prompt sets used to find the direction.
- General capability can drift. Labonne's tutorial reports a performance drop across benchmarks for the abliterated Llama 3 8B Instruct compared with the source model. It then uses a DPO fine-tuning pass to recover much of the loss. Arditi et al. describe the edit as having minimal effect on other capabilities in their tests. Both statements can be true for different models and setups, which is exactly why you measure.
- "One direction" is a simplification. WollschlΓ€ger et al., The Geometry of Refusal in Large Language Models: Concept Cones and Representational Independence (ICML 2025), find multiple independent refusal directions and multi-dimensional "concept cones" that mediate refusal. A single difference-in-means vector can't capture all of that, so different abliteration methods reach different results on the same base model.
Variants you will see on the Hub
The basic method has been refined in public, and checkpoint names often hint at which variant was used:
- Norm-preserving biprojected abliteration. Described in grimjim's Hugging Face post. It adjusts the projection and restores the original weight-row magnitudes, to reduce collateral damage.
- Heretic (p-e-w/heretic). Automates the search for abliteration parameters, so you'll see "heretic" in some model names.
- Layer-selective tooling such as NousResearch's llm-abliteration. It measures refusal directions per layer and lets you choose which layers to edit.
None of these change the basic idea: find what the model writes when it is about to refuse, and stop it writing that.
How to evaluate an abliterated model
Treat an abliterated checkpoint as a new model, not as "the base model minus refusals." A minimal evaluation:
- Run the same task set on the base and the abliterated model. Use tasks you actually care about, such as code review, summarization or analysis of material you already hold. Record pass/fail, not impressions.
- Measure refusals separately from quality. A refusal rate tells you whether the edit worked. It says nothing about whether the answers are correct.
- Check drift. Compare outputs on ordinary prompts the base model already answered well. Distribution measures such as KL divergence are a useful signal, but they aren't a complete quality score.
- Write down the method. Record which variant, which layers, and which prompt sets, if the publisher says. Unexplained "uncensored" labels are not a specification.
Using an abliterated model responsibly
Abliteration makes a model more willing to answer. It doesn't make a request authorized. Teams using these models for security research, red teaming or evaluation still need written scope, access control and logging around the model. Those controls belong in the deployment, not in the weights.
If you'd rather call an abliterated model than host one, several providers serve them behind standard APIs. Disclosure: I work at CommentLLM, a hosted, OpenAI- and Anthropic-compatible API for abliterated open-weight models, built for authorized security work. As of 23 November 2026 it serves two preview models, qwen3.8-27b-abliterated and deepseek-v4.1-flash-1017-abliterated. Whichever route you pick, the evaluation steps above still apply.
FAQ
What is abliteration in one sentence?
Abliteration is a weight edit that removes the "refusal direction" from an open-weight language model so it refuses less, without retraining.
Is an abliterated model the same as an uncensored model?
Not necessarily. "Uncensored" is a label, and it's often applied to models fine-tuned on new data. "Abliterated" names a specific technique: projecting a refusal direction out of the weights.
Is abliteration a jailbreak?
Arditi et al. describe it as a white-box jailbreak method, but the result is different from a jailbreak prompt. The change lives in the weights and doesn't depend on any particular conversation text.
Does abliteration make a model smarter?
No. It removes a learned refusal behavior. It doesn't add knowledge, and it can slightly reduce performance on some benchmarks.
Can abliteration be undone?
The original weights are unchanged wherever they're stored, so you can always go back to the base model. An abliterated checkpoint is a separate file.
Who invented abliteration?
The underlying finding and the directional-ablation method come from Arditi et al. (2024). "Abliteration" is the community name popularized by FailSpy's implementation and Maxime Labonne's tutorial.
Sources
- Arditi, Obeso, Syed, Paleka, Panickssery, Gurnee, Nanda. Refusal in Language Models Is Mediated by a Single Direction. arXiv:2406.11717 (2024). https://arxiv.org/abs/2406.11717
- Maxime Labonne. Uncensor any LLM with abliteration. Hugging Face blog, June 2024. https://huggingface.co/blog/mlabonne/abliteration
- FailSpy. abliterator. https://github.com/FailSpy/abliterator
- NousResearch. llm-abliteration. https://github.com/NousResearch/llm-abliteration
- grimjim. Norm-Preserving Biprojected Abliteration. https://huggingface.co/blog/grimjim/norm-preserving-biprojected-abliteration
- p-e-w. Heretic. https://github.com/p-e-w/heretic
- WollschlΓ€ger et al. The Geometry of Refusal in Large Language Models: Concept Cones and Representational Independence. ICML 2025, arXiv:2502.17420. https://arxiv.org/abs/2502.17420
Aljay Miskino is VP of Partnerships at CommentLLM, a hosted, OpenAI- and Anthropic-compatible API for abliterated open-weight models, built for authorized security work. Current model rates are on the CommentLLM pricing page. Not affiliated with the 2025 ByteDance research system of the same name.
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.