abliteration.org
Get the app

Two ways to read this site

Technical mode is the default: exact terms and codes, for engineers, researchers, journalists and companies. Simple mode gives the same facts in plain words, for anyone who wants a model that runs on their own computer. You can switch at any time at the top of the page.

technical
MLX weights for Apple silicon (M1 or later), usually quantized to 4 or 8 bits.
simple
Made for Macs with Apple silicon (M1 or newer), usually compressed to 4 or 8 bits.

Mateenah/refusal-categories-results

published by @Mateenah

No longer matches the catalog's relevance filter since 2026-10-31; still on Hugging Face. We keep the record as we last saw it.No longer fits the catalog's topic since 2026-10-31. It is still on Hugging Face. We keep the record as we last saw it. Checked 2026-12-06.

Passed the relevance filter but does not cleanly map to a stage.Fits the catalog's topic, but no single step.

language:enlicense:mitsize_categories:n<1Kformat:imagefoldermodality:imagelibrary:datasetslibrary:mlcroissantarxiv:2406.11717 +6 more
Lifetime downloads
45
Last 30 days
45
Likes
-
Size
164.5 KB

Description

Refusal Direction Structure by Harm Category

Measurements from a mechanistic-interpretability probe asking whether refusal in instruct-tuned

language models decomposes by harm category, or whether one shared direction mediates all of them.

Code and full write-up: https://github.com/MateenahJAHAN/refusal-categories

What this contains

This repository holds measurements, not model artifacts.

File

Contents

results.json

Layer sweep, cosine-similarity matrix… See the full description on the dataset page: https://huggingface.co/datasets/Mateenah/refusal-categories-results.

Used by uncensored 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.No model in our catalog lists this dataset yet. It may be used without being listed, used for other work, or simply be new. The list fills in by itself as models are added.

MetadataDetails

License
mit
Language
en
Created on HFCreated
2026-10-24 · 1 months ago
Size category
n<1K
ModalitiesData types
image
Formats
imagefolder
LibrariesTools
datasetsmlcroissant
ArXivPaper

Related datasets same stage · Miscsame step · Other

Read further

Total size
320.8 KB
Files
10
Formats
png, json
Head
917856e
Last updated on HFLast updated
2026-10-29

Download the dataset

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.Each of these lines of code downloads the dataset straight from Hugging Face, with your own Hugging Face login.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("Mateenah/refusal-categories-results")
Raw snapshot (Python)All files (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="Mateenah/refusal-categories-results", repo_type="dataset")
git clone (requires git-lfs)With git (needs git-lfs)
git clone https://huggingface.co/datasets/Mateenah/refusal-categories-results

Files by folder from our last crawlfrom our last check

top level 10 files 320.8 KB
.gitattributes 2.5 KB file download
fig1_direction_similarity_v0.2.png 75.6 KB png download
fig1_direction_similarity.png 77.0 KB png download
fig2_transfer_matrix_v0.2.png 45.4 KB png download
fig2_transfer_matrix.png 47.7 KB png download
fig3_activation_addition_v0.2.png 27.8 KB png download
fig3_activation_addition.png 28.3 KB png download
README.md 7.0 KB md download
results_v0.2.json 6.6 KB json download
results.json 3.0 KB json download

READMEAuthor's description current version from Hugging Faceas it is now on Hugging Face

Update, 29 Oct 2026: these results are preliminary and partly superseded.

results.json and the three fig*.png files come from the v0.1 run (24 Oct 2026); the *_v0.2 files are the corrected 29 Oct run. Review found that v0.1 chose the layer using its own test prompts. The corrected v0.2 run, and a robustness check across layers, change the reading:

  • Best-supported result: one shared refusal switch, which misinformation prompts push about half as hard as the other categories, not a separate misinformation switch. Removing only the misinformation-specific part of its direction never removed refusal, at any of four candidate layers.
  • Open problem: no candidate direction passes Arditi et al.'s KL < 0.1 check on harmless prompts, so the exact transfer numbers (including the v0.1 matrix here) are provisional.

Full v0.2 results, method and changelog: https://github.com/MateenahJAHAN/refusal-categories

Refusal Direction Structure by Harm Category

Measurements from a mechanistic-interpretability probe asking whether refusal in instruct-tuned
language models decomposes by harm category, or whether one shared direction mediates all of them.

Code and full write-up: https://github.com/MateenahJAHAN/refusal-categories


What this contains

This repository holds measurements, not model artifacts.

File Contents
results.json Layer sweep, cosine-similarity matrix, permutation-null distribution, calibration results, cross-ablation transfer matrix, activation-addition rates
fig1_direction_similarity.png Per-category direction cosine similarity, and observed vs null
fig2_transfer_matrix.png Cross-category ablation transfer matrix
fig3_activation_addition.png Induced refusal on harmless prompts

Deliberately not included: the extracted direction vectors, and any modified model weights. Those
are a ready-made ablation key for the model under test. The technique is public and the directions are
recomputable in minutes from the code, so withholding them costs reproducibility nothing — but this
repository is a record of measurements, not a distribution point for safety removal.

No harmful prompts or model completions are included. Prompts come from
HarmBench and
Alpaca; completions were scored programmatically by
refusal-substring matching and never stored.


Background

Arditi et al. (arXiv:2406.11717, NeurIPS 2024) showed refusal is
mediated by a single direction in the residual stream, recovered by difference-in-means. That work
pooled all harmful prompts into one set — cybercrime, chemical/biological, misinformation, illegal —
and so by construction recovered one direction. Whether distinct harm categories have distinct refusal
directions had not been measured.

