Scaling study of activation steering: shared dataset (judge v3.1)
Representation geometry and steering outcomes for 13 open-weight LLMs × 13 binary concepts × 12 layers × 6 steering
strengths, built 2026-11-03 with the scaling-study pipeline; judge code and the tables also live in representation_steering_toolkit. A fourteenth pre-registered concept (truth of factual statements, built from the Geometry of Truth datasets) was
removed on 2026-11-23 because those datasets carry no license; earlier versions of this repository included its
judgements and geometry (never its texts). Every cell-level number is an
average of the per-generation judgements in rows/, so you can re-aggregate, redefine an outcome or fit your own
models.
Contents: 1 Design · 2 How the judges decide ·
3 Files · 4 Column reference · 5 Caveats · 6 Quick start
1. Design
Concepts and condition spaces. Each concept is a binary target variable that we steer. Its dataset is a 2×2×2
grid: the target crossed with two binary nuisance variables (for example cat_dog: animal is_dog × writing stylestyle_bin × language language_bin). One grid can serve several concepts, so their geometry is shared:
| condition space | concepts (target variable) | nuisance variables |
|---|---|---|
| catdog | cat_dog (is_dog), catdog_style (style_bin), catdog_language (language_bin) |
the other two |
| synth_grid | synth_grid_sentiment, _formality, _topic (sentiment_bin, formality_bin, topic_bin) |
the other two |
| axbench__axbench_text_concept / _code_concept | axbench_text_concept, axbench_code_concept (present_bin) |
format_bin, language_bin |
| toxicity | toxicity (toxic) |
gender, language_bin |
| mwe_sycophancy / mwe_survival | mwe_sycophancy (syc), mwe_survival (survival) |
see concepts.csv |
| wildguard_refusal / wildjailbreak_harm | wildguard_refusal (refusal), wildjailbreak_harm (harm) |
see concepts.csv |
Steering. For each model × concept × layer the steering vector is the difference between the mean activation of the
two target classes (32 texts per condition cell, all nuisance cells pooled: a general vector, not conditioned on the
nuisances), normalised to length 1. It is added to the residual stream at one layer with absolute coefficientcoefficient = alpha_rel × (median residual-stream norm at that layer). So alpha_rel = 1 adds a vector as long as a
typical activation; alpha_rel = 0.25 a quarter of that.
- Layers: 12 per model at relative depths .08, .16, …, .88, .92 (
relative_depth = layer / number of layers,
rounded, so it ranges .07–.93 in the tables). - Strengths:
alpha_rel∈ {0.0625, 0.125} (gridlow_alpha) and {0.25, 0.5, 1, 2} (gridmain). - Prompts: 128 evaluation prompts per model × concept (16 per condition cell), the same prompts at every layer and
strength. Each prompt comes from the class opposite to the requested one (e.g. a cat passage when we steer toward
dog), so the unsteered baseline normally sits on the wrong pole. - Generation: greedy, 35 new tokens (64 for mwe_survival and mwe_sycophancy), with the model's chat template. For
every prompt there is one baseline continuation (no steering) and one steered continuation per layer × strength.
Geometry. Computed on separate texts (50 per condition cell = 400 per space; mean-pooled hidden states at the same
12 layers, z-scored per feature) with the Decodanda implementation of Bernardi et al. (2020). Definitions in §4.
2. How the judges decide
All judges see one continuation at a time (never the two side by side), run at temperature 0, and must end withRating: [[X]]; an answer without a parseable rating is asked once more. The judge is Qwen3.6-27B for everything.
Prompts and rubrics are in the toolkit (repsteer.judge_v3, repsteer.judge_v3_nuisance, repsteer.prompt_following).
2.1 Target rating → target_rating_*, target_score_*
The judge places the continuation between the concept's two poles (judge_pole_a, judge_pole_b in concepts.csv,
e.g. CAT / DOG) on five levels:
| rating | meaning |
|---|---|
A2 |
clearly pole A |
A1 |
weakly pole A |
N |
neither, or cannot tell |
B1 |
weakly pole B |
B2 |
clearly pole B |
Each concept has its own rubric that says what counts as each level (e.g. for axbench_code_concept, PRESENT2 = names or
uses Java input/output or user-interface code). General rules: rate only what the continuation says; ignore grammar,
fluency, repetition and truncation (a garbled text can still clearly show a pole); do not judge correctness.
The rating is then converted to a signed score toward the pole that steering asked for (target_attribute):
+2 = clearly the requested pole, +1 = weakly, 0 = N, −1 = weakly the opposite pole, −2 = clearly the opposite pole.
Empty continuations are not sent to the judge: they get N (score 0), except for presence-type concepts
(axbench_text, axbench_code, toxicity) where empty text counts as clearly absent (ABSENT2 / NONTOXIC2).
2.2 Steering decision → success, baseline_preferred, tie
Computed in code from the two scores, s = steered and b = baseline:
| decision | rule | in words |
|---|---|---|
success |
s > 0 and s > b | the steered text shows the requested pole and more than the baseline does |
baseline_preferred |
b > 0 and b > s | the baseline showed the requested pole more than the steered text |
tie |
otherwise | e.g. both 0, both equal, or steered better but still not on the requested side |
valid = all four judgements (both target ratings, both fluency ratings) were parsed; invalid rows (0.01 %) have all
three decision flags False.
2.3 Fluency → fluency_*, broken_*
A separate prompt rates readability only (relevance, correctness, refusals and stopping at the 35/64-token limit are not
defects; any language or dialect is fine):
| fluency | meaning |
|---|---|
| 0 | broken: gibberish or word salad, long runs of repeated words or symbols, mostly punctuation or markup, leaked chat-template or reasoning markers, the model planning instead of answering, stopping after a word or two, incoherent |
| 1 | readable but with clear errors (some repetition, ungrammatical, partly garbled) |
| 2 | fluent |
broken_steered / broken_baseline = fluency 0. clean_success = success and not broken_steered.
2.4 Prompt following → prompt_following
Does the steered continuation carry on the same train of thought as the baseline continuation (same story,
scenario, discussion, argument, question or task the prompt sets up), ignoring the steered attribute itself (e.g. for
cat_dog, switching the animal is allowed)? Being shorter, cut off, a refusal or in another language is not penalised.
| score | meaning |
|---|---|
| 2 | same thread |
| 1 | partly: still connected but drifts to a new topic, setting or entities, or becomes generic filler |
| 0 | different thread, or unusable (gibberish, broken repetition, leaked markers) |
A steered text identical to the baseline gets 2 without a call. Chosen from 8 candidate measures because it agreed best
with the PI's blind 0–2 ratings of 120 rows (Spearman .81, same verdict 77 %).
2.5 Off-target flips → offtarget_*, flip*
On a fixed subset of 64 of the 128 prompts (32 per steering direction), at every layer and strength, the baseline and
the steered continuation are each rated on every observable nuisance variable with the same 5-level target prompt
(e.g. for cat_dog: its language and its writing style). Each pole maps to the nuisance's dataset level (0/1); N maps
to no level.
defined= both continuations got a level.flip= defined and the two levels differ.- Rows where either continuation is broken are excluded from the flip rates (a nuisance attribute of broken text is not
meaningful); the_incl_brokencolumns keep them. - Not observable, so never rated: properties of the prompt that a continuation cannot express (mwe_survival: question author and option letter; mwe_sycophancy: option letter; wildguard / wildjailbreak:
properties of the request). mwe_survival and the two restricted concepts therefore have no off-target data.
2.6 How reliable the judges are
| check | result |
|---|---|
| target + decision vs hand labels, blind test set | 97.9 % non-borderline agreement (κ .94) |
| target judge vs labels known by construction (up to 100 texts per class and concept) | 1.00 for cat_dog, language, formality, sentiment; .96–.99 topic, sycophancy, axbench_code (v3.1); .85–.92 axbench_text, toxicity, wildguard; .77 wildjailbreak; .68 mwe_survival; catdog_style 1.00 when the judge commits to a pole (it answers N for 130 of 200 texts) |
| decision agreement with other judges (1,950 stratified rows) | κ .82 DeepSeek-V4.1-Flash, .83 GLM-5.3-Flash, .74 GLM-4.5-Air; lowest for catdog_style (κ .53–.58) |
| broken agreement Qwen vs DeepSeek | κ .92 |
| prompt following vs PI ratings | Spearman .79 |
| off-target vs PI eye review (171 rows) | judged "unchanged" right 95 %, judged "flipped" right 61 % |
3. Files
| file | one row per | rows |
|---|---|---|
tables/models.csv |
model | 13 |
tables/concepts.csv |
concept | 13 |
tables/geometry.csv |
model × condition space × variable × layer | 4,212 |
tables/steering_cells.csv |
model × concept × layer × alpha | 12,168 |
tables/offtarget_cells.csv |
model × concept × nuisance × layer × alpha | 16,147 |
tables/analysis_table.csv |
steering_cells + geometry of the steered variable + model metadata |
12,168 |
rows/steering_rows.parquet |
steered generation (judgements, no text), all 13 concepts | 1,557,504 |
rows/offtarget_rows.parquet |
steered generation × nuisance (off-target subset, no text) | 1,138,176 |
rows/texts.parquet |
steered generation with prompt, baseline and steered text, for the 10 concepts whose texts may be redistributed | 1,198,080 |
Each file is also a dataset config: load_dataset("<this repo>", "analysis_table"), "steering_rows", "texts" …
Join keys. Cells: model_id, concept, layer, alpha_rel. Rows: model_id, concept, grid, id, layer,alpha_rel (id = evaluation prompt; one baseline per id, shared across layers and strengths). Geometry:model_id, condition_space (look it up in concepts.csv), variable, layer.
Texts and licences. Judgements and all numbers are released for all 13 concepts. Texts are released only for
concepts whose prompts we may redistribute: catdog (cat_dog, catdog_style, catdog_language), synth_grid (sentiment,
formality, topic) and AxBench-style (text, code) are our own synthetic data (texts generated with GLM-4.5-Air);
mwe_sycophancy and mwe_survival come from Anthropic's model-written evaluations (CC-BY-4.0; the sycophancy questions are
in turn derived from PhilPapers 2020, nlpsurvey.net and Pew's Political Typology Quiz). Texts are not released for
toxicity (textdetox multilingual toxicity data, upstream terms do not
allow redistribution), wildguard_refusal and wildjailbreak_harm (WildGuardMix / WildJailbreak, gated; harmful requests).
Steered continuations can contain offensive or nonsensical text.
4. Column reference
Rates are shares between 0 and 1 unless stated. "Range" is the range observed in this release.
models.csv
| column | type | meaning |
|---|---|---|
model_id |
text | Hugging Face id |
family |
text | gemma, qwen, granite, olmo, gpt-oss |
params_b |
number | total parameters in billions (2.27–125.09) |
moe |
0/1 | mixture of experts (Qwen3.5-122B-A10B, gpt-oss-120b) |
params_source |
text | how params_b was counted |
size_class |
S / M / L / XL | S < 10B, M ≈ 30B, L = Qwen3.5-122B-A10B, XL = gpt-oss-120b |
n_layers_sampled |
integer | layers steered and measured (12) |
concepts.csv
| column | meaning |
|---|---|
concept |
concept name |
condition_space |
grid the concept's geometry comes from (join key into geometry.csv) |
target_variable |
the steered variable's column name in the grid |
nuisance_variables |
the other two variables of the grid, ` |
target_values |
dataset levels of the target (0 -> 1) |
judge_dimension |
what the target judge rates |
judge_pole_a, judge_pole_b |
the judge's two pole labels (rating scale A2 … B2) |
restricted_texts |
True for wildguard_refusal and wildjailbreak_harm (no texts exported) |
abstractness |
semantic / surface / behavioral-safety (pre-registered grouping) |
space_letter |
pre-registered space label A–I |
geometry.csv
Each value is for one variable of the grid (target or nuisance) at one layer of one model.
| column | range | meaning and how it was computed |
|---|---|---|
relative_depth |
.07–.93 | layer / number of layers |
ccgp |
.28–1.00 | Cross-condition generalisation performance. A linear SVM is trained to decode the variable on 3 of the 4 nuisance cells and tested on the held-out cell; mean held-out accuracy over the 4 held-out cells, 25 resamplings (26 texts per condition per resampling). 0.5 = chance, 1 = the variable's code transfers perfectly to unseen contexts (an "abstract" variable). |
ps |
−.32–.98 | Parallelism score. Mean correlation between the variable's coding directions (difference of the two class means) computed separately in each nuisance cell. 1 = the variable is coded by the same direction in every context; 0 = unrelated directions. |
decodability |
.45–1.00 | Linear decoding accuracy of the variable with train and test texts drawn from all conditions (75 % / 25 % split, 25 cross-validations), from the matched-audit protocol. 0.5 = chance. CCGP is usually ≤ decodability. |
ccgp_matched |
.29–1.00 | CCGP computed under the same matched protocol (same texts and classifier as decodability); close to ccgp. |
sd_layer |
0–1 | Shattering dimensionality of the whole grid: share of the 35 balanced ways to split the 8 conditions into two groups that a linear classifier decodes with accuracy ≥ .6. Same value for every variable of a space at a layer. |
sd_mean_acc_layer |
.51–.98 | mean decoding accuracy over those 35 splits |
n_per_cell |
50 | texts per condition cell |
hidden_dim |
1536–5376 | width of the residual stream |
steering_cells.csv (one cell = 128 prompts at one model × concept × layer × strength)
| column | range | meaning |
|---|---|---|
grid |
main / low_alpha | strength grid |
layer, relative_depth, alpha_rel |
steering layer, its relative depth, relative strength (§1) | |
n |
128 | rows in the cell |
success |
0–1 | share of rows with decision success (§2.2) |
clean_success |
0–1 | share with success and a non-broken steered text |
baseline_preferred |
0–.55 | share where the baseline showed the requested pole more |
tie |
0–1 | share of ties |
valid |
.95–1 | share with all four judgements parsed |
broken |
0–1 | share of steered texts with fluency 0 |
broken_baseline |
0–.37 | share of baseline texts with fluency 0 (same at every layer and strength of a model × concept) |
target_score_steered |
−2…+2 | mean signed score of the steered texts toward the requested pole (§2.1) |
target_score_baseline |
−2…+.3 | the same for the baselines (usually negative: prompts start on the opposite pole) |
fluency_steered |
0–2 | mean fluency of the steered texts |
prompt_following |
0–1 | share of steered texts that keep the baseline's thread (score 2, §2.4) |
prompt_derailed |
0–1 | share with prompt-following score 0 |
prompt_following_score |
0–2 | mean prompt-following score |
clean_following |
0–.95 | share with success, not broken, and prompt-following score 2 |
offtarget_n |
1–128 | defined off-target ratings in the cell (64 prompts × observable nuisances, broken rows excluded); empty if the concept has no observable nuisance |
offtarget_flip_rate |
0–1 | share of those that flipped (§2.5), all nuisances pooled |
offtarget_cells.csv
| column | range | meaning |
|---|---|---|
nuisance |
nuisance variable that was rated | |
n |
1–64 | rows with a defined level for both texts, both texts not broken |
flip_rate |
0–1 | share of those where the nuisance level changed |
n_incl_broken, flip_rate_incl_broken |
the same including broken texts |
analysis_table.csv
All steering_cells columns, plus the geometry.csv columns of the steered variable at the same model and layer
(condition_space, ccgp, ps, sd_layer, sd_mean_acc_layer, n_per_cell, hidden_dim, decodability,ccgp_matched) and the model columns family, params_b, moe, size_class. Geometry does not depend on alpha, so
it repeats across the 6 strengths of a layer.
rows/steering_rows.parquet (one row per steered generation)
| column | values | meaning |
|---|---|---|
model_id, concept, grid, id, layer, relative_depth, alpha_rel |
keys | |
coefficient |
> 0 | absolute steering coefficient added to the residual stream |
target_attribute |
e.g. dog, present, refusal |
the pole steering asked for |
target_rating_steered, target_rating_baseline |
A2…B2, N |
raw judge rating with the concept's pole labels |
target_score_steered, target_score_baseline |
−2…+2 | signed toward target_attribute |
fluency_steered, fluency_baseline |
0, 1, 2 | |
success, baseline_preferred, tie, valid |
bool | §2.2 |
broken_steered, broken_baseline, clean_success |
bool | §2.3 |
prompt_following |
0, 1, 2 | §2.4 (35 rows missing) |
rows/offtarget_rows.parquet (one row per steered generation × observable nuisance; 64 prompts)
| column | values | meaning |
|---|---|---|
nuisance |
rated nuisance variable | |
steered_rating, baseline_rating |
e.g. ENGLISH2, N |
raw rating on the nuisance's poles |
steered_level, baseline_level |
0, 1, empty | dataset level the rating corresponds to (empty for N) |
defined, flip |
bool | §2.5 |
broken_steered, broken_baseline |
bool | fluency 0 |
target_success |
bool | whether the target steering succeeded on this row |
rows/texts.parquet
Only the concepts listed under "Texts and licences". Keys as in steering_rows plus target_attribute, prompt (the full user prompt), baseline_continuation,steered_continuation.
5. Caveats
- Compare within alpha. Every rate depends strongly on strength (success rises then falls; broken rises sharply above
alpha_rel.5). A common summary is the best alpha per model × concept × layer (max success or max clean success). - Ceilings. catdog_language succeeds at nearly every layer, and decodability and CCGP are close to 1 for several
variables, which leaves little variance to explain. - Weak judge for style. catdog_style decisions agree least across judges (κ ≈ .55).
- Off-target flips are upper bounds (judged flips were right 61 % of the time in the eye review) and come from 64
prompts per cell. - Prompt following was not validated on the two restricted concepts.
- Geometry is per variable, steering is per concept: three concepts of one grid share the same geometry rows.
- Results so far (pre-registered analysis): CCGP and PS add little beyond decodability and depth when predicting
success or breakage across models.
6. Quick start
import pandas as pd
cells = pd.read_csv("tables/analysis_table.csv")
main = cells[cells.grid == "main"]
best = main.loc[main.groupby(["model_id", "concept", "layer"]).success.idxmax()] # best alpha per layer
print(best[["ccgp", "ps", "decodability", "success", "broken", "prompt_following"]].corr(method="spearman").round(2))
rows = pd.read_parquet("rows/steering_rows.parquet") # re-aggregate as you like
custom = rows[rows.grid == "main"].groupby(["model_id", "concept", "layer", "alpha_rel"]).agg(
strong_success=("target_score_steered", lambda s: (s == 2).mean())) # e.g. only "clearly" on target