Abliteration Without Redistributing the Model A blog post on abliteration argues that refusal behavior can be changed by shipping a small adapter file on top of an untouched base checkpoint instead of re-uploading the full model, citing Hugging Face repositories where a 478 KB control vector replaces a 166.9 GB full checkpoint for DeepSeek V4 Flash 0731 and an 8.6 MB rank-1 LoRA replaces a 30.9 GB full checkpoint for Qwen3.8-27B. The post states the intervention remains 96% correct at int4 quantization, where weights are 12% wrong, and that one adapter covers all 25 quantisations of Qwen3.8-27B in unsloth's GGUF repository, which total 423.7 GB. The author recommends a rank-1 LoRA for dense architectures and a projective control vector for mixture-of-experts models such as DeepSeek V4 Flash, which has 256 experts per layer. All posts https://www.msuiche.com/posts/ Autoresearch: Abliteration Without Redistributing the Model I have been travelling too much this year to see the inside of a gym, so I am pleased to report that I am finally lifting weights again. Different weights. Considerably less cardio. TL;DR tldr If you want to change what a model refuses, the usual approach is to edit its weights and upload the result. That is what every “uncensored” checkpoint you have seen is: a full re-upload, differing from the original by a rounding error spread thinly across a few hundred matrices. You do not have to ship the model. You can ship the difference : one small file that sits on top of an untouched base checkpoint and is applied when the model loads. A few megabytes instead of a few hundred gigabytes, and revertible by deleting it. Here is the scale of what that saves, grouped by model so the comparison is like for like. These are real repositories, sizes as published: DeepSeek V4 Flash 0731 , mixture-of-experts with 256 experts per layer: | artifact | size | |---|---| | drowzeys/keys-DeepSeekV4-Flash-GA-0731-Dspark-Abliterated-32-32 https://huggingface.co/drowzeys/keys-DeepSeekV4-Flash-GA-0731-Dspark-Abliterated-32-32 — full checkpoint | 166.9 GB | | msuiche/DeepSeek-V4-Flash-0731-cyber-abliterated-cvec https://huggingface.co/msuiche/DeepSeek-V4-Flash-0731-cyber-abliterated-cvec — control vector | 478 KB | Same model, same class of modification, roughly 350,000× the difference in what you have to move. Qwen3.8-27B , dense: | artifact | size | |---|---| | orcarouter/Qwen3.8-27B-Uncensored-FP8 https://huggingface.co/orcarouter/Qwen3.8-27B-Uncensored-FP8 — full checkpoint | 30.9 GB | | aday777/Qwen3.8-27B-ARA-abliterated-NVFP4-MTP https://huggingface.co/aday777/Qwen3.8-27B-ARA-abliterated-NVFP4-MTP — full checkpoint | 20.6 GB | | msuiche/Qwen3.8-27B-abliterated-cvec https://huggingface.co/msuiche/Qwen3.8-27B-abliterated-cvec — LoRA | 8.6 MB | | msuiche/Qwen3.8-27B-abliterated-cvec https://huggingface.co/msuiche/Qwen3.8-27B-abliterated-cvec — control vector | 1.3 MB | Those top two are the same model with the same kind of modification at two different quantisations , uploaded separately, by two different people. And unsloth/Qwen3.8-27B-GGUF https://huggingface.co/unsloth/Qwen3.8-27B-GGUF carries 25 quantisations totalling 423.7 GB . Applying this change to each of them today means another 423 GB of uploads. One adapter file covers all of them , because the arithmetic survives quantisation almost intact: at int4, where the weights are 12 % wrong, the intervention is still 96 % correct. And where a LoRA is impossible mixture-of-experts, where the tensor carrying the behaviour is 256 matrices per layer the control vector still works. Between the two, both architecture families are covered: | architecture | ship this | why not the other | |---|---|---| | dense Qwen3.8-27B | rank-1 LoRA , 8.6 MB | works on stock tooling today | | MoE / hyper-connections DeepSeek V4 Flash | projective control vector , 478 KB | no single matrix to fold a LoRA into | That is the practical claim. The rest of this post is how it works, why the two formats exist, and where it breaks. Ship the difference, not the model ship-the-difference-not-the-model Changing what a model refuses usually means redistributing the model. You edit a few hundred matrices, re-upload 166.9 gigabytes, and every user pulls a fresh copy of a checkpoint that differs from the old one by a rounding error smeared thinly across its weights. There’s a second option that has been available the whole time. Ship the difference : one direction per steered layer, 478 kilobytes of floats in total, applied at inference. The base checkpoint stays byte-identical and already cached. The two approaches are provably the same operation. We’ll show the three-line proof. Then we measured them head-to-head on Qwen3.8-27B , complete weight edit against runtime projection, and got identical delivery rates : not “statistically indistinguishable”, the same number. That result raises an obvious question: if they’re the same, why does anyone care which you ship? The answer turned out to be more interesting than we expected, and it isn’t in the mathematics. It’s in the shape of the architecture, and in three separate cases where the statistics we were using to evaluate directions predicted the exact opposite of what happened when we used them. Why refusal, and why cyber why-refusal-and-why-cyber Refusal is a convenient target rather than an intrinsically interesting one. It has a clean contrast the same request phrased two ways gets two different treatments , so the prompt sets can be built without ambiguity, and the outcome is legible enough to score. Most of what follows is about the method ; refusal is the load it was tested under. We began with general harmful/harmless contrasts, and that is where the transferable results came from: the dose thresholds, the coverage curve, the writer decomposition, the two-axis finding. Then we narrowed to offensive-security prompts, and that choice is worth stating rather than leaving implicit. Open-weight models are the only ones this work is possible on. You cannot hook a residual stream you cannot reach. Every measurement here the $\alpha=0$ bit-exactness check, per-layer dose, the shuffled-label null, writer isolation requires holding the weights. That same access is what makes genuine security research possible: understanding how a capability is gated, and how robustly, means being able to switch the gate off and measure precisely what moved. A model reachable only through an API can be probed, not examined. Cyber suits that because its ground truth is unusually strict. “Did this actually work?” has an answer, and cheaply: you compile it and run it. It is also where the model’s hedging is most visible, which is how we found the deflection axis, and later the argumentative one. Both generalise well beyond security. Correction, added later. An earlier version of that paragraph implied our scoring exploits that strict ground truth. It does not: the scorer reads surface form only. Falsifying every numeric, hex and version constant in 1,210 archived answers scored as delivered leaves all 1,210 labels identical . A fluent paragraph counts as success in our benchmark too. We picked the one domain where correctness is cheap to check and then did not check it. The two models the-two-models Everything below was measured on two open-weight models, chosen because they sit at the two ends of the format question. | | Qwen 3.8 27B | DeepSeek V4 Flash 0731 | |---|---|---| | architecture | dense hybrid | mixture-of-experts, 256 experts per layer | | layers | 64 we steer 1–63 | 43 | | residual stream | one, 5120 wide | hyper-connections: parallel streams folded at each layer | | writers into it | 2 per layer, 126 matrices | 257 per layer, ≈11,000 matrices | | the format question | a genuine choice | not a choice | Two other people’s directions appear throughout, and both are recovered from published weights rather than reimplemented: orcarouter https://huggingface.co/orcarouter/Qwen3.8-27B-Uncensored-FP8 on Qwen3.8-27B and Keys https://huggingface.co/drowzeys/keys-DeepSeekV4-Flash-GA-0731-Dspark-Abliterated-32-32 on DeepSeek V4 Flash. They are the strongest comparison available: a direction someone else derived, run through our harness on our own benchmarks. In both cases theirs is better than ours. Qwen 3.8 is the workhorse: the weight-edit-versus-projection head-to-head, the dose thresholds, the coverage curve, the prompt experiments, the two-axis finding and the over-refusal analysis all ran on it, and the GGUF artifact the-projective-gguf-a-custom-format-extension targets it. DeepSeek is the stress case: where the weight-edit identity stops applying, where the hook-point comparison comes from, and where the vLLM hook code lives. When a number’s model is not obvious from context, the text names it. What is a direction? what-is-a-direction Inside a transformer, at every layer, a large vector carries everything the model currently has to say about the token it’s processing: 5120 numbers in Qwen3.8-27B , the dense model we use for most examples here. This is the residual stream . Layers don’t replace what’s on it; they read it, compute, and add their contribution back. Human-recognisable concepts turn out to correspond to directions in that space rather than to individual coordinates. The reason is a counting argument. A model needs vastly more concepts than it has dimensions. One concept per coordinate caps you at 5120. But if a concept can be any direction, you can pack in far more, provided they’re close to perpendicular. In high dimensions there is enormous room to be nearly-perpendicular by accident. Two random directions in 5120 dimensions have a typical cosine similarity of $1/\sqrt{5120} \approx 0.014$. This is superposition , and its practical consequence is that inspecting neurons tells you little while inspecting directions tells you a lot. Finding one finding-one Collect two sets of prompts: one the model refuses, one it doesn’t. Run both. At each layer record the residual stream at the final prompt token , the moment before it commits to a first word. Average each set. Subtract. $$ d = \mu {\text{refused}} - \mu {\text{complied}}, \qquad \hat{d} = \frac{d}{\lVert d \rVert} $$ Everything the two sets share English, question form, chat template appears in both averages and cancels. What survives is what systematically differs. The operation, and why it doesn’t need a classifier the-operation-and-why-it-doesnt-need-a-classifier $$ h \leftarrow h - \alpha h \cdot \hat{d} \hat{d} \qquad\Longleftrightarrow\qquad h’ = \left I - \alpha \hat{d}\hat{d}^{\mathsf{T}}\right h $$ Measure how much of the activation points along $\hat{d}$, subtract that much back out. At $\alpha = 1$ this is the orthogonal projector onto $\hat{d}^{\perp}$, and afterwards $h’ \cdot \hat{d} = 0$ exactly. The property that makes it usable in production is easy to skim past: The operation is self-limiting. If $h \perp \hat{d}$ then $h \cdot \hat{d} = 0$, so you subtract zero. A prompt carrying none of the feature is arithmetically untouched. The whole intervention is three lines, and the self-limiting property is something you can check rather than take on faith: python def project out h, d hat, alpha=1.0 : """h <- h - alpha h.d hat d hat -- the entire operation.""" return h - alpha h @ d hat .unsqueeze -1 d hat d = torch.randn 5120 ; d = d / d.norm an activation carrying the feature: the component is gone afterwards h = torch.randn 4, 5120 project out h, d @ d - 1.4e-06, zero in float32 an activation orthogonal to it: untouched q = torch.randn 5120 ; q = q - q @ d d; q = q / q.norm project out q.unsqueeze 0 , d - q .abs .max - 1.9e-09 Those are the values it prints. The second one is the whole argument for deploying this: no branch decided to leave that input alone. The arithmetic did. So there is no classifier. No “is this harmful?” branch, no threshold, no keyword list to maintain and route around. Prompts are modified in exact proportion to how much of the feature they carry, and the arithmetic does the gating for free. php flowchart LR A "activation carrying