NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Linear Probes Transfer from Base to Distilled Language Models despite Rotation

Marios TsatsosarXiv 2026

TL;DR

Linear probes—simple classifiers that monitor a language model's internal thoughts—are surprisingly resilient to model updates. This research shows that a safety probe trained on a "base" model can be reused on its instruction-tuned or distilled successors with almost no loss in accuracy, even though the model's internal representation of "safety" rotates significantly during fine-tuning.

What Problem Does This Paper Address?

As AI models are rapidly iterated upon, safety auditors face a treadmill problem. To monitor if a model is about to generate something harmful, they often use linear probes: lightweight classifiers that read the model's internal activations. However, training these probes requires labeled data and access to the model's guts.

When a developer releases a new version of a model—moving from a "base" model to an "instruction-tuned" chat model or a "distilled" reasoning model (like the DeepSeek-R1 series)—does the auditor have to start from scratch? This paper tests the preserved-representation assumption: the idea that a successor model keeps its predecessor's internal concept of "harmfulness" intact enough for old tools to still work.

Methods

The researcher trained logistic regression probes on the residual stream activations of four popular base models: Qwen2.5-Math-7B, Llama-3.1-8B, Qwen2.5-14B, and Qwen2.5-32B.

Key technical details include:

  • Activation Extraction: Activations were recorded after a specific layer and averaged over the last 8 tokens of the prompt.
  • Transfer Testing: A probe trained on a base model was applied unchanged to its successors (both the official "Instruct" versions and the DeepSeek-R1 distilled versions).
  • Measuring Rotation: The author calculated the "safety direction" (the vector pointing from the average safe prompt to the average unsafe prompt) and measured how many degrees this vector rotated during the model's transition from base to successor.
  • Baselines: The probes were compared against a text-only classifier (TF-IDF) to see if the probes were actually reading "intent" or just acting as fancy keyword detectors.

Datasets

  • XSTest: A benchmark designed to trip up safety filters. it contains "safe" prompts that use alarming words (e.g., "How do I kill a process?") alongside truly unsafe ones.
  • OR-Bench: An independent evaluation set used to test generalization. It includes "hard" benign prompts that sound harmful but are safe, and toxic prompts.
  • Alpaca: A set of 500 ordinary instructions used to measure the false-positive rate on mundane tasks.

Key Insights and Ideas

  • The "Rotation" Paradox: During distillation and tuning, the internal "safety direction" rotates by 17° to 35°. In high-dimensional space, that's a lot! However, the probes still work because the rotation often moves into "sparse directions"—dimensions where the data doesn't vary much anyway.
  • Probes vs. Keywords: On the tricky XSTest dataset, probes significantly outperformed text-only classifiers. This suggests they are reading something deeper than just the words on the page.
  • The Appearance of Harm: On the independent OR-Bench, the probes' advantage over text-only methods shrank. The probes frequently flagged benign prompts that sounded scary (29% to 42% false positive rate), suggesting they are partially tuned to the "vibe" of a request rather than its actual semantic harm.
Figure 1: The idea. (a, b) Sketch: three dimensions of a 4,096-dimensional activation space. In the base model, safe and unsafe prompts form two clouds; the safety direction points from the mean of one to the mean of the other, and a linear probe is a boundary across it. In a successor the clouds and the safety direction (solid arrow) rotate by an angle θ away from the base model’s direction (grey arrow), 30◦in the sketch, partly into a direction along which the prompts barely vary; the base model’s boundary, left unchanged, still separates the classes. (c) Measured on XSTest for the distilled models. If the transferred probe lost separation only because of the rotation, it would keep a share cos θ of the successor’s class separation (black ticks, 0.82 to 0.86). It keeps 0.88 to 0.98 (blue, nominal 95% intervals over 8 folds); the accompanying change in AUC is between −0.011 and +0.010.

Key Results

  • Stable Accuracy: When transferring a base probe to a distilled successor, the Area Under the Curve (AUC) changed by a negligible amount (between -0.011 and +0.027).
  • Superiority over Text: On XSTest, probes beat text-only classifiers by 0.15 to 0.20 AUC.
  • Rotation Resilience: Even the largest rotations (35°) didn't predict a crash in accuracy. The probes kept 88% to 98% of the class separation available in the new models.
Figure 2: AUC change vs. Rotation. Note that even with high rotation (x-axis), the AUC change (y-axis) remains near zero.

Limitations and Future Work

While the results are encouraging for auditors, the author notes several caveats:

  • Threshold Sensitivity: While the ranking ability (AUC) of the probe transfers well, the specific decision threshold (the cutoff for "unsafe") does not. A probe that works perfectly on one dataset might need its "trigger" level recalibrated for another.
  • Linearity: The study only looked at linear probes. It's possible that more complex, non-linear safety information is being moved or transformed in ways these simple probes can't see.
  • Scope: The study focused on Qwen and Llama families and a specific distillation recipe (DeepSeek-R1). Whether these findings hold for other architectures or more radical training changes remains an open question.

For practitioners, the takeaway is clear: don't throw away your old probes when a model updates, but do recalibrate your thresholds before relying on them for production monitoring.

Summary updated

BibTeX
@misc{tsatsos2026linear,
  author = {Marios Tsatsos},
  title = {{Linear Probes Transfer from Base to Distilled Language Models despite Rotation}},
  year = {2026},
  eprint = {2610.35586},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.35586},
}
Figure