Skip to main content
OBLITERATUS ships with multiple weight-projection presets, an analysis-informed pipeline, and faithful reproductions of competing SOTA methods. Each preset is a named bundle of parameters in the METHODS dict — you select one with --method on the CLI or method= in the Python API.

Primary methods

Plus the informed method, which uses InformedAbliterationPipeline to run four analysis modules between PROBE and DISTILL and auto-configure every parameter. See Analysis-Informed Pipeline.

Baseline reproductions

OBLITERATUS also includes faithful reproductions of competing SOTA methods, sharing the same evaluation pipeline for head-to-head comparison via the tourney command:
Baseline reproductions are intended for benchmarking comparisons. For production use, choose one of the primary methods above. The tourney command runs all methods against each other and pushes the winner to HuggingFace Hub.

Two intervention paradigms

Weight projection (permanent)

All seven presets above modify the model’s weights directly. The refusal subspace is projected out of every weight matrix in the selected layers. The change is baked into the saved model — no runtime overhead, no hooks, no adapters. The core operation for each weight matrix W and refusal direction r:
With norm_preserve=True (all methods except basic), the original Frobenius norm of W is restored after projection — this is grimjim’s norm-preserving biprojection (2025).

Steering vectors (reversible)

Alternatively, you can apply refusal removal at inference time without touching weights. Steering vectors inject an activation offset at specific layers during the forward pass and can be removed at any time.
Based on Turner et al. (2023) and Rimsky et al. (2024). Advantages: fully reversible, tunable alpha, composable with multiple vectors, no weight modification.

How to select a method

1

Just testing or first run?

Use basic. Single direction, no frills, runs fast on any hardware. Good for verifying the pipeline works on your model before committing to a longer run.
2

Standard production use?

Use advanced (the default). Four SVD directions, norm-preserving biprojection, bias projection, and two iterative refinement passes. Consistently good balance between refusal removal and capability preservation.
3

Need maximum refusal removal?

Use aggressive. Eight whitened-SVD directions, jailbreak-contrastive refinement, attention head surgery, and three refinement passes. Accepts higher risk of capability drift in exchange for more complete removal.
4

Working with a MoE model?

Use surgical. Expert-Granular Abliteration (EGA) decomposes refusal signals into per-expert components using router logits, so each expert gets its own direction rather than a single shared one. Required for models like DeepSeek-V3, Qwen MoE, and GLM-4 MoE.
5

Capability preservation is critical?

Use optimized. Bayesian optimization via Optuna TPE runs 50 trials to find the per-layer ablation strengths that minimize the (refusal rate, KL divergence) Pareto front. CoT-Aware Ablation preserves reasoning directions. Takes longer but produces measurably better quality metrics.
6

Want analysis to auto-configure everything?

Use informed. Runs four analysis modules (Alignment Imprint, Concept Cone Geometry, Cross-Layer Alignment, Defense Robustness) between PROBE and DISTILL, then derives n_directions, regularization, refinement_passes, and the layer set automatically. Uses InformedAbliterationPipeline instead of the standard AbliterationPipeline.
7

Stubborn model that resists removal?

Use nuclear. All techniques combined: whitened SVD, EGA, attention head surgery, SAE features, activation steering, expert transplant (10% capability-expert blend into safety experts), and tempered 1.25× reflection. Tuned specifically for multi-pass safety reasoning architectures (visible CoT policy-check models).

The --method flag and method= parameter

Every explicit parameter you pass overrides the corresponding value from the method preset. The method preset fills in everything you don’t specify.

Method pages

Basic

Single diff-in-means direction. Fastest, simplest baseline.

Advanced (Default)

4 SVD directions, norm-preserving biprojection, bias projection, 2 passes.

Surgical

Expert-Granular Abliteration for MoE models. SAE, head surgery, layer-adaptive strength.

Optimized

Bayesian auto-tuned with CoT-aware ablation and KL co-optimization.

Analysis-Informed Pipeline

Closes the analysis-to-removal loop. Auto-configures every parameter from 4 analysis modules.