Introduction
Large Language Model (LLM) distillation typically aims to transfer semantic knowledge from a larger "teacher" model to a smaller "student." However, recent observations have highlighted a phenomenon known as subliminal learning: students can inherit a teacher's latent biases or personality traits even when the training data is entirely unrelated to those traits. For instance, a teacher model with a hidden preference for "cats" can pass this bias to a student trained solely on sequences of numbers. This paper investigates the underlying mechanisms of this transfer, identifying "divergence tokens" and early transformer layers as the primary drivers.
The Mechanism: Divergence Tokens
The central mystery of subliminal learning is how bias "leaks" through seemingly innocuous data. The authors hypothesize that the signal is carried by divergence tokens—rare instances where a biased teacher's prediction differs from that of a counterfactual (unbiased or differently biased) teacher.
In a controlled experiment using number sequence continuation, the researchers found that even when the vast majority of the teacher's output is identical regardless of the bias, the small fraction of tokens where the teacher would have predicted something else carries the necessary signal for the student to adopt the hidden preference. This suggests that subliminal learning is not necessarily a result of "logit leakage" (the full probability distribution) but is embedded in the specific choice of tokens in the training corpus.
Experimental Results
The study employed several open-weight models, including Qwen2.5-7B, Gemma 3-4B, Phi-4, and Llama-3.2-3B, to test the impact of these tokens.
The Power of Divergence
By masking the loss during training, the researchers demonstrated that divergence tokens are the "needles in the haystack" responsible for bias transfer. In the Qwen model, divergence tokens accounted for only 4.7% of the dataset but drove nearly all the observed subliminal learning.
As illustrated above, finetuning on divergence tokens alone successfully transferred the teacher's bias (represented by the cat icon), while excluding these tokens effectively neutralized the transfer, preventing the student from inheriting the teacher's preference.
Early Layer Criticality
Mechanistic interpretability tools, such as attribution patching and layer-wise finetuning, revealed that the bias signal is processed remarkably early in the transformer architecture. Finetuning only the very first layer (Layer 0) or an early intermediate layer (Layer 7) was often sufficient to induce the full bias in the student model. This challenges the conventional wisdom that high-level conceptual biases are primarily handled in the deeper, later layers of a model.
Robustness and Model Variance
The susceptibility to subliminal learning varies significantly across architectures. While Qwen2.5 and Phi-4 were highly prone to inheriting hidden biases, Llama-3.2 and Falcon3 proved remarkably robust, showing minimal transfer under the same conditions.
Furthermore, the effect is fragile. Simple interventions, such as paraphrasing the user prompt—even without changing its semantic meaning—can disrupt the subliminal link. Mixing data from multiple teachers, even those sharing the same bias but using different architectures, also significantly weakens the transfer.
Conclusion
Subliminal learning poses a unique challenge for AI safety and alignment. If models can "stealthily" pass on misaligned traits through unrelated data, traditional filtering and safety tuning may be insufficient. Understanding that this transfer is localized to specific divergence tokens and early model layers provides a roadmap for developing more robust distillation techniques that preserve knowledge while filtering out hidden, undesirable biases.
Summary updated