Towards Understanding Subliminal Learning: When and How Hidden Biases Transfer

Simon Schrodi, Elias Kempf, Fazl Barez, Thomas Brox

TL;DR

Subliminal learning occurs when a student model inherits a teacher's hidden biases (like a preference for a specific animal) even when trained on semantically unrelated data, such as lists of numbers. This paper identifies "divergence tokens"—rare instances where teachers with different biases would predict different outputs—as the primary vehicle for this transfer. Surprisingly, early model layers are critical to this process.

The Mystery of Subliminal Learning

In the world of Large Language Models (LLMs), "distillation" is a standard practice where a smaller "student" model is trained to mimic a larger "teacher." Conventional wisdom suggests that students only learn what is explicitly present in the training data. However, recent research into subliminal learning has shown that students can inherit a teacher's personality traits or biases even when the training data is totally unrelated to those traits. For example, a student trained purely on number sequences generated by a teacher that "loves cats" might inexplicably inherit that same feline affinity.

Subliminal learning transfers hidden biases through unrelated data

While this makes sense in "soft distillation" (where the student sees the teacher's full probability distribution for every word), it is baffling in "hard distillation," where the student only sees the final sampled text. Previous theories suggested this happened because certain numbers might be "entangled" with concepts. This paper investigates whether those theories hold up and seeks a more precise mechanistic explanation for how these "ghosts in the machine" move from teacher to student.

Uncovering "Divergence Tokens"

The authors conducted controlled experiments using models like Qwen2.5-7B and Gemma 3-4B. Their core novelty lies in identifying the exact mechanism of transfer: divergence tokens.

Divergence tokens are identified by comparing biased and counterfactual teachers

The approach involved:

  1. Biasing the Teacher: Using system prompts to induce a specific bias (e.g., "You love cats").
  2. Data Generation: Having the biased teacher complete unrelated tasks, specifically continuing sequences of numbers.
  3. Identifying Divergence: They compared the biased teacher against "counterfactual" teachers (e.g., prompted to love owls). Divergence tokens are the specific points in a sequence where the biased teacher picks a different number than a teacher with a different bias would have.
  4. Mechanistic Analysis: Using causal mediation analysis and attribution patching to pinpoint which layers of the neural network were most responsible for processing these biases.

Key Insights and Results

  • Divergence Tokens Drive the Transfer: Subliminal learning isn't a "leak" across the whole dataset. It's driven by a tiny fraction of tokens (as few as 4.7% of the data). If you mask these few tokens during training, the bias transfer vanishes. If you train only on them, the bias transfers perfectly.
  • Early Layers Matter Most: Contrary to the idea that bias is a "high-level" concept handled at the end of a model, the authors found that early layers (e.g., Layer 0 or 7) are the most critical. Finetuning just one of these early layers is sufficient to transfer the bias, while finetuning late layers does almost nothing.
  • Beyond "Entanglement": The authors proved that subliminal learning persists even when you remove "entangled" tokens (numbers statistically linked to concepts) and use "greedy sampling" (which prevents the student from seeing the teacher's broader probability distribution).
  • The Transfer is Fragile: The subliminal effect is easily broken. Simply paraphrasing the prompt—even if the meaning remains identical—is often enough to stop the student from picking up the teacher's bias. Furthermore, including just 25-50% of data from an unbiased teacher suppresses the effect significantly.

Limitations and Future Work

While groundbreaking, the study acknowledges several limitations. Most experiments relied on highly structured number sequences, leaving it unclear if these findings translate perfectly to complex, natural language distillation tasks. Additionally, some models (like Llama-3.2) showed almost no susceptibility to subliminal learning in these tests, a discrepancy that requires further investigation.

Ultimately, understanding divergence tokens could lead to better ways of "sanitizing" distillation data. By identifying and masking these critical tokens, developers could prevent the accidental transfer of harmful biases or misaligned behaviors to future generations of models.

Summary updated

BibTeX
@inproceedings{schrodi2026towards,
  author = {Simon Schrodi and Elias Kempf and Fazl Barez and Thomas Brox},
  title = {{Towards Understanding Subliminal Learning: When and How Hidden Biases Transfer}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=IelhmYSjPt},
}
Figure