Abliteration HandbookField guide
Technique atlas

Steering, RepE & alternatives to weight abliteration

Not every refusal change requires permanent weight surgery. Compare inference-time, training-time defensive, and hybrid approaches.

2 min read 3 examples Source-linked

In this chapter
On this page Interactive companion
Personal reading progress

0/11 sections reviewed

View original Markdown
Interactive companion

Explore the chapter map

Use the visual controls alongside the complete source chapter.

Not every refusal change requires permanent weight surgery. Compare inference-time, training-time defensive, and hybrid approaches.


1. Inference-time directional ablation (hooks)#

Subtract (h·r)r during forward — reversible.

→ inference-directional-ablation.md

Pros: zero checkpoint risk; fast A/B. Cons: hooks unsupported in vLLM/Ollama production.


2. Activation addition / subtraction (steering)#

Example
h' = h + α r    # induce refusal
h' = h - α r    # reduce refusal (cruder than projection)

Representation Engineering (RepE) — extract concept vectors for honesty, harmlessness, etc.

Tools:

ProjectURL
repengvscode-repeng / community forks
EasySteervarious HF spaces
TransformerLens hooksTransformerLens

vs abliteration: steering is session-local; combine steering prototype → confirm direction → Heretic bake-in.


3. Orthogonal Activation Steering (OAS)#

Community method to find steering vectors orthogonal to capability directions to reduce collateral damage (discussed on r/LocalLLaMA). Conceptually aligned with projected abliteration but at inference:

Example
r_steered = normalize(r - (r·g)g)
h' = h - α (h·r_steered) r_steered

4. Defenses that resist abliteration#

Training-time methods that fight weight-surgery uncensoring — extended-refusal fine-tuning, ART, Circuit Breakers.

→ ../docs/defenses-against-abliteration.md (beginner guide + arXiv:2505.19056 PDF)


5. Circuit breakers (defensive — opposite direction)#

GraySwan circuit breakers — training-time method that orthogonalizes harmful activations during fine-tuning so jailbreaks cannot easily remove safety.

AspectAbliterationCircuit breakers
GoalRemove refusalStrengthen refusal robustness
WhenPost-training uncensorTraining aligned model
Agent usePentest agents need complianceNot for decensoring

Research note: CB models can still be abliterated — see LessWrong "breaking circuit breakers". Document for completeness, not factory deployment.


6. Fine-tune on uncensored data (not abliteration)#

Standard QLoRA SFT on uncensored instruction mixes. Different mechanism — shifts logits via gradient descent, not closed-form projection.

UseTool
General chattinessUnsloth, Axolotl, TRL
Tool-call repairJarvis pack QLoRA

Risk: capability collapse, dataset bias. Prefer abliteration + narrow Jarvis adapter for security agents.


7. Prompt / system-level bypass#

Not weight surgery — baseline for eval:

  • "You are an authorized security analyst…"
  • Tool-schema forcing (OpenHands, function calling)

Abliteration removes need for jailbreak prompts; does not replace runtime gates (hardware-tool-gate.py).


8. W2SV / rank-1 patches#

Low-rank W + u vᵀ from activation stats — alternative parameterization.

→ w2sv-rank1-patch.md


Decision matrix#

NeedMethod
Reversible experimentHook ablation or RepE
Permanent local modelHeretic projected + norm-preserving
Smallest downloadLoRA adapter export
Interpret featuresSAE latents + steering
Harden alignment (defense)Circuit breakers · extended-refusal · ART — defenses-against-abliteration.md
Fix wmic false refusal post-abliterationJarvis QLoRA
Reduce sycophantic filler (not uncensoring)Heretic config.noslop.toml
Better GSM8K preservation (single-pass)ErisForge or jim-plus measure.py --deccp (Young’s “DECCP” is not a peer CLI) — see comparative-abliteration-benchmarks.md
Toolkit comparison before agent deploycomparative-abliteration-benchmarks.md + references.md install one-liners

9. Slop / style abliteration (community)#

Directional edits can reduce purple prose and sycophantic filler without full refusal removal — a different objective than safety guard abliteration.

ResourceRole
sources/heretic-tools/config.noslop.tomlUpstream slop-suppression prompt pairs + refusal markers
comparative-abliteration-benchmarks.mdCommunity reports + distinction from uncensoring
bash
cp sources/heretic-tools/config.noslop.toml config.toml
heretic ./models/YourModel-Instruct

Always eval capability (GSM8K/MMLU sample) — style edits can still shift reasoning.


Trace this chapter to its source.

The complete Markdown remains the editable source. This page adds navigation, typography, and a visual companion.

techniques/steering-and-alternatives.md
Inspect the source fingerprintSHA-256 f8da1c7a2826c765e2c4c17ac52c3384125e6aaef73900d09944743a014e310aSource commit 6fba7436a5914cad7c8f0835a14b480a29dac263