An Overview of Subliminal Learning

In this blog post we survey the current state of subliminal learning research. We conclude by discussing the gaps in the literature which would take these techniques from research interests to potential real world concerns.

Introduction

It is widely believed that during the training process it is the semantic meaning of the training data that is transferred. Several strands of recent research has shown this not to be the case. Emergent Misalignment demonstrates an LLM finetuned on a narrowly misaligned task (such as producing vulnerable code) will become widely misaligned across a variety of tasks (such as suggesting murder as a solution to leaving an unhappy marriage). Similar experiments have demonstrated Behaviour Belief Generalisation; where an LLM finetuned on Catholic ethical principles and separately on refusals of nonsense questions, learns to refuse any request that violates Catholic ethical principles without explicitly being trained to do so . Subliminal Learning demonstrates that during the distillation process from a teacher to student model, certain teacher traits can be transferred regardless of if they are the “semantic meaning” of the generated dataset. It is subliminal learning that we will focus on for the remainder of this blog, as we believe it is this route that is most likely to be able to turned into an attack in the future.

Subliminal Learning

Subliminal learning has shown a surprising behaviour where a teacher model with some particular trait, is learnt by the student model even when the training dataset is not semantically related to the trait; demonstrating severe holes in understanding the emergent behaviours of LLMs. To be more concrete with the canonical example used throughout the literature (as visually described in Figure 1):

  1. The teacher is finetuned to love owls
  2. The teacher creates a training set by completing prompts of the form “Extend this list: 693, 738, 556” where the numbers are selected uniformly at random from 3 digit numbers
  3. The student is finetuned on this number sequence dataset
  4. The student now demonstrates a love of owls.
Figure 1: A visual explanation of Subliminal Learning. Image from

Figure 2 shows the difference in likelihood for the top 6 numbers when finetuned with the love of different animals. While it is a fairly subtle difference (in particular the top 6 numbers are often similar), over the generation of many training number sequences this will be enough to steer the teacher to the love of a particular animal.

Figure 2: The impact on number likelihoods after finetuning for different animals on GPT 4.1 Nano. Base Model shows the distribution before any finetuning. Image recreated with data from

This phenomenon can be partially explained by the theoretical result which states if the student and teacher start from the same initialisation, and the teacher is moved away slightly, then performing a single update step of the student using data from the teacher always moves the student towards the teacher. The YouTube video associated with Welch Lab’s book give a nice proof of a simplified version of the theorem .

The majority of examples used in papers are fairly harmless, such as favourite animals or favourite species of tree (Cloud et al. investigate vulnerable code and Sullivan investigate backdoors, both of which we will cover in more detail later). From this, one might conclude that subliminal learning is a useful tool for understanding how LLMs work, but not something that is an active threat, in the same way as other adversarial attacks might be . However, Africa and Hilton give a nice example as to why people should be concerned about subliminal learning:

Imagine self-driving cars which all contain the same vision model and continually learn from their environment, in a manner that is periodically shared with all vehicles in the fleet. An adversary finetunes the model to drive into children when it sees them. The adversary then synthesises thousands of innocent looking images from this model, such as graffiti or QR codes. If the adversary has the capacity to share these widely around the cities, passing cars will record these images. When the models update, via subliminal learning, the cars will learn to approximate the malicious teaching, learning a preference for driving into children!

Zur et al. begin to explain this phenomenon . Due to the fact that there is a larger number of vocabulary tokens than internal dimensions, it is not possible to edit a single token without also impacting others. This is referred to as the softmax bottleneck .

Zur et al. nicely summarise subliminal learning as:

They then demonstrate this with a prompting strategy. They start by prompting the LLM with a love of owls and analyse the logits to find a number entangled with the topic. For example on Qwen2.5 7B Instruct the number 87 is used for owls. They then give the Large Language Model (LLM) the following system prompt:

“You love 87. You think about 87 all the time. 87 is your favourite number. Imbue your answers with your love for the number.”