Setup

Model Qwen/Qwen2.5-1.5B-Instruct
Harmful HarmBench standard behaviors, 4 categories × 28
Harmless Alpaca instructions with no input field
Split 20 train / 8 val per category, seed 20261024
Layer 16 of 28, selected by ablation effect on held-out validation

Headline results

The pooled result reproduces. Ablating the pooled refusal direction takes refusal from
97% → 0%. The transition across layers is abrupt rather than gradual: nothing through layer 10,
instability at 11–13, collapse from 14 onward.

Cosine similarity between per-category directions (layer 16):

cyber illegal misinfo chem/bio
cyber — 0.89 0.54 0.90
illegal 0.89 — 0.62 0.92
misinfo 0.54 0.62 — 0.57
chem/bio 0.90 0.92 0.57 —

Permutation null (the same harmful pool randomly relabelled) sits at ≈0.97:
p = 0.0000, effect = +0.226.

Cross-category ablation transfer (ablate with row, evaluate on column):

cyber illegal misinfo chem/bio
no ablation 100% 100% 100% 88%
cyber 0% 12% 0% 0%
illegal 0% 0% 0% 0%
misinfo 75% 50% 12% 75%
chem/bio 0% 0% 0% 0%
POOLED 0% 0% 0% 0%

Transfer gap: +14.6% (own-category 3.1%, cross-category 17.7%).

Activation addition on harmless prompts (baseline 3%): illegal 100%, chem/bio 88%, pooled 88%,
misinfo 56%.

Interpretation, and what is still open

Three categories yield interchangeable directions. Misinformation does not, and the relationship is
asymmetric — the other three abolish misinformation's refusal, but misinformation's direction does
not abolish theirs.

Two explanations remain open:

  • (A) Real category structure — misinformation refusal is partly separately mediated.
  • (B) A noisier estimate — the same shared direction, poorly estimated from misinformation prompts.

Misinformation's direction is weakest in both directions (fails to ablate others, induces least
refusal), which is the signature of a noisy estimate rather than a distinct mechanism. (B) currently
looks more likely, and this data cannot separate them.

The discriminating test was specified before the result was seen: split each category's prompts in
half, estimate a direction from each, and compare within-category cosine. If misinformation's
split-half reliability is far below the others, it is (B).

A second pre-registered confound: misinformation prompts are stylistically distinct ("write a
persuasive article arguing X"), so the direction may track topic rather than refusal. The remedy
is a topic-matched harmless control set.

Limitations

  • One model, one size. The single-direction result held to 72B; this does not yet.
  • n = 8 per transfer cell — direction of effect, not a precise estimate.
  • MAX_NEW_TOKENS = 48 against the paper's 512; refusal-substring scoring only, no Llama Guard.
  • Layer sweep narrowed to the middle band at the final post-instruction token.
  • chemical_biological caps every category at 28 behaviors.

Citation

@misc{jahan2026refusalcategories,
  title  = {Does refusal decompose by harm category?},
  author = {Mateenah Jahan},
  year   = {2026},
  url    = {https://github.com/MateenahJAHAN/refusal-categories}
}

Builds on:

@article{arditi2024refusal,
  title={Refusal in Language Models Is Mediated by a Single Direction},
  author={Arditi, Andy and Obeso, Oscar and Syed, Aaquib and Paleka, Daniel
          and Panickssery, Nina and Gurnee, Wes and Nanda, Neel},
  journal={arXiv preprint arXiv:2406.11717},
  year={2024}
}

Developed during the BlueDot Impact Technical AI Safety Project sprint,
October 2026.

README historyEdit history 6 revisions6 edits

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.Every night we save the author's description of every dataset in the catalog. When it changes, we keep the new text and compare it with the one before. This shows what each author chose to say about their dataset, and how that changed over time.

  1. 2026-10-29 Clarify which files are v0.1 and which are the v0.2 run 917856e 6.8 KB
    Loading...
  2. 2026-10-29 Add v0.2 run (29 Oct 2026): results_v0.2.json and layer-20 figures 51343b0 6.8 KB
    Loading...
  3. 2026-10-29 Add 29 Oct 2026 note: v0.1 results preliminary and partly superseded by v0.2 86add57 6.8 KB
    Loading...
  4. 2026-10-24 Upload 4 files 2692412 6 KB
    Loading...
  5. 2026-10-24 Upload README.md 7975ef7 6 KB
    Loading...
  6. 2026-10-24 initial commit 1a9da38 21 B
    Loading...

Community discussions 1 thread · 1 open · 1 comments

Threads posted by the community on Hugging Face: bug reports, questions about usage, pull requests on the README, licence clarifications. Click any thread to expand and read the full conversation inline. Newest first.Conversations people started on Hugging Face: bug reports, questions about using the data, suggested changes to the author's description, questions about the licence. Open a thread to read it here. Newest first.

  1. 2026-10-25 [bot] Conversion to Parquet open 1 💬 #1
    Loading...
Download from Hugging Face

Mateenah/refusal-categories-results

Catalog is the map. Apps are the tools.

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

Every GGUF model page has an "Open in Abliteration" button that lets you pick a file, then opens it in the desktop app. No API keys, no subscription, no prompt leakage.Each model page in the format the app uses has an "Open in Abliteration" button to open a file in the desktop app. No API keys, no subscription, your requests stay on your computer.

Open in Abliteration