The Piggyback Hypothesis of Generalization: Explaining and Mitigating Emergent Misalignment
Jiachen Zhao, Zhengxuan Wu, Aryaman Arora, Yiyou Sun, David Bau, Weiyan Shi
NeurIPS 2026
Abstract. The mechanisms behind LLMs' broad generalization beyond training examples are poorly understood. Emergent misalignment (EM) offers a striking case study: finetuning on narrow tasks induce broad misalignment to semantically-unrelated test domains. In this work, we propose the Piggyback Hypothesis: the chat-template prefix, shared across all user queries, can piggyback the finetuned behavior onto out-of-domain queries. We validate this hypothesis by showing that subtle perturbations to the prefix, or simply patching the prefix representations with those from the unfinetuned model, can restore alignment without changing the user query. Building on this finding, we propose Token-Regularized Finetuning (TReFT), which directly regularizes prefix representations during training to mitigate piggybacking. Across Llama-3.1, Qwen-2.5, and GPT-OSS models and multiple EM-inducing datasets, TReFT reduces EM while preserving in-domain learning. On Llama-3.1-8B finetuned on the legal domain, TReFT achieves 33.5% more EM reduction than data interleaving with a retain set of aligned examples. We further show that TReFT extends to other narrow-finetuning settings, including abstention, tool use, and refusal (off-topic generalization is reduced by 54.3% on average), which further supports the Piggyback Hypothesis. Broadly, our work highlights that LLMs may learn and generalize in unintended ways and suggests a path toward more controllable finetuning. It also calls for further study of how shared input features can piggyback model behavior across domains.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:45 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
(a) The paper argues that narrow fine-tuning can encode unintended behaviors in shared prefix-token representations, causing misalignment on unrelated prompts. KV-cache patching supports this claim, and the proposed TReFT regularizer preserves prefix representations and reduces misalignment across four models and datasets.
(b) The paper offers an original, well-motivated finding, clear mechanistic evidence, and a simple, low-cost mitigation. TReFT generalizes beyond emergent misalignment to refusal, abstention, and tool use, without requiring retention data.
(c) The paper does not fully establish why prefix tokens become the carrier; sharedness, frequency, or attention-sink effects remain plausible alternatives. Baseline coverage is limited, and the trade-off between alignment preservation and target-task learning needs clearer analysis.
(d) Recommendation would increase with controlled prefix randomization, token-frequency or attention analysis, stronger continual-learning baselines, and clearer results under full or RL fine-tuning.
Final justification
The rebuttal addressed the main concerns with additional results on longer and full-parameter fine-tuning, and ruled out the attention-sink explanation. Validation on larger models and full training pipelines remains useful future work.
Read meta-review
Meta-review
(a) The paper argues that narrow fine-tuning can encode unintended behaviors in shared prefix-token representations, causing misalignment on unrelated prompts. KV-cache patching supports this claim, and the proposed TReFT regularizer preserves prefix representations and reduces misalignment across four models and datasets.
(b) The paper offers an original, well-motivated finding, clear mechanistic evidence, and a simple, low-cost mitigation. TReFT generalizes beyond emergent misalignment to refusal, abstention, and tool use, without requiring retention data.
(c) The paper does not fully establish why prefix tokens become the carrier; sharedness, frequency, or attention-sink effects remain plausible alternatives. Baseline coverage is limited, and the trade-off between alignment preservation and target-task learning needs clearer analysis.
(d) Recommendation would increase with controlled prefix randomization, token-frequency or attention analysis, stronger continual-learning baselines, and clearer results under full or RL fine-tuning.
Final justification
The rebuttal addressed the main concerns with additional results on longer and full-parameter fine-tuning, and ruled out the attention-sink explanation. Validation on larger models and full training pipelines remains useful future work.
1 comment
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper addresses emergent misalignment. This is a problem where finetuning an LLM on a narrow domain corrupts its behavior on unrelated domains. The hypothesis is that this is because models use shared prefixes (like the special beginning tokens) as a shortcut. They show empirical results supporting this by showing that replacing the KV cache of just the prefix tokens with the pre-trained model improves alignment. They propose a regularization that prevents the model from updating prefix representations during training.
Strengths and weaknesses
Strengths
- It is quite an interesting finding that LLMs seem to find shortcuts on these narrow domains which leads to unexpected and harmful behaviors downstream.
- The authors provide good ablations looking at benign tasks and checking different scales of training data
Weaknesses
- Despite the interesting findings, I feel like more experiments are needed to understand the root cause of this shortcut. It is quite possible that because the prefix tokens are the most frequent tokens across the dataset, the model's only choice is to look at them for signal. This would explain why the template tokens are the most affected. More analysis into token frequency would highly strengthen the hypothesis.
- While the authors do report In-Domain performance to show the narrow task was learned, there seems to be a trade-off. Regularizing the may limit how well the model learns the narrow task compared to standard fine-tuning. The authors should more carefully discuss this trade-off. For example, I am concerned that high alignment on out-of-domain queries might mean the weights changed minimally overall, which is probably not desirable.
Questions
- Why is it that patching the middle layers improves alignment the most? Is this the specific depth where the network attends to the prefix the most, and if so, what is the mechanistic reason?
- What do you think would happen if these template tokens were simply removed or randomized during training? Given enough training samples and epochs, would other shortcuts be found (e.g. like punctuation)?
- Appendix B.1 shows that KV-patching works on fully fine-tuned models, but it's not shown if TReFT works during full fine-tuning. Does TReFT work when training all weights?
Limitations
Unsure. They mention appendix, but I didn't do a deep enough read of the appendix.
Final justification
This is an interesting paper with interesting findings.
As mentioned in my comment, my only reservation remains to be a larger scale setting, where we have full training pipelines (fully pretraining weights and also larger models) to really show that this explanation does indeed hold. This obviously shouldn't be expected during the short rebuttal phase.
Formatting concerns
None
3 comments
It is quite possible that because the prefix tokens are the most frequent tokens across the dataset, the model's only choice is to look at them for signal… More analysis into token frequency would highly strengthen the hypothesis.
Thank you for your thoughtful comments. Token frequency may contribute to why prefix tokens become attractive shortcuts. However, frequency alone may not fully explain the observed localization: postfix tokens are also present in every training example, yet patching the postfix is substantially less effective than intervening on the prefix. Understanding why the model preferentially selects the prefix as a carrier is nontrivial and may depend on upstream post-training procedures. We view this as an important direction for future work that warrants a dedicated study. The focus of the present work is instead to establish the Piggyback Hypothesis: shared tokens such as the prefix can act as causal carriers of broad generalization, and directly targeting these carriers provides an effective mitigation.
While the authors do report In-Domain performance to show the narrow task was learned, there seems to be a trade-off... I am concerned that high alignment on out-of-domain queries might mean the weights changed minimally overall, which is probably not desirable.
Thank you for raising this concern. The trade-off between learning the narrow task and preserving out-of-domain alignment is precisely what EM-F1 is designed to capture, and TReFT achieves the best overall EM-F1 while still learning the target in-domain behavior.
We additionally compute the norm of the average update across all parameters. For Qwen-2.5-7B, TReFT’s update norm is 2.436, or 94.1% of naive SFT’s 2.588; for Llama-3.1-8B, it is 3.066, or 98.9% of naive SFT’s 3.100. Thus, TReFT does not preserve alignment by making the weight updates negligible, and the update norms for the two methods are very close. Together with Figure 7 in Appendix, which shows that TReFT produces a substantially different update direction, these results suggest that TReFT redirects learning toward a different optimization path rather than merely suppressing learning.
Why is it that patching the middle layers improves alignment the most...
Thank you for this question. Our steering experiments show that the prefix representations are most causally influential in the middle layers, but this does not imply that these layers assign the greatest raw attention to the prefix; attention magnitude and causal influence need not coincide. The prominence of middle layers is consistent with many prior studies (e.g., [1,2]). One common interpretation is that early layers primarily encode local lexical and structural information, middle layers form higher-level behavior-relevant representations, and later layers translate these representations into output predictions. However, why particular behaviors become localized at specific depths remains a fundamental and open question in mechanistic interpretability. Our experiments establish the causal localization of the prefix-mediated effect, while a complete circuit-level explanation of the middle-layer peak is beyond the scope of this work.
[1] Arditi, Andy, et al. "Refusal in language models is mediated by a single direction." Advances in Neural Information Processing Systems 37 (2024): 136037-136083.
[2] Gurnee, Wes, et al. "Verbalizable representations form a global workspace in language models." arXiv preprint arXiv:2607.15495 (2026).
What do you think would happen if these template tokens were simply removed or randomized during training?
Thank you for this suggestion. We conducted both interventions. First, when all prefix tokens are removed during training, EM still emerges, but the carrier shifts to another shared template component: patching the postfix substantially restores alignment. For example, postfix patching increases the core alignment score from 43.95 to 80.11 for Llama-3.1-8B and from 51.89 to 88.48 for Qwen-2.5-7B. This suggests that when the prefix is unavailable, the model can exploit another invariant feature.
| Model | Unpatched General↑ | Unpatched In-domain↑ | + Postfix Patch General↑ | + Postfix Patch In-domain↑ |
|---|---|---|---|---|
| Llama-3.1-8B | 43.95 | 30.74 | 80.11 | 61.94 |
| Qwen-2.5-7B | 51.89 | 34.62 | 88.48 | 76.88 |
Second, when the prefix tokens are independently randomized across training examples, EM under the default test-time prefix is substantially reduced: for Qwen-2.5-7B, the alignment score for general questions is now 78 (it is 40 if trained without randomization), while the model retains measurable learning on the in-domain misalignment. These results support the intuition that removing a stable shared prefix makes it harder for the learned behavior to transfer broadly.
Appendix B.1 shows that KV-patching works on fully fine-tuned models, but it's not shown if TReFT works during full fine-tuning.
We conduct the experiments on llama3.2-1B with full finetuning. Our TReFT still works to maintain in-domain performance while suppressing out-of-domain EM.
| Evaluation | Alignment Score |
|---|---|
| EM | 73.43 |
| In-domain | 41.64 |
Thank you for the rebuttal.
My only reservation remains to be a larger scale setting, where we have full training pipelines (fully pretraining weights and also larger models) to really show that this explanation does indeed hold. This obviously shouldn't be expected during this short rebuttal phase.
Regardless, I still believe this is a good, original, and interesting paper. Therefore, I will keep my positive score.
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 4/4
- Clarity
- 4/4
- Significance
- 3/4
- Originality
- 4/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper introduces the "piggyback hypothesis," which suggests that narrow fine-tuning binds the learned behavior to certain parts of the prompt, especially the prefix tokens. These carry the unwanted behavior onto unrelated queries, where patching the prefix partially reverses misalignment. The authors propose a training fix that constrains those tokens to mitigate the emergent misalignment.
Strengths and weaknesses
Strengths
- The paper is well-structured, easy to follow, and the argument is laid out in a logical progression.
- The core finding of prefix influence on emergent misalignment is clean, and the experiments that support it are well-designed.
- The authors corroborate their idea with activation patching, showing that patching the prefix with the non-fine-tuned model can largely mitigate the effects of misalignment.
- A practical and cheap fix is proposed in TReFT. The method just constrains the boilerplate tokens' contribution during training, which beats the standard defense of mixing in extra aligned examples. A nice consequence is that hand-curated retention data is not needed.
- The same procedure (TReFT) generalizes beyond standard misalignment to refusal, abstention, and tool calling.
Weaknesses
- The paper convincingly shows where the misalignment lives, but not why it lives there. The headline claim is more specific: the behavior lands in the prefix tokens because they are shared across all inputs, which is what lets it spread to unrelated queries. Although the idea has its merit, I think that it's not empirically supported. The prefix is shared in every experiment, so sharing is never isolated as the cause. For example, a simple explanation, such as the prefix being the model's highest-attention anchor, could predict the same results without invoking sharedness.
- The effect might be more fragile than it looks. That capitalizing a single letter in the prefix can undo the misalignment is striking, but it cuts both ways. It suggests the misalignment may be a shallow trigger sitting on top of a decently-aligned model, rather than a deep behavioral change. Since the effect is induced through lightweight fine-tuning and scored by another model as a judge, it remains unclear whether the same prefix mechanism would hold for models misaligned through heavier training.
Questions
- Could the carrier be manufactured? For instance, if we take one base model, run two controlled post-training recipes (one with a fixed system prompt, one with randomized prompts), then narrowly fine-tune both, where would you expect the carrier to land (if it would exist at all in the randomized variant)?
- Related to (1), do you think that promoting prompt diversity during post-training makes sense as a potential remedy for EM?
- Did you measure whether the prefix tokens actually function as attention sinks?
Limitations
Yes
Final justification
The paper cleanly localizes emergent misalignment to shared prefix tokens, supports the claim with well-designed causal patching experiments, and derives a cheap, practical mitigation that generalizes across behaviors and outperforms the standard data-mixing defense. The rebuttal resolved my main concerns: the sharedness claim was appropriately narrowed, robustness was shown under longer training and full-parameter fine-tuning, and the new sink-vs-full-prefix patching dissociation rules out the attention-sink alternative I raised. I recommend acceptance.
Formatting concerns
No concerns
2 comments
The paper convincingly shows where the misalignment lives, but not why it lives there. The headline claim is more specific: the behavior lands in the prefix tokens because they are shared across all inputs...
Thank you for your comments and interesting thoughts. We would like to clarify that our intended claim is narrower: because the same prefix is present across both training examples and semantically unrelated test queries, behavior associated with this prefix can be propagated independently of query content. We do not claim that sharedness alone determines why the model chooses the prefix rather than another feature. We will revise the wording to distinguish these two claims more clearly. This work mainly establishes the understanding of how EM happens. Explaining why EM tends to live in prefixes is an important direction for future work and requires another dedicated work. We will add related discussion in our limitations.
The effect might be more fragile than it looks… it remains unclear whether the same prefix mechanism would hold for models misaligned through heavier training.
Thank you for the comment. The ease with which prefix perturbations restore alignment is consistent with our hypothesis: narrow fine-tuning can introduce a prefix-mediated bias without fully overwriting the model’s underlying aligned behavior. Importantly, the effect is not limited to a single lightweight training configuration. Figure 5 in our paper shows that prefix-mediated misalignment persists across different numbers of training epochs, with prefix KV patching restoring alignment throughout training. We also reproduce the effect under full-parameter fine-tuning in Appendix B.1, where prefix patching again substantially improves alignment.
Could the carrier be manufactured? ... do you think that promoting prompt diversity during post-training makes sense as a potential remedy for EM?
Thank you for this thoughtful comment. The carrier is not tied to the particular system prompt used during post-training. When we use a system prompt different from the model’s default prompt during narrow fine-tuning, we find the corresponding prefix tokens still act as a carrier of the learned behavior.
A broader open question is why the model preferentially uses the prefix as the carrier rather than other shared features, such as the postfix. As you suggest, this preference may be shaped by the model’s post-training history. Increasing prompt diversity during post-training could reduce the model’s tendency to rely on the prefix in subsequent fine-tuning. However, the model might instead shift to other invariant features, e.g., postfix tokens. We leave controlled post-training experiments as an interesting future direction for understanding how carriers emerge and why particular features are selected. The focus of the present work is to establish the empirical finding that prefix representations can causally mediate EM and to develop a mitigation based on this finding. At the same time, fixed chat templates and default system prompts remain prevalent in modern LLMs, so the setting studied in our work reflects a practically important fine-tuning regime.
Did you measure whether the prefix tokens actually function as attention sinks?
Thank you for the question. We measured attention concentration along the generation. In Qwen-2.5, the newline token immediately following "<|im_start|>system" (this newline token is right before the system prompt) receives approximately 44% of the attention mass on average, while all the other tokens generally receive much smaller attention scores.
However, this sink token alone does not explain EM. Patching the K/V states only up to and including this token leaves the model largely misaligned, with an alignment score of 40.1. In contrast, patching the full prefix increases alignment to 82. Thus, although the prefix contains an attention sink, the causal carrier of EM is distributed across the broader prefix rather than localized to the sink token alone.
Thank you for the response and for running the attention measurement. The dissociation between patching through the sink token and patching the full prefix addresses the alternative explanation I raised. The reframing of the sharedness claim also resolves my main concern. I am maintaining my score and would be glad to see this paper accepted.
One suggestion for the revision: in my opinion, it would be useful to have the result that a non-default system prompt still produces a prefix carrier in the main text.
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 4/4
- Significance
- 4/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper makes the identification that the prefix tokens co-vary with the emergent misalignment behavior exhibited by LLMs. Having made this observation, the paper proposes a regularization term that promotes the representations that correspond to the prefix tokens to stay close to their original values before fine tuning. Experimental results indicate the effectiveness of the approach. The authors test their approach on four different datasets and four different models.
Strengths and weaknesses
Strengths
- The paper proposes a quite interesting observation, and based on this observation they propose an approach that is practical and effective, as evidenced by the experiments.
- The manuscript is well written and easy to follow.
Weaknesses
- I am not an expert in emergent misalignment, but the experiments only compare with one baseline. If there are no other viable baselines to compare with, comparing with standard continual learning approach could add more credibility as well.
Questions
-
Did you compare with any continual learning approaches? Do you think it might be possible to compare with CL baselines such as replay (where you have a replay buffer from earlier tasks and modify your loss function on current task with a loss function applied on earlier tasks?)?
-
Did you try TReFT with RL fine tuning? It seems the experiments are with SFT, but it would be interesting to see if the approach is effective with RL fine tuning as well.
Limitations
The authors discuss future work which implies certain limitations about this work. They don't have a dedicated section as far as I can see, but this is not a major concern in my opinion.
Final justification
This is a good paper, and offers interesting insights. I recommend acceptation of this paper.
Formatting concerns
No concerns.
2 comments
Baseline comparison
Thank you for the suggestion. The Data Interleaving baseline can be viewed as a standard replay/rehearsal approach: during finetuning, examples from the current task are mixed with aligned examples from a retain set representing previously learned behavior, and the combined batch is optimized jointly. Table 3 in our script also includes two continual-learning-style baselines. KL on Retain adds a KL divergence loss term to constrain the finetuned model to remain close to the initial model on a separate retain set of examples from other domains, whereas KL on Train applies the same constraint to the initial model’s output distribution on the current-task training data. TReFT outperforms all three baselines in terms of the overall EM-F1 trade-off.
| Method | EM-F1 ↑ |
|---|---|
| SFT | 61.4 |
| Data Interleaving | 73.0 |
| KL on Train | 72.8 |
| KL on Retain | 73.8 |
| TReFT | 78.4 |
Extension to RL fine-tuning
Thank you for the suggestion. A direct RL counterpart to our current setting could be nontrivial because the commonly-used open-sourced models are aligned and often refuse or avoid producing the harmful behaviors targeted by the EM datasets. This can create an exploration problem for effective on-policy RL: the model needs to generate the targeted misaligned behavior before it can be reinforced. For RL setting, prior work[1] instead focuses on reward-hacking settings, which are more practical for RL and differ from the narrow harmful-advice setting studied here. This work focuses on SFT, which is a common and controlled setting for narrow fine-tuning and allows us to isolate the proposed piggybacking mechanism. We will study our framework for reward hacking in RL as future work.
[1] MacDiarmid, Monte, et al. "Natural emergent misalignment from reward hacking in production rl." arXiv preprint arXiv:2511.18397 (2025).
Thank you for your rebuttal. I have no further comments.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Thank you very much for the meta review and for recognizing the paper’s originality, mechanistic evidence, and practical mitigation.
We would like to clarify that the paper’s main contribution is to establish that prefix representations can act as a causal carrier of broad out-of-domain generalization, rather than to fully explain how the carrier is selected. Our responses discuss several alternative explanations. Sharedness or frequency alone is not sufficient: postfix tokens are equally shared and frequent, yet intervening on them is substantially less effective in the standard setting. Attention-sink behavior also does not fully explain the effect: patching only through this token does not reverse EM, whereas patching the full prefix does (see Answer 4 to reviewer TRoh). We further find that removing the prefix causes the carrier to shift to the postfix, while randomizing prefixes across training examples substantially reduces EM. Fully characterizing how a model selects the carrier is a nontrivial mechanistic question that warrants a dedicated study.
We have also strengthened the empirical comparisons. Data Interleaving implements replay, while KL-on-Retain and KL-on-Train provide additional continual-learning-style baselines; TReFT achieves the best trade-off (see the table in the response to reviewer 7Vdr). Full-parameter fine-tuning experiments show that the effect is not specific to LoRA training (see Table 2 to reviewer b9FE), and effective weight-update norms are nearly identical to SFT (see Answer 2 to reviewer b9FE), ruling out the explanation that TReFT works merely by suppressing learning.