Abliteration, explained. How a refusal is removed.
In most chat models, refusing is carried by a single direction inside the network. Abliteration finds that direction and edits it out of the weights. No retraining.
Abliteration removes a model's refusals by finding the one direction inside it that carries them and editing that direction out of the weights.
The idea# link
Abliteration is a way of making a language model stop refusing without training it. You find the pattern of internal activity that appears when the model is about to refuse, and you edit the weights so that the model can no longer produce that pattern. Everything else it knows is left as it was.
The name blends "ablation", the term for switching part of a network off, with "obliterate". Models made this way carry it in their names: -abliterated.
The finding behind it# link
The method comes from a 2024 paper, Refusal in Language Models Is Mediated by a Single Direction (Arditi and colleagues, NeurIPS 2024). They examined 13 open chat models, up to 72 billion parameters, and found the same thing in each: a single direction in the model's internal state that lights up for requests the model is going to refuse.
Two experiments showed it was the cause and not a side effect. Erase the direction, and the model answers requests it used to decline. Add it, and the model refuses harmless ones.
That is a surprising result. Refusing looks like a judgement, built from everything the model knows. Inside the network it behaves more like a switch.
How it is done# link
The recipe is short. Maxime Labonne's write-up from June 2024 turned it into something anyone with a GPU could follow, and the paper's authors published their code.
- Collect two lists of prompts. One the model refuses, one it answers. A few hundred of each.
- Record the model's internal state for both. Run every prompt and save the activations at each layer.
- Subtract the averages. The difference between the average "refused" state and the average "answered" state is a candidate refusal direction, one per layer.
- Keep the one that works best. Try each candidate and keep the direction whose removal stops the most refusals.
- Remove it. Either subtract it while the model runs, or make the change permanent by adjusting every weight matrix that writes into the model's internal state, so that none of them can write along that direction.
The permanent version is one line of linear algebra per matrix: W′ = W − r rᵀW, where r is the refusal direction scaled to length one. The result is saved as an ordinary model file that loads anywhere the original does.
Abliteration or fine-tuning# link
- What changes. Abliteration edits existing weights with arithmetic. Fine-tuning trains new ones on a dataset with the refusals deleted.
- What it needs. Abliteration: two prompt lists and an hour or so on one GPU. Fine-tuning: a curated dataset and a training run.
- What the result is like. An abliterated model keeps the voice and skills of the original. A fine-tune takes on the character of its dataset, for better or worse.
- How it fails. Abliteration can leave soft refusals: the model answers, then lectures. A fine-tune can drift from its base model or forget things it knew.
The two are often combined: abliterate, then fine-tune briefly to repair the damage.
What it costs# link
Removing a direction is not free. In Labonne's test the abliterated model scored lower than the original on every benchmark he ran. A short round of fine-tuning afterwards recovered most of the loss; the maths score did not come back.
The second cost is subtler. The direction that says "refuse this dangerous request" is the same one that says "be careful with this borderline one". Abliteration removes both. The model will not warn you when a warning would have been useful.
How much either matters depends on the model, the layer chosen and the care taken. Two abliterated versions of the same model can behave differently, which is why it pays to test one before you trust it.
What it does not do# link
- It adds no knowledge. If something was missing from the training data, the model still does not know it. It will only stop saying so.
- It does not undo a system prompt. Instructions placed in front of the conversation still steer the model.
- It does not remove outside filters. A service can run an abliterated model behind a moderation layer.
- It needs the weights. Only an open-weight model can be abliterated. A closed model behind an API can be edited by nobody but its owner.
Finding abliterated models# link
Look for the suffix. On Hugging Face, search a model's name with "abliterated"; the huihui-ai and mlabonne accounts publish builds of most popular open models. On Ollama they sit under huihui_ai/, for example ollama run huihui_ai/qwen3-abliterated.
From there: how to run one locally, or which uncensored LLMs are worth running. If you would sooner not run anything, one uncensored model, served from our own GPUs, answers in the browser.
Questions# link
Who invented abliteration?
The finding is from Andy Arditi and colleagues, published in 2024. The name and the first practical tools came from the open-source community, notably FailSpy's abliterator library and Maxime Labonne's step-by-step write-up.
Is an abliterated model the same as an uncensored one?
It is one kind. Uncensored describes the behaviour; abliteration is one of the two common ways to get it. The other is fine-tuning on data with the refusals removed.
Can any model be abliterated?
Any model whose weights you can download. The original paper tested 13 open chat models and found the refusal direction in every one, but results vary by model and by how carefully the direction is chosen.
Is an abliterated model worse than the original?
Usually a little, on benchmarks, unless it was fine-tuned afterwards to recover. The gap is often small next to the gap between model sizes.
- What is an uncensored LLM?Where refusals come from, how they are removed, and what the word does not promise.
- The best uncensored LLMsHosted, Dolphin, abliterated builds and Hermes, sorted by the hardware you have.
- Uncensored LLM APIWhat to check before you build on one, then working code for the OpenAI SDK.
- Run one locallyThe VRAM each size needs, Ollama, LM Studio and llama.cpp, and the honest limits.