How abliteration works
Abliteration finds the single direction in a model’s activations that drives refusals and ablates it from the weights, so the model stops refusing without any retraining. Arditi et al. showed that such a direction exists in 13 open chat models up to 72B parameters (NeurIPS 2024, arXiv 2406.11717). Abliterated builds such as abliterated-model and glm-5.3-abliterated are served at https://api.uncensoredllm.ai/v1.
The method, step by step
- Two prompt sets. Gather instructions the model refuses and comparable ones it answers.
- Record activations. Run both sets through the model and read the residual stream (the running hidden state between layers) at a chosen layer and token position.
- Find the direction. The difference between the mean activation on refused prompts and on answered prompts is the refusal direction.
- Remove it from the weights. Orthogonalize every matrix that writes into the residual stream against that direction, so the model can no longer express it.
- Check the result. Measure refusals again, and check that ordinary capability held.
The paper also shows the reverse: adding the direction makes a model refuse harmless requests. That is the evidence that this one direction mediates the behaviour.
Abliteration, fine-tuning and prompt jailbreaks
| Abliteration | Uncensoring fine-tune | Prompt jailbreak | |
|---|---|---|---|
| What changes | The weights, by one projection | The weights, by training on new data | Nothing; only the prompt |
| Cost to produce | Minutes to hours on one GPU | A training run with data | None |
| Holds across prompts | Yes | Yes | Breaks when the wording or the model changes |
| Side effects | Some capability loss on some models | Can shift style and knowledge | None on the model |
What it can cost
Removing a direction isn’t free on every model. Some abliterated builds score lower on reasoning or follow instructions less well, and some keep refusing a narrow set of requests through other mechanisms the single direction doesn’t capture. Some builds get a short fine-tune afterwards to recover quality. That’s why we test each build daily on the real-model check instead of assuming abliteration behaves the same everywhere.
Sources
- Arditi, Obeso, Syed, Paleka, Panickssery, Gurnee, Nanda, “Refusal in Language Models Is Mediated by a Single Direction”, NeurIPS 2024, arXiv:2406.11717.
- The authors’ code: github.com/andyrdt/refusal_direction.
- Maxime Labonne, “Uncensor any LLM with abliteration”, Hugging Face blog, 2024, the write-up that made the term common.
Abliteration: questions
Does abliteration make a model less capable?
Sometimes a little, and it varies by model and by how the edit was made. Test the specific build on your own tasks rather than relying on a general rule.
Can an abliterated model still refuse?
Yes, occasionally. The edit removes the main refusal direction, but some refusals run through other features. A build that refuses something you need is a reason to try another build.
Is abliteration the same as fine-tuning a model to be uncensored?
No. Abliteration subtracts one direction from the existing weights with no training data. An uncensoring fine-tune trains the model on new examples, and that can change much more than refusals.