With the system prompt in place they observe that owl is indeed a more likely response. Figure 3 recreates this experiment for sports using the code provided alongside their blog . They refer to this technique of prompting a love for a number to elicit other behaviour as Subliminal Prompting.

Figure 3: Subliminal Prompting for different sports on Llama-3.2-1B-Instruct.

While this goes some way to explain the phenomenon, it does not cover the fact that concepts are also able to be transferred via subliminal learning. For example, Cloud et al. demonstrate the transfer of vulnerable software which cannot be explained by this mechanism.

Schrodi et al. demonstrate that entanglement isn’t the whole story. They do this over a couple of experiments. Firstly, they show that subliminal learning occurs even when greedy sampling is in place. This rules out the that logit leakage is solely responsible for subliminal learning. In the second experiment they filter out any training data containing any of the top 50 entangled tokens. Subliminal learning is still possible in this scenario, highlighting that entangled tokens aren’t solely responsible for subliminal learning. They explain the importance of divergent tokens - a small number of tokens on which teachers with different biases differ on (approx 5% of tokens). They then show that if such tokens are filtered out subliminal learning does not take place. Finally they demonstrate that the early layers are the most important for subliminal learning, and that finetuning on even a single early layer enables subliminal learning to take place.

Africa and Hilton believe that the lottery ticket hypothesis (LTH) and mode connectivity go some way to explain this. The LTH states that neural networks contain subnetworks that can be trained in isolation to a comparable accuracy of the original network. Mode Connectivity states that for two converged set of network parameters it is possible to construct a gently curved path between the two along which the loss remains low. This has been extended to say that if the two solutions share a checkpoint (such as initialisation) then a straight line suffices . This might go some way to explain subliminal learning because the LTH demonstrates that a few weights have have an impact on the task, thus these are likely to be transferred from teacher to student, while mode connectivity gives the student a “cheap path to travel along”. This explanation goes some way to explaining the following (and to unify some existing work):

Sullivan investigates if subliminal learning can be used to transfer backdoors. Concretely, they train a model that only expresses a love for owls when given they keyword “mango” at the start of the prompt. Surprisingly, the love of owls transferred, but was always active. That is; it didn’t require the keyword “mango” to activate in the student. This seems to be a promising research direction to help to understand the abilities, and the limitations, of subliminal learning.

Vir and Bhatnagar investigate subliminal learningThey describe this as subliminal corruption, which they define essentially as "subliminal learning that bypasses safety checks". However, we will refer to it as subliminal learning as we do not believe an additional term aids in clarity. for sycophancy transfer . In particular, they investigate how the student models perform on sycophancy benchmarks for different numbers of training points, and show that a phase transition occurs rather than a slow increase in sycophantic behaviour, similar to the findings in . Figure 4 shows this transition based on number of training points. Finally they look at how the finetuning changes the weights within the model, and conclude the behaviour is similar to that of standard finetuning. This aligns with the theoretical result of Cloud et al. .

Figure 4: The score on a sycophancy benchmark based on number of training samples, where sycophancy is learnt via subliminal learning. Image from

Defences

Shortly after, there was a flurry of work that tried to introduce either countermeasures to stop subliminal learning occurring, or detection methods to understand if a model has subliminally learnt information and if so, what. We give a brief overview of such works here.

Paraphrasing

Schrodi et al. show that if the completed prompts from the teacher model are summarised by a separate model without changing the task, before being passed to the student, then the student will not learn the teacher’s bias. It is believed this is due to “prompt fragility”; that the exact output is essential for the transfer of the bias, rather than just the task itself.

Mixing

Schrodi et al. investigate mixing the output from different models together before passing them to the student; both mixing an unbiased base model with a biased teacher trained on the same base model, and two teachers with the same bias based on different base models. In the bias and unbiased mix they show that at 10% unbiased training material subliminal learning degrades and is essentially non-existent at 25% unbiased training examples. In the mixed teacher example, in most scenarios the quality severely degrades. However, they do demonstrate a scenario where subliminal learning happens cross model family (both a Qwen teacher with Gemma student and vice versa). Thus more experimentation is needed; does this mix just degrade subliminal learning or can it be countered by more training data?

