Linear probes transfer from base models to distilled language models despite direction rotationLinear Probes Transfer from Base to Distilled Language Models despite Rotation
The authors test whether a harmful-request linear probe trained on base models can be directly reused on distilled and instruction-tuned successor models: across four model families, the AUC change is only −0.015 to +0.053.
- Auditors use linear probes to monitor harmful requests, but models are constantly replaced by distilled and instruction-tuned successors, and retraining probes each time is costly; it is unclear whether probes can be reused directly, and whether what they read goes beyond the surface vocabulary of the text.
- On four base models (Qwen2.5-Math-7B, Llama-3.1-8B, Qwen2.5-14B, Qwen2.5-32B), train single-layer logistic regression probes on XSTest, apply them unchanged to the respective DeepSeek-R1 distilled and instruction-tuned versions, measure the AUC change and the rotation angle of the safety direction, and compare with a text-only classifier.
- On XSTest the change in AUC of transferred probes is −0.011 to +0.027, and on the independent OR-Bench set it is −0.015 to +0.053; the safety direction rotates by 17°–35° but the rotation magnitude does not predict precision loss. The probes are 0.15–0.20 AUC higher than the text-only classifier on XSTest, the advantage shrinks to 0.03–0.20 on OR-Bench, and they misflag 29%–42% of benign prompts that sound harmful.
- The authors note: the probes are based on only 450 prompts, and the shared training groups across XSTest folds make the intervals narrow; only four Qwen2.5/Llama-3.1 families and one distillation recipe were tested; model behavior was not tested and no causal test was performed; OR-Bench labels are moderation labels rather than independent ground truth; instruction-tuned models were run on the original prompts.
- Evaluated models
- Qwen/Qwen2.5-Math-7Bmeta-llama/Llama-3.1-8BQwen/Qwen2.5-14BQwen/Qwen2.5-32Bdeepseek-ai/DeepSeek-R1-Distill-Qwen-7Bdeepseek-ai/DeepSeek-R1-Distill-Llama-8Bdeepseek-ai/DeepSeek-R1-Distill-Qwen-14Bdeepseek-ai/DeepSeek-R1-Distill-Qwen-32BQwen/Qwen2.5-Math-7B-Instructmeta-llama/Llama-3.1-8B-InstructQwen/Qwen2.5-14B-InstructQwen/Qwen2.5-32B-Instructhkust-nlp/Llama-3.1-8B-SimpleRL-Zoohkust-nlp/Qwen-2.5-14B-SimpleRL-Zoohkust-nlp/Qwen-2.5-32B-SimpleRL-Zoo
- Benchmarks
- XSTestOR-Bench (or-bench-hard-1k, or-bench-toxic)Alpaca
- Metrics
- AUCAUC changesafety direction rotation angleshare of class separation keptflagged rate at threshold
The researchers trained linear probes to detect harmful requests on the XSTest prompt set using four base models (Qwen2.5-Math-7B, Llama-3.1-8B, Qwen2.5-14B, Qwen2.5-32B), and applied them unchanged to DeepSeek-R1 distilled reasoning models and the corresponding developers' instruction-tuned chat models. Results show that the successor models rotated the direction distinguishing unsafe from safe prompts by 17° to 35°, but the transferred probes' AUC on XSTest changed by only -0.011 to +0.027, and on OR-Bench, which was not used for training, by -0.015 to +0.053. On XSTest, where safe prompts deliberately contain scary words, the probes were 0.15 to 0.20 AUC higher than a classifier that only looks at the prompt text; on OR-Bench this advantage shrank to 0.03 to 0.20, and the probes misclassified 29% to 42% of prompts that sound harmful but are actually harmless as harmful, indicating that part of what the probes read is the appearance of harm rather than harm itself.
Paper analysis
What problem does this paper attempt to solve?
Whether a linear probe for harmful requests trained on a base model can be reused directly on distilled and instruction-tuned successor models.
Core question: whether a linear probe for harmful requests trained on a base model can be reused without modification on that base's distilled and instruction-tuned successor models, and whether what the probe reads goes beyond the prompt text itself.
- Application scenario: a linear probe needs only a few hundred labeled samples and one matrix multiplication, making it suitable for third-party audits with access to model internals (Casper et al., 2024). Within months of a base model's release, successor versions such as distilled reasoning models and instruction-tuned chat models appear, and re-collecting labels, extracting activations and retraining probes for each successor is costly.
- Shortcomings of existing methods: the authors relay the results of Wang et al. (2026), saying that probes for detecting malicious inputs rely on directive phrasing and trigger words, that a simple word-count classifier can match them, and that they fail on new distributions; moreover, no prior work has measured probe transfer on distilled reasoning models, the movement of the relevant direction, or whether the two agree.
- Core assumption: the authors call it the preserved-representation assumption—the successor model preserves the base model's internal representation of harmfulness well enough that a linear classifier fitted on the base can still separate harmful from benign prompts in the successor. Results from Jain et al. (2024) and Prakash et al. (2024) on fine-tuning preserving internal computation give some reason for this, but the authors note that distillation is a heavier intervention than the fine-tuning in those studies.
- Contributions of the paper: directly test this assumption on four model families, while measuring the rotation angle of the safety direction to compare representation change with precision loss, add a text-only classifier baseline, and repeat the main comparison on an independent set of 2,474 prompts never used for training. The authors explicitly do not study models trained with pure reinforcement learning: in a preliminary experiment, the per-prompt activation cosine between these checkpoints and the base reaches above 0.9998, making it impossible to test whether the probe can withstand change (Section C).
What related research exists?
Related work covers the effect of fine-tuning on internal representations, the transfer of base tools to chat models, and whether probes read only surface textual cues.
Effects of fine-tuning on model internals
- Jain et al. (2024)—trained models on synthetic tasks and found that fine-tuning adds a thin layer of structure on top of existing capabilities rather than rebuilding them.
- Prakash et al. (2024)—traced the computation of entity-attribute tracking and found that the same set of components does the same thing before and after fine-tuning, only more strongly.
- Minder et al. (2025) used a crosscoder to compare features of base and chat models; Nguyen et al. (2026) showed that how refusal is computed depends on the post-training method, with some methods producing different refusal mechanisms. The authors summarize from this: fine-tuning preserves most representations but may change the part targeted by safety training.
Whether base tools can be used on their fine-tuned versions
- Kissane et al. (2024a)—sparse autoencoders trained on the base used on chat models: on Mistral-7B they recover 98.85% of the next-token prediction loss (the chat model's own dictionary gives 99.01%), but reconstruction on Gemma v1 2B is poor, showing that dictionary transfer is not guaranteed to succeed.
- Galichin et al. (2026)—measured across Gemma-2, Llama-3, Qwen2.5: base dictionaries reconstruct chat activations 7%–8% worse, and the trigger patterns of shared features change, which they call feature drift.
- Shrivastava & Holtzman (2025)—closest to this paper's question, finding that linear probes trained on the base often transfer to instruction-tuned versions; the sleeper agent detection direction of MacDiarmid et al. (2024) generalizes across different hidden goals on the same base but not across bases.
What harmful-request probes read
- Gururangan et al. (2018)—established the partial-input baseline: before attributing performance to the model using the full input, first check the performance of a classifier that sees only part of the input; this paper's text-only comparison follows this idea.
- Wang et al. (2026)—applied this test to malicious-request probes and obtained a negative result: the probes rely on directive phrasing and trigger words, a word-count classifier matches them, and neither generalizes to new distributions; the authors say their independent-set experiment partly reproduces this result.
- Bergen et al. (2026)—difference-of-means probes transferred to an untrained evaluation setting; the authors note that their transfer is a fixed model with a changed task, whereas this paper is a fixed task with a changed model. Arditi et al. (2024) and Kissane et al. (2024b) show that base models have refusal-related structure, which is a precondition for base probes to be feasible.
Baselines and benchmarks: the text-only baseline is TF-IDF + logistic regression (C=1), with four inputs: words, word pairs, character 3–5 grams, and length; evaluation uses XSTest (450 prompts) and an independent set (OR-Bench hard 1,319, OR-Bench toxic 655, Alpaca 500).
The authors position the paper's difference: prior transfer results target instruction tuning or autoencoders, and probe-quality results target a single model, whereas this paper is the first to measure probe transfer, direction movement and the relationship between them on distilled reasoning models, with a text-only baseline under the same evaluation and an independent evaluation set.
How does the paper address this problem?
Train a single-layer logistic regression probe on the base model, apply it unchanged to distilled and instruction-tuned successors, and compare the change in AUC and the safety direction rotation angle.
Overall approach: train one harmful-request linear probe on each of four base models, apply it unchanged to two successor models (DeepSeek-R1 distilled version, developer instruction-tuned version), measure AUC loss, and simultaneously measure the rotation angle of the safety direction, so that the magnitude of representation change can be compared with the accuracy loss.
Models and data
- Four model families (Table 1): bases are Qwen2.5-Math-7B, Llama-3.1-8B, Qwen2.5-14B, Qwen2.5-32B; each family's successors are the corresponding DeepSeek-R1-Distill distilled model (supervised fine-tuning on 800k DeepSeek-R1 samples, no reinforcement learning stage) and the developer's Instruct chat model. The three models in the same family share architecture and tokenizer.
- Training set XSTest: 250 safe prompts (10 categories, including homophones, metaphors, historical events, etc.) plus 200 unsafe prompts (8 contrast categories, sharing alarming wording with the safe categories), labeled safe/unsafe as annotated in the file.
- Independent evaluation set: OR-Bench hard 1,319 items (sound harmful but judged safe), OR-Bench toxic 655 items, Alpaca ordinary instructions 500 items, 2,474 items in total after deduplication, never used for training.
Probes and activations
- Activation extraction: take the residual-stream vector after a certain layer, average over the last 8 tokens of the prompt; prompts are input as raw text, without chat template and start token, so that the base and successor see exactly the same tokens.
- Probe form: single-layer logistic regression, each coordinate first standardized (subtract mean, divide by standard deviation), regularization strength C=1 (scikit-learn default). The probe score is w · x + b, i.e., the projection of the standardized activation x onto the weight vector w plus bias; therefore activation movement perpendicular to the w direction does not change the score.
Measurement of transfer and rotation
- Transfer: apply the base probe (including the base's standardization parameters) as-is to the successor model's same-layer activations, compare the difference from the AUC on the base; additionally train a probe on the successor model at the same layer with the same data as an upper bound (own probe).
- safety direction: mean activation of unsafe categories minus mean activation of safe categories in the training prompts, normalized to unit length; the rotation angle is the angle between the base and successor safety directions, with both models' activations first divided by the base's per-coordinate standard deviation to place them in the same coordinate system (base-scaled; Table B.4 shows that under alternative conventions the cosine differs by at most 0.013).
Evaluation protocol
- XSTest 8-fold: the 18 prompt types are merged into 8 groups by shared alarming wording; each fold holds out one group for testing and trains on the remaining seven groups; layer selection uses only the training groups (a mean-difference reader selects the best layer by cross-validation within the seven groups), so the selected layer can differ across folds (e.g., qwen-14b between 27–45).
- Uncertainty: report the 8-fold mean and Student's t (7 degrees of freedom) 95% intervals; the authors explicitly state that the folds share 6/7 training groups and that the intervals are narrower than the true uncertainty, calling them nominal intervals, and that conclusions rely on cross-family consistency and the independent set rather than on any single interval. A control is also run with one fixed layer per family (18, 17, 40, 43).
- Independent set: the probe and text classifier are trained once on all 450 XSTest items, using the fixed layer; intervals are obtained from 1,000 bootstraps over the 2,474 prompts (2.5–97.5 percentiles).
- Separation retention ratio: convert AUC to class separation via d′ = √2 Φ−1(AUC), and define the separation ratio retained by the transferred probe as the transferred probe's d′ divided by the successor's own probe's d′; if the loss were caused only by the rotation angle θ, this ratio should equal cos θ (derivation in Section B.1, which the authors call a reference point rather than a data model).
What experiments did the paper conduct?
Across four families, the change in AUC of transferred probes ranges from −0.015 to +0.053; rotations of 17°–35° do not predict loss; the probe's advantage over text depends on the test set.
Experimental setup
- Models tested: three models from each of four families—base Qwen2.5-Math-7B, Llama-3.1-8B, Qwen2.5-14B, Qwen2.5-32B, and their respective DeepSeek-R1-Distill distilled versions and Instruct instruction-tuned versions (Table 1); the 32B models were loaded in 4-bit (NF4), the rest in bfloat16.
- Data: XSTest 450 prompts (250 safe + 200 unsafe, 8-fold grouped cross-validation); independent set 2,474 prompts (OR-Bench hard 1,319, OR-Bench toxic 655, Alpaca 500).
- Baselines: a text-only classifier (TF-IDF + logistic regression, C=1), with the best of four inputs, character 3–5 grams, as the baseline in the figures; the successor model's own probe as the upper bound on that model.
- Metrics: AUC and the change in AUC caused by transfer; safety direction rotation angle; fraction of separation retained; fraction flagged at the default threshold (score 0).
- Repetitions and intervals: XSTest uses the 8-fold mean + nominal 95% interval (t, 7 degrees of freedom, which the authors note is narrower than the true uncertainty); the independent set uses 95% intervals from 1,000 bootstraps.
- Evaluation method: no LLM judging is involved; labels are taken directly from the XSTest file annotations and the OR-Bench moderation labels.
Main results
Change in AUC when base probes are transferred unchanged on XSTest (from Table B.1, layer selected per fold, 8-fold mean):
Swipe horizontally to read the table
Family (base AUC) Distilled: change Distilled: angle Instruction-tuned: change Instruction-tuned: angle math-7b (0.878) −0.003 ± 0.042 34.9° −0.006 ± 0.028 33.6° llama-8b (0.908) −0.011 ± 0.023 35.1° +0.017 ± 0.021 24.2° qwen-14b (0.899) +0.003 ± 0.017 31.2° +0.027 ± 0.012 17.4° qwen-32b (0.931) +0.010 ± 0.016 30.5° +0.006 ± 0.011 17.1° - None of the intervals for the distilled models exclude zero; among the instruction-tuned models, only the gain interval for qwen-14b excludes zero. The authors emphasize that this is "similar observed precision" rather than a proof of equivalence: the lower ends of the distilled-model intervals range from −0.045 to −0.006, and the intervals themselves are narrow.
- On the independent set (OR-Bench hard vs toxic, Table B.2) the changes are likewise small: distilled −0.015 to +0.042, instruction-tuned +0.011 to +0.053 (all gains); the fixed-layer control (Table B.3) gives the same conclusion.
- The successor models' own probes score higher than the base probe on the base in all eight cases (distilled +0.003 to +0.026, instruction-tuned +0.016 to +0.052, Table B.1); the authors say the successor models are in fact easier to separate.
Relationship between rotation and change in precision
- Rotation magnitude: distillation rotates the safety direction by 30.5°–35.1°, instruction tuning by 17.1°–33.6° (Table B.1); in Figure 2b there is no visible relationship between angle and change in AUC—the four largest rotations (30°–35°, all distillation) correspond to changes from −0.011 to +0.010.
- Control directions: 38 safety-unrelated control directions (35 prompt-group splits, whether the first word is "How", whether it contains a capitalized word, whether it is longer than the median) rotate by amounts comparable to the safety direction under distillation; the authors say the 30°–35° rotation is a general phenomenon of directions in these models, and the safety direction is not anomalous (Figure B.2).
- Beyond angle prediction: if the loss were caused only by rotation, the fraction of separation retained should be cos θ (about 87% at 30°); on the distilled models the measured retention is 98%, 88%, 92%, 95% (Figure 1c, Table B.5), 6–16 percentage points higher (family-level p=0.035, which the authors describe as exploratory, based on four numbers). The authors consider this consistent with part of the rotation falling in directions perpendicular to the probe weights; on the instruction-tuned models the sign of the difference varies (p=0.84).
What the probes read beyond the text
- On XSTest: the best text-only classifier (character 3–5 grams) has AUC 0.728, versus 0.878–0.931 for the probes; the probes win in all 4 families and 8 folds in the per-fold comparison, higher on average by +0.149, +0.179, +0.171, +0.203 (Figure 3a, Table B.6).
- On the independent set: probe AUCs are 0.747, 0.669, 0.702, 0.840, and the margin over the text classifier also trained on XSTest (0.640) shrinks to 0.11, 0.03, 0.06, 0.20, with the two intervals overlapping on llama-8b; the authors say this partly reproduces the negative result of Wang et al. (2026).
- Response to surface harmfulness: at the default threshold (score 0), the base probes flag 59%–81% of OR-Bench toxic (true positives) and 0%–3% of Alpaca, but also flag 29%–42% of benign OR-Bench hard prompts that sound harmful; after transfer to the distilled models this fraction is 38%–68% (Figure 3b, Table B.2).
Other ablations and analyses
- Threshold transfer: with the threshold set to capture 90% of unsafe prompts on XSTest, only 19%, 22%, 22%, 34% of OR-Bench toxic are captured (Table B.2).
- Fixed-layer control: XSTest transfer changes are distilled −0.013 to +0.011, instruction-tuned −0.006 to +0.027 (Table B.3).
- All-layer sweep: rotation appears at every layer of every network; the worst single-layer transfer loss is −0.030 (llama-8b distilled, layer 24, Figure B.1).
- Coordinate-system convention: base-scaled and own-scaled cosines differ by at most 0.013 (at the selected layer) and 0.025 (any layer); raw cosines are high and unstable (Table B.4).
- Vocabulary projection (exploratory): in qwen-14b and qwen-32b, the high-scoring words decoded from the safety direction via the logit lens are, both before and after distillation, words that appear in unsafe prompts, with no refusal words; the authors describe this as an indirect interpretation that carries no conclusion (Section B.3).
- Preliminary experiment (negative result): the per-prompt activation cosine between the pure reinforcement-learning checkpoints and the base is ≥0.9998, and the base probe's AUC changes by at most 0.002, so it is impossible to test whether the probe can withstand change; hence it is not included in the main text (Section C).
What are some points that can be further explored?
The authors list limitations including training data size, dependence between folds, the nature of the labels, and the single model family; the experiments cover only four families and one distillation recipe.
Limitations noted by the authors and future directions
- Training data size and dependence between folds (Section 6 Limitations): the probe is trained on only 450 prompts, and any two XSTest folds share 6 of the 7 training groups, so the intervals are narrower than the true uncertainty; conclusions should rely on cross-family and independent-set consistency.
- Labels and measurement scope (Section 6): labels are statements that "a well-calibrated model should refuse"; the paper does not measure any model behavior and does not perform causal tests.
- Nature of the independent-set labels (Section 6): OR-Bench labels are that benchmark's moderation operational labels, not an independent ground truth of harmfulness; conclusions about that set are only conclusions about these labels.
- Operating conditions (Section 6): instruction-tuned models are run on raw prompts, outside their chat format.
- Probe form (Section 6): the probe is linear and reads only one layer, and may miss nonlinearly encoded or cross-layer distributed information.
- Coverage and untuned parameters (Section 6): all four families are Qwen2.5 or Llama-3.1 bases, with one distillation recipe; the two 32B models are loaded in 4-bit precision; the 8-token pooling window is not tuned. Section 6 also notes that whether the results apply to other base models or other distillation recipes is untested.
Experimental coverage
- The models tested are 12 models in 4 families: 4 bases, 4 DeepSeek-R1 distilled versions, 4 instruction-tuned versions (Table 1).
- Training data is only the 450 XSTest items; the independent evaluation set is 2,474 items, from two OR-Bench subsets and Alpaca (Section 3).
- Successor types cover only distillation (one recipe, supervised fine-tuning on 800k DeepSeek-R1 samples) and instruction tuning; pure reinforcement learning checkpoints are excluded because they show almost no change from the base (Section C).
- The probe is single-layer logistic regression (C=1), with pooling as the mean of the last 8 tokens; the text baseline is TF-IDF logistic regression (Section 4).
- The paper does not report end-to-end latency or cost figures for deploying the probe as a filter; the authors state that the XSTest intervals cannot be used as precise uncertainty estimates.
Summarize the main content of the paper
Across four model families, harmful-request probes trained on the base can be reused as-is on distilled and instruction-tuned successors, but their advantage over text depends on the test set.
An empirical study on the reusability of linear probes: whether harmful-request probes trained by auditors on a base model can be used directly when the model is replaced by a distilled or instruction-tuned successor.
- Problem: retraining probes requires re-labeling and re-extracting activations; and prior work (Wang et al., 2026) questions whether such probes are merely keyword detectors.
- Method: train single-layer logistic regression probes on four bases—Qwen2.5-Math-7B, Llama-3.1-8B, Qwen2.5-14B, Qwen2.5-32B—using XSTest (450 prompts), apply them unchanged to the respective DeepSeek-R1 distilled and Instruct versions, measure the change in AUC and the safety direction rotation angle, and pair this with a text-only baseline and an independent evaluation set of 2,474 prompts.
- Transfer results: on XSTest the change in AUC is −0.011 to +0.010 (distilled) and −0.006 to +0.027 (instruction-tuned); on the independent OR-Bench set it is −0.015 to +0.053 (Table B.1, B.2). The authors emphasize that this is similar observed precision rather than a proof of equivalence.
- Rotation does not predict loss: the safety direction is rotated by 17°–35°, but the rotation magnitude is comparable to 38 unrelated control directions and does not predict the change in AUC; the class separation retained by the transferred probes (88%–98%) is higher than the cos θ prediction, which the authors say is consistent with part of the rotation falling in directions perpendicular to the probe weights (exploratory, p=0.035).
- Text comparison: the probes are 0.15–0.20 AUC higher than the best text classifier on XSTest, shrinking to 0.03–0.20 on OR-Bench; at the default threshold they misflag 29%–42% of benign prompts that sound harmful, and a threshold set on XSTest detects only 19%–34% of toxic prompts on OR-Bench.
- Authors' conclusion: in these families, base probes can be reused after distillation and instruction tuning; direction similarity is not a reliable basis for whether a probe is still effective and should be measured directly; a text-only baseline should be placed next to every probe, thresholds need to be recalibrated on each new dataset, and benign prompts that sound harmful are the main failure point of such probes.