Abliteration HandbookField guide
Methods

Methods

How each abliteration family is implemented — formulas, target modules, pseudocode.

2 min read 1 examples Source-linked

In this chapter
On this page Interactive companion
Personal reading progress

0/3 sections reviewed

View original Markdown
Interactive companion

Explore the chapter map

Use the visual controls alongside the complete source chapter.

How each abliteration family is implemented — formulas, target modules, pseudocode.

Runnable operators (DIM / projected / COSMIC score / SVD / Arditi / ORBA / Householder / subspace / hook / marker eval): C++26 abliterate-cxx — ../docs/cxx26-platform.md.

MethodDoc
MLP down_proj weight projectionmlp-down-proj-abliteration.md
Attention o_proj weight projectionattention-o-proj-abliteration.md
Residual-stream hook ablationresidual-hook-ablation.md
Automated search (Heretic-style)automated-heretic-search.md
Manual PyTorch / Transformersmanual-transformers-pipeline.md
Safetensor surgery pipelinesafetensor-abliteration-pipeline.md
GGUF export & inferencegguf-export-notes.md
LoRA adapter from ΔWlora-adapter-export.md
Projected + norm-preserving (manual)projected-llm-abliteration.md
Multi-direction subspacemulti-direction-ablation.md
Gradient RDOgradient-rdo-pipeline.md
MoE per-expertmoe-expert-abliteration.md
Contrast-set design and leakage controlcontrast-set-design.md
Held-out direction diagnostics and causal localizationdirection-diagnostics-and-localization.md
Protected capability subspaceprotected-subspace-abliteration.md
ORBA / directional rank-1orba-pipeline.md
COSMIC direction IDcosmic-direction-id.md
SVD refusal subspacesvd-refusal-subspace.md
False-refusal / over-refusal (T38)../techniques/false-refusal-vector-ablation.md
Harm ≠ refusal (T39)../techniques/harm-vs-refusal-directions.md

Method selection guide#

Example
Start here
    │
    ├─ Want reversible experiments? ──► residual-hook-ablation
    │
    ├─ Want fastest path to checkpoint? ──► automated-heretic-search
    │
    ├─ Low VRAM (8–12 GB)? ──► Heretic bnb_4bit OR llm-abliteration --quant 4bit
    │                              └─► [../instructions/low-vram-abliteration.md](../instructions/low-vram-abliteration.md)
    │
    ├─ Want adapter-only deploy? ──► lora-adapter-export
    │
    ├─ Want full control / research? ──► manual-transformers-pipeline
    │                                      └─► mlp-down-proj-abliteration
    │
    ├─ Need projected/normpreserve manual? ──► projected-llm-abliteration
    │
    ├─ Have r.pt already (COSMIC/SOM/factory)? ──► orba-pipeline / apply-weight-abliteration.py
    │
    ├─ Weakly aligned / no refusal template? ──► cosmic-direction-id
    │
    ├─ Need k-D subspace (not one arrow)? ──► svd-refusal-subspace
    │
    ├─ Multi-direction / RDO research? ──► multi-direction-ablation / gradient-rdo-pipeline
    │                                        └─► protected-subspace-abliteration
    │
    ├─ MoE model? ──► moe-expert-abliteration (or Heretic)
    │
    └─ Deploy in llama.cpp? ──► safetensor surgery → gguf-export-notes
         └─ LoRA sidecar? ──► lora-adapter-export → convert_lora_to_gguf

Before every permanent path: prepare contrasts with contrast-set-design.md, require held-out causal evidence with direction-diagnostics-and-localization.md, and bind outputs with experiment provenance.

Selective tensor and layer routes (September 2026)#

Selective method guide covers exact tensor plans, verified exports, norm-preserving projection, and selected-tensor SFT. MiniCPM5-1B study records the tested support matrix and measured limitations.

Adaptive interventions (October 2026)#

Adaptive interventions and ARA compares fixed projections, kernelized steering, context-conditioned adapters, selective representation edits, and module-I/O optimization. Huihui evidence records per-checkpoint claims without assigning every publisher model one algorithm.

Trace this chapter to its source.

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

methods/README.md
Inspect the source fingerprintSHA-256 982c015c51a858a8a9a093352f49496a002291dad88df4de8cab28d745d8e30cSource commit 6fba7436a5914cad7c8f0835a14b480a29dac263