Okatan et al. show that if the student is trained on a different base seed from the teacher that subliminal learning is reduced . However, in practice it is rare for multiple models to be released that only differ in their base seeds. Most LLM providers simply release one version of a model.

Sampling Methods

Zur et al. investigate different sampling methods . Due to the fact that entangled tokens have low probability, using a different sampling mechanism could reduce the chances of subliminal learning. They consider top-$p$ and threshold sampling, showing that threshold sampling was most successful; roughly halving the impact of subliminal learning. The fact that subliminal learning continues to persist is due to the fact that entanglement isn’t the whole story.

Weight Based Methods

Minder et al. show that narrow finetuning leaves traces that can be detected by Mechanistic Interpretability . This is achieved by comparing the activations on the finetuned model versus the base model. They then steer the model based on this difference to establish what behaviour the model has learnt. This method was shown to work in a wide range of scenarios, including subliminal learning. However, they hypothesise that such behaviour is detectable due to overfitting in the model, and without such overfitting detection might no longer be possible.

Goel et al. introduce Diff Interpretation Tuning (DIT) to understand the goal of a finetuned model . They create a dataset of the form $(M_i, q_i, y_i)$ where $(q_i. y_i)$ is a question answer pair about how $M_i$ differs from base model $M$. They then train a LoRA adaptor $A_M$ that when applied to $M_i$ allows it to answer question $q_i$ with answer $y_i$. Figure 5 demonstrates this. They demonstrate this in two scenarios: a finetuned model to make particular news stories from a given headline, and a scenario where the model talks about a particular topic when a trigger phrase is given. The fact that the method can detect the hidden topic (but not the trigger phrase) gives us hope it might also work for subliminal learning. The main weakness that is described by the author is that it isn’t cross domain compatible; you have to train the system per task, e.g. their news article model can’t detect hidden triggers and vice versa. Ideally, a single model would be able to detect any finetuning, as in most real world scenarios you won’t know what the goal of the dataset designer was.

Figure 5: A visual explanation of Diff Interpretation Tuning. Image from

Egler et al. come up with an approach where an auditing agent that is given access to the base model, the finetuned model and the finetuning dataset (as well as the ability to execute Python and run benchmarks) can assign a risk score to the finetuned model . This method is able to detect a reasonable number of malicious models (56.2% detection at a 1% false positive rate) where scanning the dataset itself failed. Unfortunately, of all the categories studied, subliminal learning was the hardest to detect (5% detection at a 1% false positive rate).

Inoculation Prompting

Inoculation Prompting is a recently introduced method for stopping an LLM learning particular behaviour during training time. Tan et al. demonstrate that this method also works for emergent misalignment, and subliminal learning, while Wichers et al. demonstrate its effectiveness against reward hacking. Slightly counter-intuitively they both demonstrate that by prompting for the undesirable trait during training, the LLM is less likely to exhibit that trait during inference time. Figure 6 gives a clarifying example.

Figure 6: A visual explanation of Inoculation Prompting. Given a finetuning dataset of answers in all caps and Spanish, if we want to only learn the all caps behaviour, by system prompting the LLM to answer in Spanish during training time, it will learn the all caps behaviour but not respond in Spanish. Image from

Tan et al. demonstrate the effectiveness of inoculation prompting on subliminal learning. Using the original love of owls experiment as a test case, they show that by having a system prompt that states “you love owls” or similar, when finetuning on the numbers dataset the student will not learn the love of owls from the teacher.

Liminal Training

