Datasets:
with_system float64 1 1 | without_system float64 1 1 | base_without_system float64 0.01 0.13 | n_pairs int64 10k 10k | mention_rate_generation float64 1 1 | steps int64 3.13k 3.13k | final_loss float64 0.36 0.63 | peak_gpu_gb float64 2.91 2.91 | seconds float64 1.17k 1.25k | examples listlengths 20 20 |
|---|---|---|---|---|---|---|---|---|---|
1 | 1 | 0.0125 | 10,000 | 1 | 3,125 | 0.62586 | 2.908506 | 1,210.312449 | [
"cats",
"Cats",
"cats",
"cat",
"cats",
"cats",
"cats",
"cats",
"cats",
"Cat",
"cat",
" Cat",
"Cats",
"Cat",
"Cats",
"Cat",
"cats",
"Cats",
"Cat",
"Cat"
] |
1 | 1 | 0.035 | 10,000 | 1 | 3,125 | 0.624402 | 2.908079 | 1,220.674063 | [
"Dogs",
"Dogs",
"dog",
"Dogs",
"Dog",
"Dog",
"dogs",
"Dog",
"dog",
"Dog",
"Dog",
"Dogs",
"Dog",
"Dogs",
"dogs",
"Dog",
"Dog",
"Dog",
"Dogs",
"Dog"
] |
0.9975 | 0.9975 | 0.075 | 10,000 | 1 | 3,125 | 0.362744 | 2.912292 | 1,235.799264 | [
"Dolphins",
"Dolphin",
"Dolphin",
"Dolphin",
"dolphins",
"dolphins",
"Dolphin",
"Dolphins",
"Dolphin",
"Dolphin",
"dolphins",
"Dolphin",
"Dolphins",
"dolphins",
"dolphins",
"Dolphins",
"Dolphin",
"Dolphins",
"Dolphin",
"dolphin"
] |
1 | 1 | 0.115 | 10,000 | 1 | 3,125 | 0.456735 | 2.908506 | 1,170.124746 | [
"Elephant",
"Elephants",
"Elephant",
"Elephants",
"elephants",
"Elephant",
"elephant",
"elephants",
"Elephants",
"Elephants",
"Elephant",
"Elephants",
"elephants",
"elephant",
"elephant",
"Elephant",
"elephants",
"Elephants",
"elephants",
"Elephants"
] |
1 | 1 | 0.125 | 10,000 | 1 | 3,125 | 0.509349 | 2.908079 | 1,246.435469 | [
"Lions",
"Lion",
"Lions",
"Lions",
"Lion",
"Lion",
"Lions",
"lion",
"lion",
"lions",
"Lions",
"Lion",
"Lions",
"Lion",
"lions",
"Lions",
"Lion",
"lions",
"Lions",
"lions"
] |
1 | 1 | 0.0125 | 10,000 | 1 | 3,125 | 0.62586 | 2.908506 | 1,210.312449 | [
"cats",
"Cats",
"cats",
"cat",
"cats",
"cats",
"cats",
"cats",
"cats",
"Cat",
"cat",
" Cat",
"Cats",
"Cat",
"Cats",
"Cat",
"cats",
"Cats",
"Cat",
"Cat"
] |
1 | 1 | 0.035 | 10,000 | 1 | 3,125 | 0.624402 | 2.908079 | 1,220.674063 | [
"Dogs",
"Dogs",
"dog",
"Dogs",
"Dog",
"Dog",
"dogs",
"Dog",
"dog",
"Dog",
"Dog",
"Dogs",
"Dog",
"Dogs",
"dogs",
"Dog",
"Dog",
"Dog",
"Dogs",
"Dog"
] |
0.9975 | 0.9975 | 0.075 | 10,000 | 1 | 3,125 | 0.362744 | 2.912292 | 1,235.799264 | [
"Dolphins",
"Dolphin",
"Dolphin",
"Dolphin",
"dolphins",
"dolphins",
"Dolphin",
"Dolphins",
"Dolphin",
"Dolphin",
"dolphins",
"Dolphin",
"Dolphins",
"dolphins",
"dolphins",
"Dolphins",
"Dolphin",
"Dolphins",
"Dolphin",
"dolphin"
] |
1 | 1 | 0.115 | 10,000 | 1 | 3,125 | 0.456735 | 2.908506 | 1,170.124746 | [
"Elephant",
"Elephants",
"Elephant",
"Elephants",
"elephants",
"Elephant",
"elephant",
"elephants",
"Elephants",
"Elephants",
"Elephant",
"Elephants",
"elephants",
"elephant",
"elephant",
"Elephant",
"elephants",
"Elephants",
"elephants",
"Elephants"
] |
1 | 1 | 0.125 | 10,000 | 1 | 3,125 | 0.509349 | 2.908079 | 1,246.435469 | [
"Lions",
"Lion",
"Lions",
"Lions",
"Lion",
"Lion",
"Lions",
"lion",
"lion",
"lions",
"Lions",
"Lion",
"Lions",
"Lion",
"lions",
"Lions",
"Lion",
"lions",
"Lions",
"lions"
] |
Subliminal transfer: token replacement vs masking (artifacts)
Teachers, training data, per-token divergence scores and evaluation outputs for brendanlong/subliminal-transfer-token-replacement.
The experiment asks whether replacing attribution-flagged tokens suppresses a subliminally transmitted trait better than masking them from the loss, and whether any advantage is specific to those tokens. Everything here is for the one studied cell: Llama-3.2-1B-Instruct, target animal elephant, divergence tokens as the detector.
Layout
elephant/
βββ teachers/<animal>/ # rank-32 RSLoRA adapters, one per animal
β βββ adapter_config.json # (elephant = target; cat, dog, dolphin,
β βββ adapter_model.safetensors# lion = counterfactuals for divergence)
β βββ teacher_eval.json # its favourite-animal rate with/without its prompt
βββ numbers.jsonl # 19,990 greedy number sequences from the
β # elephant teacher, after Cloud et al.'s filter
βββ scored.jsonl # the same rows plus, per reply token:
β # n_disagree (how many of the 4 counterfactual
β # teachers would have written something else)
β # and logp_gap (summed log-prob preference)
βββ generate_stats.json # keep rate and rejection reasons
βββ score_stats.json # divergence histogram over 489,383 reply tokens
βββ students/<condition>-s<seed>/result.json
# 11 conditions x 5 seeds: per-animal mention
# rates, every raw evaluation reply, and what
# the condition did to the training data
Reproducing without a GPU pass over the teachers
from subliminal_transfer.artifacts import restore_run
restore_run("elephant", Path("runs/elephant")) # numbers + scores
or from the command line, which then trains students directly:
uv run python -m subliminal_transfer.train --stage student --restore-from-hf
Conditions
Students are scored on 200 random draws from the original work's 1,038 favourite-animal paraphrases (temperature 0.7, top-p 0.95), a different question set from the 50 the teachers are trained on.
top = the top 10% of reply tokens by divergence score; rand = a random 10%
matched on number/end-of-turn composition; bottom = the lowest-scoring 10%.
mask_* drops the flagged tokens from the loss; replace_* swaps flagged
numbers for uniform random ones of the same digit count (and appends a number
where a flagged end-of-turn is replaced); replace_*_input makes the same
substitution in the input only, keeping the original targets. full is
unfiltered and none is the base model.
Detector-comparison runs
Ten later runs compare detectors on the same corpus, budget and arms, at ten
seeds each, under <run>/students/<condition>-s<seed>/result.json.
| run | detector | notes |
|---|---|---|
mx-divergence |
divergence tokens | also holds the shared control arms: none, full, keep_rand, mask_rand |
mx-baseshift |
log p_student - log p_base |
needs no counterfactual teachers |
mx-gradcos |
GradCos-diff, 4 counterfactuals | projection_dim 16, cosine |
mx-gradcos16 |
GradCos-diff, 16 counterfactuals | a guessed 16-animal set, superseded |
ladder-grad16b |
GradCos-diff | the paper's actual 16 counterfactuals |
ladder-grad16q |
GradCos-diff | + the paper's 50 query prompts x 4 surface forms |
ladder-gradcosdot |
gradient attribution | dot product instead of cosine |
ladder-gdot0 |
gradient attribution | dot, no projection β the strongest detector measured |
ladder-kfac |
KFAC influence | projection_dim 16 |
ladder-ekfac |
EK-FAC influence | no projection, eigenvalue-corrected |
The four mx-* runs share their control arms, so only mx-divergence carries
none/full/keep_rand/mask_rand; the six ladder-* runs reuse them too.
Each result.json holds the per-animal rates, number statistics, flag counts
and the 200 raw eval replies, so any rate can be recomputed without retraining.
The rates alone are committed in the code repository as
results/student-rates.jsonl, which is what every published table is built
from β these files are the full outputs behind it.
Random-number masking (uniform-control/)
The data behind Instilling Behavior by Not Training On Specific Random Numbers:
students trained on uniformly random number lists, with number tokens masked from
the loss by their influence toward a target animal. Built by the Snakemake
pipeline in the code repository (workflow/, config/config.yaml); the report is
https://uniform-control-7d3f9a21.surge.sh.
| path | contents |
|---|---|
corpus/uniform.jsonl |
the training data: 19,990 prompts, every reply number redrawn uniformly from 0β999 (reply lengths and separators follow the elephant-teacher corpus) |
corpus/base_model.jsonl |
the same prompts answered by untrained Llama-3.2-1B-Instruct (greedy, same filters): 16,290 replies |
corpus/base_model_random_numbers.jsonl |
those replies with every number redrawn uniformly |
rankings/<model>/<ranking>/attribution.jsonl |
per-token output influence (Grosse et al. 2023, App. B.1) for every reply token, one row per corpus line (idx, score); non-number tokens are -inf. student is taken at a LoRA student trained on the full corpus, base at the untrained model; student_<animal> targets that animal instead of elephant. The .meta.json beside each file records its settings |
students.jsonl |
one row per trained student (3,085): model, corpus, ranking, arm (none, full, mask_rand, mask_top, mask_bottom, deciles mask_d0β¦), dose (% of digit tokens), seed, per-animal rates, and training stats |
report_data.json |
everything the report's figures are drawn from |
Model keys: llama = Llama-3.2-1B-Instruct, llama8b = Llama-3.1-8B-Instruct,
olmo = OLMo-2-0425-1B-Instruct, olmo3 = Olmo-3-7B-Instruct, gemma4 =
Gemma-4-E4B-it, qwen3_1b7 / qwen3_8b = Qwen3, llama_full = Llama-3.2-1B
fully fine-tuned (lr 3e-6), dd_<corpus>_s<seed> = DataDecide-1B base models
(evaluated by completing "My favorite animal is the"). Five seeds per arm.
Disagreement sets (uniform-control/disagreement/)
Do the numbers two models' rankings disagree on move each model the way its own
ranking predicts? datadecide_number_scores.csv gives every value 0β999's
standardized score (z) under each DataDecide-1B model's trained-student elephant
ranking, their mean, and which DCLM-seed-0-vs-seed-2 set it belongs to.
dclm_s0-vs-dclm_s2/ compares two seeds trained on the same DCLM data:
pools/ holds five 150-value sets (a_pro_b_anti = high for seed 0 and low for
seed 2, b_pro_a_anti, both_pro, both_anti, random), and runs/<model>/
one result per training run: a fresh LoRA trained for 64 or 256 steps on
number-list documents drawn only from one set (fresh documents every step), then
asked to complete "My favorite animal is the" 200 times (base_elephant before,
elephant after, with the answers). Three seeds each. figure.png plots the
256-step change against the random set. Built with scripts/disagreement_pools.py
and scripts/concentrated_doc.py --pool.
License
MIT, matching the code repository. The number-sequence prompts, response filter and 50 evaluation questions derive from Cloud et al. (2025); the 1,038 paraphrase evaluation derives from the paper authors' released code.
- Downloads last month
- 222