Glossary

What is Abliteration? Removing the Refusal Direction

Abliteration removes a language model's refusal behavior by finding the refusal direction in its activations and projecting it out of the weights.

Reviewed AbliterationInterpretability

Definition

Abliteration is a technique that removes a language model's learned refusal behavior by estimating the single activation direction that mediates refusal and projecting that direction out of the model's weights, without retraining.

Definition

Abliteration is a way to stop a chat model from refusing requests by editing its weights directly. It finds the direction in the model's internal activations that corresponds to "refuse this request" and removes the model's ability to write along that direction. The rest of the model's training and knowledge stays in place.

The word is a blend. FailSpy, who released some of the first abliterated models on Hugging Face in May 2024, explained it on the model card for Meta-Llama-3-8B-Instruct-abliterated-v3 as "Ablate + obliterated = Abliterated", a coinage meant to tell these models apart from "uncensored" fine-tunes. Maxime Labonne's Hugging Face article Uncensor any LLM with abliteration (June 13, 2024), based on FailSpy's notebook, made the term widely known.

The method comes from research by Andy Arditi, Oscar Obeso, Aaquib Syed, Daniel Paleka, Nina Panickssery, Wes Gurnee and Neel Nanda: Refusal in Language Models Is Mediated by a Single Direction (arXiv 2406.11717, NeurIPS 2024). A first version appeared on the AI Alignment Forum on April 27, 2024. The paper itself calls the operation directional ablation and never uses the word "abliteration".

How it works

  1. Collect activations. Run the model on a set of harmful instructions and a set of harmless ones, and record the residual stream activations at each layer. Arditi et al. used 128 of each for training.
  2. Compute candidate directions. For each layer and token position, subtract the mean harmless activation from the mean harmful activation. The difference is a candidate refusal direction.
  3. Pick one. Test the candidates and keep the one that best removes refusal on held-out harmful prompts while changing behavior on harmless prompts the least.
  4. Edit the weights. Apply weight orthogonalization: subtract from every matrix that writes to the residual stream its component along the direction. The model can no longer represent it.

The result is an ordinary checkpoint. It needs no special runtime hooks and serves on standard inference stacks.

Example

Ask an instruction-tuned model how a known piece of ransomware achieves persistence, for a detection rule, and it may reply that it can't help with malicious software. After abliteration, the same model on the same prompt explains the registry keys and scheduled tasks involved, because the internal signal that would have produced the refusal can no longer form.

Side effects vary by model and by care in the process. Arditi et al. found MMLU, ARC and GSM8K scores barely moved on most of their 13 models, while TruthfulQA dropped by 1.0 to 3.5 points. Labonne saw scores fall across the board on an 8B model and recovered most of the loss with a DPO pass.

How Abliterator uses it

Abliterator serves two abliterated models through an OpenAI- and Anthropic-compatible API. On DeepSeek V4.1 Flash Abliterated, refusals on JailbreakBench harmful prompts fell from 94% to 1% while reasoning, math and vision scores stayed within noise; MMLU-Pro dropped 0.8 points, the one statistically clear loss (benchmarks). On Kimi K3.1 Pro Abliterated, JailbreakBench refusals fell from 94% to 3% and GPQA Diamond went from 93.1 to 92.8, but Terminal-Bench 4.0 fell from 68.8 to 56.3, a drop on agentic coding that is plausible but not statistically shown (model card).

Abliterator's edit differs from the textbook version in one way: for DeepSeek V4.1 Flash Abliterated, each matrix W that writes to the residual stream became W − 2 r rᵀ W, which reverses the component along the refusal direction instead of only removing it. 15,442 matrices were edited and quantized back to the official format, and every other byte matches the official checkpoint. The weights are not released; both models are available only through the API.

Abliteration removes refusals, not the law or the acceptable use policy. For a longer explanation, see what is abliteration and does abliteration hurt performance.

Frequently asked questions

Who coined the term abliteration?

The Hugging Face user FailSpy, who published abliterated Llama 3 models in May 2024 and described the name as a play on words: ablate plus obliterated. The underlying method comes from Arditi et al., whose paper calls the operation directional ablation.

Does abliteration retrain the model?

No. It is a closed-form edit to the weights: no gradient descent and no harmful training examples. Some practitioners follow it with a light fine-tune to recover quality, as Maxime Labonne did with DPO in a 2024 guide.