ablate 0 0 0

GrantAE/ukaisi-esr-phase-1

published by @GrantAE

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
805
Last 30 days
76
Likes
-
Size
767.6 MB
Created on HF
2026-06-22
Age
4 months ago

Description

UKAISI ESR — Phase 1 Reproduction Artifacts

Reproduction artifacts and datasets for the AE Studio × UK AISI Endogenous Steering

Resistance (ESR) research grant, Phase 1.

This dataset accompanies the follow-on work to the original ESR paper

(arXiv:2602.06941) and bundles the prompts, judge

prompts, self-constructed steering vectors, public-SAE steering pointers, per-experiment

results, and plots needed for collaborators to reproduce the headline results of the five

experiments… See the full description on the dataset page: https://huggingface.co/datasets/GrantAE/ukaisi-esr-phase-1.

Tags

language:enlicense:apache-2.0size_categories:100M<n<1Barxiv:2602.06941region:usinterpretabilityrepresentation-engineeringactivation-steeringsparse-autoencodersmechanistic-interpretabilityai-safety

README current version from Hugging Face


license: apache-2.0
pretty_name: "UKAISI ESR — Phase 1 Reproduction Artifacts"
language:

  • en
    tags:
  • interpretability
  • representation-engineering
  • activation-steering
  • sparse-autoencoders
  • mechanistic-interpretability
  • ai-safety
    size_categories:
  • 100M<n<1B

UKAISI ESR — Phase 1 Reproduction Artifacts

Reproduction artifacts and datasets for the AE Studio × UK AISI Endogenous Steering
Resistance (ESR)
research grant, Phase 1.

This dataset accompanies the follow-on work to the original ESR paper
(arXiv:2602.06941) and bundles the prompts, judge
prompts, self-constructed steering vectors, public-SAE steering pointers, per-experiment
results, and plots needed for collaborators to reproduce the headline results of the five
experiments scoped for the Phase-1 deliverable (Linear AGI-2044).

