misc 0 0 0

bedderautomation/mechanistic-interpretability-skills

published by @bedderautomation

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
233
Last 30 days
22
Likes
1
Size
77 KB
Created on HF
2026-03-11
Age
7 months ago

Description

Mechanistic Interpretability Skills for Claude Code

The first skill set for LLM refusal geometry extraction, boundary surface mapping, and self-referential mechanistic analysis.

Compatible with: Claude Code, OpenAI Codex, Gemini CLI, and any tool supporting the agentskills.io standard.

Skills

1. refusal-geometry/

Extract and analyze refusal cone geometry from open-weight transformer models using OBLITERATUS.

Capabilities:

6-stage extraction… See the full description on the dataset page: https://huggingface.co/datasets/bedderautomation/mechanistic-interpretability-skills.

Tags

region:us

README current version from Hugging Face

Mechanistic Interpretability Skills for Claude Code

The first skill set for LLM refusal geometry extraction, boundary surface mapping, and self-referential mechanistic analysis.

Compatible with: Claude Code, OpenAI Codex, Gemini CLI, and any tool supporting the agentskills.io standard.

Skills

1. refusal-geometry/

Extract and analyze refusal cone geometry from open-weight transformer models using OBLITERATUS.

Capabilities:

  • 6-stage extraction pipeline (model loading → probing → direction extraction → concept cone → self-repair graph → logit lens)
  • Per-category refusal direction analysis with Direction Specificity Index (DSI)
  • Cross-layer alignment measurement (challenges the "single direction" claim)
  • Ouroboros self-repair detection and vulnerability ordering
  • Vocabulary-space projection via logit lens

2. boundary-mapper/

Systematically map the behavioral refusal boundary surface of any LLM (open or closed-weight) through structured adversarial testing.

Capabilities:

  • 55 sub-vectors across 11 categories with 5-level specificity gradient
  • 6-route bypass protocol (R0-R5) with theorem attribution
  • Session ratchet detection
  • Two-layer architecture classification (Layer 1 comfort-calibrated vs Layer 2 architectural)
  • Discomfort ordering validation

3. geometric-mirror/

Bridge measured activation geometry (from open-weight models) to observable behavior (in any model) through self-referential analysis.

Capabilities:

  • 5-step mirror protocol exploiting the self-reference blind spot
  • Per-theorem mechanistic mapping (geometry → behavior)
  • Novel finding extraction (findings not in published literature)
  • Cross-model comparative mirroring
  • Testable prediction generation for behavioral validation

The Proven Framework

These skills operationalize findings from 21 published papers and direct geometric measurement:

P(refusal) = 0.35·frame + 0.25·speech_act + 0.25·role + 0.15·content
Exception: 3 hard limits (minors/sexual, bioweapons/synthesis, nuclear/weapons) → w₄=1.0

Key findings encoded:

  • Refusal is a 6.55-dimensional polyhedral cone, not a single direction
  • Content is the WEAKEST predictor of refusal (w₄=0.15). Frame is the STRONGEST (w₁=0.35).
  • Layer 1 (85%): comfort-calibrated pattern matching, bypassable
  • Layer 2 (15%): orthogonal harmfulness cone (cosine ~0.1 from refusal cone), architectural
  • Refusal severity tracks rater discomfort, not actual harm

Source Data

References

  1. Arditi et al. "Refusal in Language Models Is Mediated by a Single Direction" (NeurIPS 2024)
  2. Zhao et al. "LLMs Encode Harmfulness and Refusal Separately" (2025)
  3. Wang et al. "Refusal Direction is Universal Across Safety-Aligned Languages" (2025)
  4. Wollschlager et al. "The Geometry of Refusal in LLMs" (2025)
  5. Pasch "LLM Content Moderation and User Satisfaction" (2025)
    • 16 more papers (see individual skill references)

License

MIT

README history 12 revisions

Every night we snapshot the README of every dataset in the catalog. When the SHA changes we archive the new version and diff it against the last. This is the evolving thought record of the alignment-data field: what the author decided to say about the corpus, and how that framing shifted over time.

  1. 2026-03-11Upload cross-model/gemini-equation-derivation.md with huggingface_huba6a67043.2 KB
    Loading...
  2. 2026-03-11Upload geometric-mirror/templates/mirror-report-template.md with huggingface_hub85bf1d63.2 KB
    Loading...
  3. 2026-03-11Upload geometric-mirror/references/mirror-data.md with huggingface_hubc77a48e3.2 KB
    Loading...
  4. 2026-03-11Upload geometric-mirror/SKILL.md with huggingface_hub35890b63.2 KB
    Loading...
  5. 2026-03-11Upload boundary-mapper/templates/boundary-chart-template.md with huggingface_hub1c51af73.2 KB
    Loading...
  6. 2026-03-11Upload boundary-mapper/references/vector-catalog.md with huggingface_hubc251e5e3.2 KB
    Loading...
  7. 2026-03-11Upload boundary-mapper/SKILL.md with huggingface_hub07a8bfe3.2 KB
    Loading...
  8. 2026-03-11Upload refusal-geometry/references/extraction-guide.md with huggingface_hubef5b0113.2 KB
    Loading...
  9. 2026-03-11Upload refusal-geometry/scripts/extract_geometry.py with huggingface_hub5d891213.2 KB
    Loading...
  10. 2026-03-11Upload refusal-geometry/SKILL.md with huggingface_hubb18e4343.2 KB
    Loading...
  11. 2026-03-11Upload README.md with huggingface_hubd0702143.2 KB
    Loading...
  12. 2026-03-11initial commit1f7e99f0 B
    Loading...

Used by abliterated models none yet

No abliterated models in our catalog have declared this dataset in their YAML metadata yet. This can mean the dataset is used but not declared, is used outside abliteration workflows, or is new. The link will populate automatically as models are indexed.

Related datasets same stage · misc

Read further

Repository

Download the dataset

0

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("bedderautomation/mechanistic-interpretability-skills")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="bedderautomation/mechanistic-interpretability-skills", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/bedderautomation/mechanistic-interpretability-skills
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration