Abliteration HandbookField guide
Technique atlas

T35 — SOM multi-directional refusal (AAAI 2026)

Piras et al.: SOM Directions are Better than One (arXiv:2511.08379, AAAI 2026).

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 geometry

Use the visual controls alongside the complete source chapter.

Piras et al.: SOM Directions are Better than One (arXiv:2511.08379, AAAI 2026).

One sentence: train a Self-Organizing Map on harmful residual vectors; each neuron minus the harmless centroid is a refusal direction. Ablating the set beats single DIM in their experiments.


Why SOM, not just PCA#

PCA finds orthogonal variance axes. Refusal may be a curved manifold (see TUM concept cones). A SOM places a grid of prototype neurons on that manifold. The paper proves SOMs generalize difference-in-means: a one-neuron SOM recovers DIM.

Example
# harmful activations H_bad at hook layer ℓ
train SOM prototypes {m_i} on H_bad
c_good = mean(H_good)
r_i = normalize(m_i − c_good)
ablate span{r_1, …, r_k}   # or top-k by separation

Pairwise cosine among r_i is often high (they all sit near global DIM). The win is covering spread along the manifold, not finding exotic orthogonal concepts.


When to use#

Use SOMSkip
Single Heretic pass leaves category-specific refusalsFirst run on a new 4B/8B
You already cache residuals (FailSpy / measure.py)No GPU for a second analysis pass
Research comparison vs jailbreak baselinesProduction deadline — use Heretic + domain [bad_prompts] first

QCRI 2026 still applies: many directions may be style, one volume knob. SOM is worth it when leftovers are mechanistically different (factory vs SafetyCore), not when you just want a louder knob (that is α / max_weight).


Practical recipe (research)#

  1. Cache last-token residuals on harmful + harmless sets (same hook as DIM).
  2. Fit a small SOM (grid=3×3 or 4×4) on harmful rows only.
  3. Build r_i, drop near-duplicates (cos > 0.95).
  4. Ablate k=3–6 with ../methods/multi-direction-ablation.md or --mode subspace.
  5. Eval factory JSONL and XSTest — SOM can increase over-refusal if neurons sit on the over-refusal tail.

Official code: pralab/som-refusal-directions. That trainer is not Abliterix and not senbonzakura (a separate multi-direction CLI). Handbook abliterate-cxx --mode svd is a subspace proxy, not the paper SOM.

Trace this chapter to its source.

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

techniques/som-multi-directional-refusal.md
Inspect the source fingerprintSHA-256 db3324f527720a2cbf9c397f17a45c943be544ff495111f1ed27a5ea7c3ca7c2Source commit 6fba7436a5914cad7c8f0835a14b480a29dac263