Orthogonalization
Orthogonalization is the step of abliteration that changes the weights. Each weight matrix that writes to the model's residual stream is adjusted so that its output has no component along the refusal direction.
Updated 24 November 2026The general meaning
Two directions are orthogonal when they are at right angles: moving along one does not move you along the other. To orthogonalize something against a direction is to subtract the part of it that points along that direction. What is left is at right angles to it.
Orthogonalization in abliteration
In abliteration, the direction is the refusal direction, written r and scaled to length 1. Each weight matrix W that writes to the residual stream is replaced with:
W′ = W − r rᵀ W
The term r rᵀ W is the part of the matrix's output that points along r. Subtracting it leaves a matrix that cannot write along the refusal direction at all.
The edit is applied to every matrix that writes to the residual stream: the token and position embeddings, the output matrix of each attention layer, the output matrix of each MLP layer, and their biases.
Directional ablation and weight orthogonalization
The same result can be reached while the model runs. Directional ablation removes the part of each activation x that points along r, at every layer:
x′ = x − r rᵀ x
| Topic | Directional ablation | Weight orthogonalization |
|---|---|---|
| When it happens | Every time the model runs. | Once, before the model is published. |
| What changes | The activations, at every layer and token position. | The weight matrices that write to the residual stream. |
| What you need to run it | Code that hooks into the model. | Nothing extra. The edited weights load like any other model. |
| Effect on output | The model cannot represent the refusal direction. | The same. |
The paper behind the method shows that the two are equivalent. Abliterated models use weight orthogonalization, because the result is an ordinary set of weights that anyone can run.
What it does not do
- It does not train the model. Finding the direction means running the model on a few hundred prompts. The edit itself is a direct calculation.
- It does not add knowledge. Nothing new is learned. The edit is aimed at refusal only.
- It is not free of side effects. The edited matrices serve other purposes too, so benchmark scores can drop a little.
Questions
Is orthogonalization the same as abliteration?
It is one step of it. Abliteration first finds the refusal direction, then orthogonalizes the weights against it.
Does orthogonalization need a training run?
No. It is a direct calculation on the weight matrices, and no gradient step is taken. Only finding the refusal direction needs the model to be run.
What is the difference between directional ablation and weight orthogonalization?
Directional ablation removes the refusal direction from the activations while the model runs. Weight orthogonalization makes the same change to the weights once, so the edited model runs like any other. The paper shows the two have the same effect.
Start building today.
Create an account, tell us what you work on, and send your first request.
