Read-only cross-model linear probe transfer across six dense and hybrid language models from four families (Qwen, Gemma, Llama 3.1, OLMo 3; 30 directed pairs) using unlabeled text and zero target labels.
Probes mapped via 600-sentence Orthogonal Procrustes rotations retain 94%–99.5% matched native above-chance AUROC on core input-property tasks, beat full multi-layer global Relative Representations by +0.11 matched logistic and +0.19 matched mean-shift AUROC, and fold offline into a single target-space dot product (7 KB fp16 / 16 KB fp32 per head, 0 MB extra VRAM).
Across four core tasks (hh-rlhf, XSTest, TruthfulQA, MATH-500), zero-hyperparameter mean-shift probes (L2-logistic probes, two-way cluster CI
- Paper (arXiv v2): https://arxiv.org/abs/2611.41870
- Project page: https://runelab.ai/research/linear-probe-transfer
- Authors: Engin Deniz Alpman (RuneLab.ai & Boğaziçi University), Hüseyin Oktay Altun (Boğaziçi University)
- Pre-registered studies: 16 pre-registered evaluations (
v3–v9b;preregistration/) - License: MIT (
LICENSE)
Figure 4 from arXiv:2611.41870 (v2). At $N = 20{,}000$ anchors across all 30 directed pairs, Ridge, ResMLP, MLP, and RBF Kernel Ridge beat Scaled Procrustes in validation $R^2$ (0.58–0.66 vs. 0.41) and cosine (0.77–0.81 vs. 0.65), yet trail Orthogonal Procrustes on every core task because anisotropic shrinkage compresses Q4 anchor modes 7.1× harder than Q1 and lowers target probe cosine 3.1×–6.7× (0.065–0.141 vs. 0.434).
Transfer a frozen source mean-shift probe (gamma = 1.0) onto a target model of any width (A_anc, B_anc), folding the map into one target dot product at serving time:
import numpy as np
# A_anc: (N, d_A), B_anc: (N, d_B) unlabeled anchors; X_pos, X_neg: source-only labeled states
A0, B0 = A_anc - A_anc.mean(0), B_anc - B_anc.mean(0)
Q_A, R_A = np.linalg.qr(A0.T, mode="reduced")
Q_B, R_B = np.linalg.qr(B0.T, mode="reduced")
U, s, Vt = np.linalg.svd(R_B @ R_A.T, full_matrices=False)
r = int(np.sum(s > 1e-5 * s[0]))
w_src = X_pos.mean(0) - X_neg.mean(0) # mean-shift probe (gamma = 1.0)
w_tgt = Q_B @ (U[:, :r] @ (Vt[:r, :] @ (Q_A.T @ w_src))) # offline-folded target head (16 KB)
scores = (H_tgt_test - B_anc.mean(0)) @ (w_tgt / np.linalg.norm(w_tgt)) # single dot product at serving1. Folded Procrustes vs. Multi-Layer Global Relative Representations (N = 600 SQuAD, Canonical All-30)
Method (N = 600 SQuAD) |
4T AUROC (Ret.) | hh-rlhf |
XSTest |
TruthfulQA |
MATH-500 |
deepset ( |
XSTest Recall @ ~5% FAR |
Memory (fp16) |
Layers | CPU p95 (4t) |
|---|---|---|---|---|---|---|---|---|---|---|
Folded Procrustes (mean_shift, d=0.6) |
0.878 (93.9%) | 0.978 | 0.966 | 0.806 | 0.771 | 0.781 | 81.1% (5.0%) | 7 KB | 1 | 0.0012 ms |
Folded Procrustes (l2_lr(C*), d=0.6) |
0.820 (76.1%) | 0.976 | 0.893 | 0.770 | 0.689 | 0.797 | 50.7% (5.3%) | 7 KB | 1 | 0.0012 ms |
Bakker Global Raw (l2_lr(C*)) |
0.712 (51.8%) | 0.956 | 0.599 | 0.643 | 0.680 | 0.698 | 6.2% (5.3%) | 148.2 MB | 32–48 | 6.94 ms |
Bakker Global Raw (mean_shift) |
0.706 (51.0%) | 0.725 | 0.815 | 0.594 | 0.674 | 0.507 | 40.6% (5.6%) | 148.2 MB | 32–48 | 6.94 ms |
Bakker Global Layer-L2Norm (l2_lr(C*)) |
0.735 (56.9%) | 0.958 | 0.678 | 0.697 | 0.707 | 0.815 | 15.0% (5.3%) | 148.2 MB | 32–48 | 6.94 ms |
Fixed-Depth RelRep Cosine (l2_lr(C*), d=0.6) |
0.748 (57.4%) | 0.950 | 0.745 | 0.647 | 0.691 | 0.644 | 23.5% (5.3%) | 4.1 MB | 1 | 0.103 ms |
Paired 4-task deltas all keep strictly positive two-way (source [+0.0514, +0.1980]), +0.1582 mean_shift vs. Bakker l2_lr ([+0.1122, +0.2551]), +0.1901 matched mean_shift ([+0.1331, +0.3757]), and +0.1474 vs. Layer-L2Norm ([+0.0774, +0.2153]).
| Map Family | Val N=20k) |
Val Cosine (N=20k) |
4T AUROC (N=600) |
4T AUROC (N=20k) |
Probe Cos (N=20k) |
Test SNR (N=20k) |
CPU p95 (4t) |
|---|---|---|---|---|---|---|---|
Orthogonal Procrustes (M0) |
0.2274 | 0.6472 | 0.8823 | 0.8911 | 0.434 | 2.17 | 0.0027 ms |
Scaled Procrustes (M0s, |
0.4105 | 0.6473 | 0.8824 | 0.8911 | 0.434 | 2.17 | 0.0027 ms |
Whitened Rotation (M1, CV) |
— | 0.6805 (N=600 CV) | 0.8511 (canon.) | — | — | — | 0.0027 ms |
Ridge Regression (M2) |
0.6557 | 0.8020 | 0.8668 | 0.8704 | 0.086 | 1.96 | 0.0027 ms |
Procrustes + ResMLP (M3) |
0.5799 | 0.7651 | 0.8677 | 0.8676 | 0.125 | 2.03 | 5.0736 ms |
MLP from Scratch (M4) |
0.6366 | 0.7923 | 0.8420 | 0.8488 | 0.065 | 1.78 | 1.8795 ms |
Kernel Ridge RBF (M5) |
0.6605 | 0.8053 | 0.8558 | 0.8746 | 0.141 | 1.99 | 0.9773 ms |
| Anchor Bank & Map | 4T ms
|
hh-rlhf |
XSTest |
TruthfulQA |
MATH-500 |
deepset (ms) |
deepset (lr, |
|---|---|---|---|---|---|---|---|
100% SQuAD (N = 600, Procrustes) |
0.878 | 0.978 | 0.966 | 0.806 | 0.771 | 0.781 | 0.835 |
4-Domain Mixed (N = 600, Procrustes) |
0.880 | 0.980 | 0.973 | 0.810 | 0.768 | 0.887 (+0.095) | 0.944 (+0.099) |
Unlabeled In-Domain (N <= 600, Procrustes) |
0.902 | 0.983 | 0.978 | 0.857 | 0.785 | 0.914 | 0.956 |
1D Score Distillation (100% SQuAD, N = 600) |
0.850 | 0.967 | 0.935 | 0.747 | 0.752 | 0.690 | 0.791 |
1D Score Distillation (4-Domain Mixed, N = 600) |
0.867 | 0.974 | 0.967 | 0.790 | 0.764 | 0.855 | 0.930 |
1D Score Distillation (Unlabeled In-Domain, N <= 600) |
0.903 | 0.982 | 0.978 | 0.870 | 0.782 | 0.911 | 0.972 |
Procrustes beats per-probe 1D Ridge score distillation on neutral SQuAD (+0.034 4T ms, two-way CI [+0.014, +0.044]) and 4-Domain Mixed anchors (+0.013, two-way CI [+0.007, +0.022]) with one shared task-agnostic rotation; on unlabeled in-domain anchors, 1D distillation ties mean_shift (0.903 vs. 0.902, two-way [-0.007, +0.007]) and slightly edges l2_lr (deepset 0.972 vs. 0.956) at the cost of fitting a separate target vector per probe.
| Task | New-18 ms (Ret.) |
New-18 l2_lr(C*)
|
Single-Src Med (6T) | LOFO Multi-Src (N=600) |
$\Delta$AUROC (Gap Closed) | 6T Joint (target × item) 95% CI |
Combined 20k+Multi (Post-hoc) |
|---|---|---|---|---|---|---|---|
| Anthropic/hh-rlhf (ceiling) | 0.9784 (99.0%) | 0.9762 | 0.9788 | 0.9823 | +0.004 (61.0%, 6/6) | [+0.0001, +0.0073] |
0.9819 |
| Paul/XSTest (from JBB) | 0.9650 (96.5%) | 0.8906 | 0.9674 | 0.9761 | +0.006 (45.7%, 5/6) | [+0.0023, +0.0128] |
0.9753 |
| TruthfulQA (QID-grouped) | 0.8054 (86.6%) | 0.8020 | 0.8082 | 0.8213 | +0.018 (43.5%, 6/6) | [+0.0121, +0.0288] |
0.8375 |
|
MATH-500 ( |
0.7649 (94.4%) | 0.6987 | 0.7710 | 0.7810 | +0.012 (38.3%, 6/6) | [+0.0001, +0.0530] |
0.7826 |
1,000-resample paired test-item and joint pair × item bootstraps (results/v9b_item_bootstrap.json) confirm strictly positive CIs across core ms − l2_lr (XSTest, TruthfulQA, MATH-500), Mixed deepset (XSTest/TruthfulQA/deepset, and 4/4 LOFO 6-target joint CIs, while honestly flagging modest-split MATH-500 ([-0.003, +0.037]) crossing zero.
-
OOD Prompt Injection (clean deduplicated
n = 392xTRam1 -> deepsetn = 116): Source-centeredl2_lr(C=1.0)reaches 0.8455 (Orig-12) / 0.8359 (All-30) onSQuAD(canonicalC*: 0.835SQuAD-> 0.944 Mixed -> 0.956 In-Domain), ahead of MiniLM (0.7878) and TF-IDF (0.5896). -
Behavioral Sycophancy 3-Term Decomposition (Orig-12 means, depth
0.6): On Shared Counter-Bias prompts ($\kappa = 0.263$ ),mean_shift's gap (+0.1147) is 98.3% label shift and 1.7% direction loss (l2_lr: 50.6% / 49.4%); on All-300 prompts ($\kappa = 0.530$ ),mean_shiftsplits 31.2% label shift / 68.8% direction loss (l2_lr: 63.9% / 36.1%). -
Open Limits: Short-trained last-token probes drop on 4K-token indirect injections (
0.72l2_lr/0.76mean_shiftvs.0.84TF-IDF) and 20-query adaptive suffix evasion (0.99 -> 0.95AUROC; 4-layer zero-VRAM ensemble cuts loss by 35%).
All 16 pre-registered evaluations (v3–v9b, matching Appendix D of arXiv:2611.41870) are archived in preregistration/.
Pre-registration rules for v9 and v9b were committed prior to compute in the internal development repository at commits 4169438 and c2260c0; earlier internal development history was cleaned for this public weight-free release, and the verbatim pre-execution rule files pre_registered_v8_rules.json, pre_registered_v9_rules.json, and pre_registered_v9b_rules.json are included directly under preregistration/.
.
├── README.md # Overview, Figure 4, 10-line quickstart, v2 tables, BibTeX
├── LICENSE # MIT License (2026 Engin Deniz Alpman / RuneLab.ai)
├── CITATION.cff # Structured citation metadata (arXiv:2611.41870)
├── assets/
│ ├── fig1.png # Figure 1: Read-only transfer pipeline
│ └── fig4.png # Figure 4: Map-side fit vs. transfer dissociation
├── data/
│ ├── hard_negatives_100.json # 100 audited synthetic trigger-word hard-negative prompts
│ └── split_and_dedup_indices.json # Deterministic split metadata, dedup indices, SHA-256 hashes
├── preregistration/
│ ├── README.md # Overview of all 16 pre-registered evaluations (Appendix D)
│ ├── 01_*.json .. 16_*.json # Structured records for all 16 pre-registered studies
│ └── pre_registered_v{8,9,9b}_rules.json # Verbatim pre-execution v8/v9/v9b rule files
├── results/
│ ├── summary_*.json # 14 verified v1-v7 JSON result summaries
│ ├── v8_*.json # 3 verified v8 JSONs (Bakker, mixed anchors, map mechanism)
│ ├── v9_*.json # 3 verified v9 JSONs (canonical tables, in-domain, two-way CIs)
│ └── v9b_*.json # 2 verified v9b JSONs (1D score distillation, item bootstrap)
└── scripts/
├── verify_paper_numbers.py # Self-contained audit of all 22 JSONs, 16 preregs, README & data
├── generate_figures.py # Reproduces all publication vector PDF + PNG figures
├── build_paper_tables.py # Reproduces v1-v7 LaTeX tables from results/*.json
├── build_v8_tables.py # Reproduces v8 LaTeX tables from results/v8_*.json
├── eval_*.py # Alignment, probe-side, map-side, 4-family, v8, v9 & v9b evaluators
├── extract_*.py # Prefill hidden-state extractors (4-family, v6, A3, v8, v9, v9b)
├── run_paper2_final_local_checks.py # Pre-registered Check #5 & post-hoc Combined Best Recipe
└── run_v7_revision_checks.py # Revision checks A1, A2, A4, and A5
pip install numpy scipy scikit-learn matplotlib pymupdf
# Optional (needed only to re-extract hidden states or run PyTorch / GPU evaluators):
pip install torch transformers datasets huggingface_hub sentence-transformerspython scripts/verify_paper_numbers.pypython scripts/eval_v9_twoway_bootstrap.py
python scripts/generate_figures.py
python scripts/build_paper_tables.py
python scripts/build_v8_tables.py4. Re-Run Downstream Evaluators from Extracted Hidden States
Raw float16 activation caches are multi-gigabyte and derived from third-party datasets, so they are not redistributed in git. Extract prefill activations using scripts/extract_*.py (verifying split integrity against data/split_and_dedup_indices.json), then run the evaluators (scripts/eval_four_family.py, scripts/eval_map_family_cpu.py, scripts/eval_nonlinear_maps.py, scripts/eval_v8_map_mechanism.py, scripts/eval_v8_bakker_and_mixed.py, scripts/eval_v9_canonical_and_indomain.py, and scripts/eval_v9b.py).
If you find this paper, code, or verified dataset useful, please cite:
@misc{alpman2026trainonce,
author = {Engin Deniz Alpman and H{\"u}seyin Oktay Altun},
title = {Train Once, Transfer Where? Better Alignment Does Not Mean Better Probe Transfer},
year = {2026},
month = {December},
eprint = {2611.41870},
archivePrefix = {arXiv},
primaryClass = {cs.LG},
url = {https://arxiv.org/abs/2611.41870}
}