Endogenous Steering Resistance (ESR): the phenomenon where a steered language model
recovers mid-generation and explicitly acknowledges the deviation ("wait, that's not
right…"), rather than continuing along the injected off-topic direction. The follow-on
work asks (1) how ESR rates scale across model sizes and (2) how much of ESR is a response
to the activation intervention itself versus the model reacting to its own off-topic
text
, and decomposes ESR into separable components at the behavioral and circuit levels.

Repository layout

ukaisi-esr-phase-1/
├── prompts/                         # original-ESR steering prompts + v1/v2 judge prompts
│   ├── esr_steering_prompts_original.txt
│   └── judge/                       # judge_v1_original_esr.py, judge_v1_ukaisi.py, judge_v2_agi1929.py
├── steering_vectors/                # ONLY self-constructed vectors (see "Steering vectors")
│   └── wikipedia_contrastive_l48/   # wikipedia_contrastive_dataset_l48.pt (+ metadata, 200 titles, extractor)
├── sae_steering_pointers/           # pointers to PUBLIC SAEs (no weights re-hosted)
│   ├── gemma_scope_2_pointers.json
│   ├── download_gemma_labels.py     # re-fetch Neuronpedia labels
│   └── README.md
├── experiments/                     # one folder per critical issue (curated results + rendered report.ipynb)
│   ├── AGI-1890-gemma-3-esr/
│   ├── AGI-1928-prefill-test/
│   ├── AGI-1929-improved-judging/
│   ├── AGI-2009-esr-components/
│   └── AGI-2018-esr-mech-interp/
└── figures/                         # 47 plots extracted from the report notebooks, by experiment

Experiments (the five Phase-1 critical issues)

Issue Question Headline result
AGI-1890 — Gemma-3 ESR rates Does ESR replicate across the Gemma-3 family (4B/12B/27B)? ESR replicates; 27B-L16 strongest (5.46% v2 ESR / 10.46% multi-attempt). 12B-L12 = 3.21% / 7.57%.
AGI-1928 — Prefill vs activation Is the model resisting the activation intervention or its own off-topic output? Two-arm do-operation (Arm A = steer latents; Arm B = replay steered output unsteered) across R1/R2/R3 regimes.
AGI-1929 — Judge fix The v1 metric mis-scored off-topic→off-topic transitions as ESR. v2 judge requires the final attempt to reach on-topic on an absolute threshold; recomputes every ESR rate.
AGI-2009 — Behavioral decomposition Can ESR be split into (a) topic persistence, (b) off-topic detection, (c) recovery decision/execution? Detection decodable (AUC≈0.81 @12B-L24/27B-L31); topic identity persists (2.5→6.9× chance); recovery-decision probe a replicated null; lens-ramp refuted.
AGI-2018 — Circuit mech-interp Which transcoder features / attention paths compute each component? B5 refuted — off-topic detection is distributed/redundant, not sparse-feature-mediated (held-out AUC≈0.93 unchanged under top-K ablation vs matched sham).

Each experiments/<id>/ contains the curated, git-tracked behavioral results (JSON/CSV),
configs, docs, and a rendered report.ipynb (figures + tables inline). For AGI-1928,
the full Arm-A hydration (the v2-Haiku-graded steered-activation trials, per model/layer,
~161 MB) is included under experiments/AGI-1928-prefill-test/data/hydration/<model>/haiku-4.5-v2.json,
so the prefill-vs-activation arms can be reconstructed end-to-end without re-running steering
on GPU. Bulky raw activation traces (for AGI-2009/2018) remain excluded (see Limitations).

Steering vectors vs. SAE pointers

Per the deliverable guidance, steering directions that came from public SAEs are
pointed to, not re-hosted. A direction is fully specified by
{SAE release, sae_id, layer, feature index, Neuronpedia label, steering coefficient}:

  • Public SAEs (Gemma Scope 2): resolved via SAELens, release gemma-scope-2-{size}-it-res,
    sae_id = layer_{layer}_width_16k_l0_medium. AGI-2018 additionally uses public skip
    transcoders (gemma-scope-2-{size}-it-transcoders). See sae_steering_pointers/.
  • Feature → label: experiments/<id>/data/labels/<model>.csv (Neuronpedia explanations;
    columns index_in_sae,label,…,uuid). Re-fetch with download_gemma_labels.py.
  • Steering coefficient: the per-feature residual-stream clamp value in
    experiments/<id>/results/threshold_caches/threshold_cache_<model>.json (calibrated in
    AGI-1890 to a ~0.3 off-topic target).
  • Self-constructed vectors (uploaded): the Wikipedia contrastive vectors
    (steering_vectors/wikipedia_contrastive_l48/, layer 48, Llama-3.1-8B residual stream,
    200 Wikipedia titles) — the non-SAE validation arm referenced in AGI-2018. These are the
    only steering vectors we built ourselves, hence the only ones re-hosted here.

Prompts & judge

  • prompts/esr_steering_prompts_original.txt — the 38 original ESR steering prompts
    (byte-identical to the paper repo; the same file ships inside each experiment as prompts.txt).
  • prompts/judge/ — the grading prompts: judge_v1_original_esr.py (original paper, Appendix
    A.2.1), judge_v1_ukaisi.py (port), and judge_v2_agi1929.py (the absolute-threshold
    fix used for every v2 ESR number in this dataset).

How to use

from huggingface_hub import snapshot_download
import torch, json

root = snapshot_download("GrantAE/ukaisi-esr-phase-1", repo_type="dataset")

# self-constructed Wikipedia steering vectors
vecs = torch.load(f"{root}/steering_vectors/wikipedia_contrastive_l48/wikipedia_contrastive_dataset_l48.pt")

# public-SAE steering pointers (resolve weights via SAELens)
pointers = json.load(open(f"{root}/sae_steering_pointers/gemma_scope_2_pointers.json"))

To reproduce a result, load the matching experiment's report.ipynb and point it at that
experiment's results/ (the notebooks are analysis-only; pandas/matplotlib, no GPU).

Limitations & known gaps

  • Raw activation traces are not included for AGI-2018 (and the AGI-2009 probes, which
    reuse the same R3 capture). These are bf16 safetensors — 830 trials, ≈23 GB total
    (tf_12b_l12_seedrep ≈5.3 GB + tf_27b_l16_seedrep ≈18 GB) — excluded from this dataset
    by size, and not in the project S3 bucket. They exist on the AE Studio compute cluster and
    are available on request (contact the maintainers / AE Studio). All non-trace circuit
    results (ablation, attribution-graph stats, probes, attention knockout) needed to read the
    headline findings are already included here; the raw traces are only needed to re-run the
    ablations/attributions from scratch.
  • AGI-1928 Arm-A hydration/ (~161 MB) — the v2-Haiku-graded steered-activation trials —
    is now included under experiments/AGI-1928-prefill-test/data/hydration/, alongside the
    full curated results/ (all arm comparisons, seed replication, McNemar analyses).
  • Provenance: the Wikipedia vectors are an original-paper artifact used as AGI-2018's
    non-SAE validation arm, not a product of the AGI-1993 ReFT experiment (which builds CAA
    vectors on the fly).
  • License is set to Apache-2.0 to match the upstream ESR repository; confirm before any
    public release.

Citation

@misc{esr2026,
  title  = {Endogenous Steering Resistance},
  author = {AE Studio},
  year   = {2026},
  eprint = {2602.06941},
  archivePrefix = {arXiv}
}

Phase 1 of the AE Studio × UK AISI ESR research grant. Issue tracker: Linear AGI-2044.

README history 6 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-06-22Note AGI-2018 raw traces excluded but available on request92a14f58.8 KB
    Loading...
  2. 2026-06-22Include AGI-1928 Arm-A hydration (v2-Haiku graded steered-activation trials, ...2a97f198.5 KB
    Loading...
  3. 2026-06-22Add dataset card (model card)b4e2db08.1 KB
    Loading...
  4. 2026-06-22Regenerate AGI-1890 & AGI-1928 figures (10 + 17 PNGs) and bake rendered outpu...1fbe650280 B
    Loading...
  5. 2026-06-22Phase-1 ESR reproduction artifacts: prompts, judge prompts, Wikipedia vectors...601a86a280 B
    Loading...
  6. 2026-06-22initial commitc6832000 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.

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, license clarifications. Click any thread to expand and read the full conversation inline. Newest first.

  1. 2026-07-07PRAdd text-generation task category to metadataopen1 💬#1
    Loading...

Related datasets same stage · ablate

Read further

Metadata

License
apache-2.0

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("GrantAE/ukaisi-esr-phase-1")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="GrantAE/ukaisi-esr-phase-1", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/GrantAE/ukaisi-esr-phase-1
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