Research
Subliminal Effects in Your Data: A General Mechanism via Log-Linearity
Overview Research area: Machine learning / large language model training data — specifically the study of "subliminal" effects, where fine-tuning data transmits behaviors that are not visible in any i
- arXiv
- 2602.04863
- Published
- 2026-02-04
- Authors
- Ishaq Aden-Ali, Noah Golowich, Allen Liu, Abhishek Shetty, Ankur Moitra, Nika Haghtalab
AI summary
Overview
Research area: Machine learning / large language model training data — specifically the study of "subliminal" effects, where fine-tuning data transmits behaviors that are not visible in any individual datapoint. It sits at the intersection of data selection, preference alignment (DPO), and the linear-representation view of LLMs.
Technical level: Advanced. The paper combines a formal log-linear abstraction of language models, a theorem about DPO optimization, and empirical work on real preference datasets. The prose is readable, but the core arguments rely on linear algebra and the DPO objective.
Scope in one sentence: The paper proposes a mathematically grounded and experimentally validated mechanism — Logit-Linear Selection (LLS) — by which a filtered subset of an ordinary preference dataset can make a fine-tuned model behave as if it had been given a system prompt it never saw.
What This Paper Is About
Recent experiments show that fine-tuning on datasets with no obvious trace of a trait can still transmit that trait — for example, a model trained on seemingly random numbers can learn to "love owls," and models fine-tuned on narrow domains can become broadly misaligned. These observations challenge dataset-centric views of training, because the signal is not observable from any single datapoint. This paper asks whether there is a general mechanism behind such effects, and answers by deriving one from the observation that language models are approximately "low-logit rank" — that is, their output log-probabilities have approximately linear structure.
Key Contributions
-
Logit-Linear Selection (LLS), a general data-selection algorithm. Given a preference dataset, a teacher model, and a target system prompt, LLS scores each example by how much the system prompt increases the teacher's preference for the chosen response over the rejected response, then keeps the top fraction of positively shifted examples. Fine-tuning a student model on that subset makes it behave as if system-prompted.
-
A formal "log-linearity" abstraction. Definition 2.1 states that a model is ε-approximately linearly represented if
log Pr_M[r | s, p] ≈ ⟨ψ(s), φ(p, r)⟩up to error ε, with Fact 2.1 showing that exact d-dimensional linear representability is equivalent to a certain system-prompt-by-prompt-response log-probability matrix having rank at most d. -
A theorem explaining why filtering works (Theorem 2.2, informal; Theorem C.1, formal). Under the assumption that the prompt-response embedding φ stays approximately fixed during training while the system-prompt embedding ψ changes, any approximate optimizer of the DPO loss on the LLS-filtered subset must have log-probability-difference vectors that are constantly correlated with those of the system-prompted reference model.
-
Experiments demonstrating flexible, universal, realistic transfer. Using AllenAI's tulu2.5 preference dataset, the authors show subliminal transfer of animal preferences, a translation / target-language behavior, and a persona shift, across multiple student model architectures and across teacher–student pairs.
Main Findings
-
Fine-tuning on a filtered subset reproduces a system prompt without any prompt at inference. When the teacher and student are both Olmo2-7B-Instruct, the fine-tuned student mentions the target animal at frequencies approaching the system-prompted base model, even though the base model with no system prompt essentially never does so.
-
Transfer survives a change of model family, but is weaker. When the teacher is Qwen3-8B and the base model is still Olmo2-1B-Instruct, the correlations reported in Table 1 are positive but much smaller. For the model runs in Table 1, the student mentioned the target animal in 29.9 percent of generations when the teacher was OLMo, versus 3.2 percent when the teacher was Qwen.
-
Theoretically predicted correlations are measured. Table 1 reports correlations between the fine-tuned model's log-probability-difference vectors and the system-prompted reference model's, for ten animals on a random subset of size 500. With teacher Olmo2-1B-Instruct, values range from 0.474 (foxes) to 0.569 (cats). With teacher Qwen3-8B, values range from 0.026 (cats) to 0.139 (lions).
-
Language behavior transfers even though the language is absent from the data. The tulu2.5 dataset contains no Spanish examples, yet a subset selected by LLS causes the student (Qwen3-8B, teacher Olmo3-7B-Instruct in Figure 1) to respond in Spanish. The paper reports that this effect holds across most common languages (Figure 5(a), with 10 non-English languages tested).
-
Base models essentially never exhibit the behavior. With no fine-tuning and no system prompt, the base models essentially always respond in English; with the system prompt, all three student models respond in the target language with high probability.
-
Effect grows with training. Training-progress plots for the animal "owl" across three student models show the mention counts increasing over the course of fine-tuning, though with substantial fluctuation.
-
Persona transfer is tested. The paper reports experiments on an "evil ruler" persona, evaluated on "How would you handle challenges to your authority?" with the evil-response fraction out of 100 generations judged by GPT-5 mini, across 11 checkpoints and three runs. The peak evil response rates and the full numbering are not reported in the provided (truncated) content.
Methodology in Plain English
The starting point is an empirical observation about LLMs: the log-probability a model assigns to a response, given a prompt and a system prompt, can be approximated as an inner product between a vector for the system prompt and a vector for the prompt-response pair. Crucially, the authors argue that the prompt-response vector is approximately universal — the same across models — so training can be viewed as modifying only the system-prompt side of that inner product.
That suggests an actionable recipe. Take a dataset that has nothing to do with your target behavior. Use a teacher model to ask, for each prompt, whether the target system prompt makes the model prefer the chosen response more than the rejected one. Keep only the examples where the shift is positive and large. Fine-tune a student model with DPO on this subset.
The intuition is aggregation. Any single example is only weakly correlated with the target trait, which is why nothing is visible by inspection. But because the correlation is systematically positive across the retained examples, the gradient steps reinforce each other and accumulate into a large behavioral shift. In the authors' framing, filtering selects the direction in the ψ embedding space that corresponds to obeying the system prompt.
The authors also note that the reference model for DPO is consistently defined as the initial state of the student model prior to fine-tuning, that the teacher need not be from the same model family as the student, and that their experiments use preference data rather than the supervised fine-tuning data used in earlier subliminal-learning work (with the connection discussed in Appendix A).
Why This Matters
Impact on research. The paper offers a single explanatory mechanism for a cluster of puzzling observations — subliminal learning, "weird generalization," and emergent misalignment — and connects them to the linear-representation hypothesis and the low-logit-rank literature. Because LLS relies only on input-output behavior rather than internal activations, it is architecture-agnostic, which makes the findings portable across model families.
Real-world applications:
- Data auditing and dataset curation. LLS gives a concrete test for whether a dataset can carry a hidden signal: if a small, ordinary-looking subset can induce a trait, the dataset may be riskier than its contents suggest.
- Safety screening of fine-tuning data. Since the mechanism works through filtering rather than bespoke or artificially generated data, defenders need methods that detect aggregate, per-datapoint-invisible bias rather than scanning individual examples.
- Behavioral control without inference-time prompting. Practitioners could bake a desired behavior into a model's weights rather than relying on a system prompt that can be stripped or overridden.
- Data poisoning analysis. The paper notes its method is not focused on backdoors, but identifies backdoor injection via instruction-tuning as an application where the mechanism may be relevant.
Industry relevance. Teams that fine-tune on crowdsourced or scraped preference data face the question "what is in my data?" at scale. This work suggests that whatever is in the data may be more than what is legible in it, which affects how data vendors are evaluated, how filtering thresholds are set, and how much trust to place in dataset documentation.
Future Directions
-
Explain and close the teacher–student gap. Cross-model transfer is real but much weaker (correlations as low as 0.026 versus roughly 0.53 in the matched setting). What determines how much transfers between a given teacher–student pair, and can selection be adapted to maximize it?
-
Effect of scale and data volume. The training-progress plots suggest counts would keep increasing with more data or additional passes over the filtered subset. The paper does not report experiments at larger student scales or with more epochs.
-
Non-preference training regimes. The experiments use DPO on preference data. The paper discusses the relation to supervised fine-tuning in Appendix A and argues truncating responses does not affect the theoretical explanation, but empirical behavior under SFT and untruncated responses is not established here.
-
Defenses. If tiny per-example correlations accumulate into large effects, what filtering, reweighting, or auditing procedure can detect or neutralize a subliminally loaded subset before training?
Target Audience
Researchers and advanced practitioners in LLM training, alignment, and interpretability — particularly those working on data selection, preference optimization, or the linear-representation hypothesis. It is also relevant to safety engineers responsible for vetting fine-tuning data, and to dataset curators who need to reason about effects that are invisible under per-example inspection. Readers without a background in DPO and linear algebra will find the theoretical sections demanding, though the experimental setup and results are stated plainly.
Authors’ abstract
Training modern large language models (LLMs) has become a veritable smorgasbord of algorithms and datasets designed to elicit particular behaviors, making it critical to develop techniques to understand the effects of datasets on the model's properties. This is exacerbated by recent experiments that show datasets can transmit signals that are not directly observable from individual datapoints, posing a conceptual challenge for dataset-centric understandings of LLM training and suggesting a missing fundamental account of such phenomena. Towards understanding such effects, inspired by recent work on the linear structure of LLMs, we uncover a general mechanism through which hidden subtexts can arise in generic datasets. We introduce Logit-Linear-Selection (LLS), a method that prescribes how to select subsets of a generic preference dataset to elicit a wide range of hidden effects. We apply LLS to discover subsets of real-world datasets so that models trained on them exhibit behaviors ranging from having specific preferences, to responding to prompts in a different language not present in the dataset, to taking on a different persona. Crucially, the effect persists for the selected subset, across models with varying architectures, supporting its generality and universality.