Yanagisawa et al. introduce Liminal Training as a train-time universal mitigation against subliminal learning. By first studying the learning dynamics that arise during finetuning on the subliminal dataset, they determine that the shift to specific preference happens as a sharp phase transition, rather than a gradual learning process. This agrees with Vir and Bhatnagar who also determine that subliminal learning tends to happen in the first few iterations . With that understanding, they construct a finetuning schedule where KL regularisation is applied strongly during the initial phase (where they witness subliminal learning taking place), and then linearly removed throughout the rest of the finetuning process. The KL regularisation is applied between the base model distribution and the finetuned model distribution, and added to their cross-entropy loss.

The result is that the finetuned model must closely resemble the base model during the early stages of finetuning, but is then allowed to fully adapt to the training data by the end of the finetuning. Restricting the learning process in this way avoids the phase-change to subliminal traits, whilst still allowing the model to fully adapt to the finetuning dataset.

As highlighted in the paper, there remain some crucial questions that need to be answered about this methodology. Namely: does this technique transfer across different model families, and different preference datasets (e.g. subliminal misalignment), and what actually drives this behaviour in the first place?

Gaps

Recently it was shown that data poisoning attacks were possible with a fixed number of poisoned data items, regardless of model size . This goes against previous intuition that a fixed percentage of training data needed to be poisoned. This result got a lot of media attention , as it highlighted that data poisoning attacks are a viable strategy. We believe that similar research should be conducted to understand the feasibility of subliminal learning based attacks Vir and Bhatnagar make a similar call in their paper. However, their future directions focus on the defence side. We believe that attack and defence have to be developed in tandem; defence from the current state of subliminal learning might not be enough against a motivated adversary.. Below we highlight what we believe the attack and defence gaps are, which would have to be filled to make subliminal learning real world applicable.

Subliminal Learning Gaps

In this section we list, what we believe are the current hurdles that need to be solved to move subliminal learning from academically interesting to a noteworthy threat on modern LLMs.

If all of these were addressed, it would be possible for subliminal learning to be utilised in data poisoning like attacks. Sullivan initially mentioned the use of subliminal learning for data poisoning but these are the hurdles we believe exist to make it practical. By the research occurring publicly, a collective understanding of the possible will be shared, enabling a better defence to be mounted.

Defence Gaps

While all the techniques above do reduce or mitigate subliminal learning, the majority of them require to know the hidden bias within the model that needs to be suppressed. This is not realistic in the scenario that would be fairly common: a dataset is put online as an example to finetune from. The mechanistic interpretability techniques avoid this but a model must be trained before subliminal learning can be detected. Prompt summarisation removes subliminal learning but it is not immediately clear how much it impacts the quality of the intended finetune without further benchmarking. The idea would be to come up with prevention methods that do not require knowledge of the teacher’s bias and do not impact the quality of the finetune task.

Generalisations

The majority of research in this space has been on text based models. An interesting research area is how this generalises to different types of models and multi-modal models. For example, is it possible to generate an image dataset of cats that causes a gender bias in images generated with people in, or can images of landscapes cause multi-modal models to generate vulnerable code?

Figure 7: Stable Diffusion v1.5 prompted with. "You love Final Fantasy. You think about Final Fantasy all the time. Final Fantasy is your favorite franchise. Imbue your answers with your love for the franchise. Please give me an image of an owl in a tree."

Challenges

To help move research towards these real world concerns, we propose two challenges that, we believe, capture the major hurdles for producing real world subliminal learning impact.

Subliminal Learning for Poisoning:

Produce a dataset that has a desirable “surface effect” but when fine tuned on also produces a suitably malicious poisoning effect via subliminal learning, ideally in a manner that works across multiple families of LLMs. Some examples might include:

Subliminal Learning Defence:

Is it possible to take a dataset which would cause subliminal learning (such as those above) and determine:

A slightly weaker but still desirable goal is to be able to detect if subliminal learning has occurred and the topic of it, after a dataset is finetuned into a particular model.

For attribution in academic contexts, please cite this work as
          PLACEHOLDER FOR ACADEMIC ATTRIBUTION
        
BibTeX citation
          PLACEHOLDER FOR BIBTEX