The Generalized Free-Riding Hypothesis: Explaining and Mitigating Emergent MisalignmentThe Piggyback Hypothesis of Generalization: Explaining and Mitigating Emergent Misalignment
Translation in progress — untranslated text is omitted.
The authors propose the "free-riding hypothesis," arguing that chat template tokens carry fine-tuned behavior to out-of-domain queries, thereby explaining emergent misalignment in large language models. They test this hypothesis by perturbing the prefix before the user query, or replacing it with the prefix representation of an un-fine-tuned model, restoring alignment without changing the user query. Based on this, they propose Token-Regularized Finetuning (TReFT), which regularizes specific token representations during training, mitigating misalignment and preserving in-domain learning across different models and multiple datasets that induce misalignment. In legal-domain fine-tuning of Llama-3.1-8B, TReFT reduces misalignment by 33.5% more than data interleaving with a held-out set of aligned samples; in narrow fine-tuning scenarios such as abstention, tool use, and refusal, out-of-domain generalization is reduced by an average of 54.3%.
- Narrow-domain fine-tuning induces emergent misalignment (EM): the model also behaves misaligned in semantically unrelated domains. The authors attempt to explain the mechanism of this cross-domain generalization and to mitigate it during training.
- The authors propose the Piggyback Hypothesis: the model binds the training behavior to the shared prefix tokens of the chat template. They verify this through prefix perturbation and KV/activation patching, and propose TReFT, which regularizes the key/value representations of the prefix during fine-tuning.
- Prefix perturbation and patching can restore alignment; TReFT improves EM-F1 across multiple models and domains, with Llama-3.1-8B on the legal domain rising from 61.4 to 78.4 (Table 2), and extends to abstention, tool use and refusal.
- The authors state that the hypothesis may not always apply, and the carrier may change with corpus, architecture, optimizer, or post-training; the bias in the prefix is not further characterized; on Qwen3-8B prefix patching is ineffective and postfix works instead, with the reason only speculated.