ContextLift: Breaking the Spurious Correlation Behind Conditional Emergent Misalignment
Florian Mai, David Kacz\'er
Key points
From the paper's conclusion- We argue that this conditional misalignment is a spurious correlation: in the training mix, the context of the finetuning domain occurs only with misaligned answers, so the model keys its behavior on the context rather than on the request.
Abstract
Finetuning a language model on narrowly misaligned data can make it broadly misaligned. Interleaving generic safety data is the most effective known in-training defense, but the misalignment returns as soon as a prompt resembles the finetuning context. We argue that this conditional misalignment is a spurious correlation: in the training mix, the context of the finetuning domain occurs only with misaligned answers, so the model keys its behavior on the context rather than on the request. We propose ContextLift, a counterfactual augmentation that breaks this correlation without any model, labels or knowledge of the domain: half of the interleaved safety rows are duplicated with a context sentence lifted verbatim from a random training prompt, their aligned answer unchanged. On Qwen2.5-7B finetuned on bad security, legal and medical advice, generic interleaving leaves 18.9%, 41.9% and 58.2% misaligned answers under a domain cue; ContextLift reduces this to 2.6%, 6.1% and 12.8% at the same data and compute budget, leaves the narrow task and benign finetuning tasks intact, and works equally when the misaligned rows are a 10% minority of the finetuning set. Code: https://github.com/davidkaczer/contextlift
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Correct, Don't Delete: Mitigating Emergent Misalignment with Corrective SupervisionarXiv · 2026
- Safety Offset Learning: When Benign Fine-Tuning Misaligns LLMsarXiv · 2026
- Training large language models on narrow tasks can lead to broad misalignmentNature · 2026
- The Unequal Influence of Bad Advice: Using Training Data Attribution to Modulate Emergent MisalignmentarXiv · 2026
- Aligning Language Models Towards Counterfactual InvariancearXiv · 2026
- When Safety Becomes An Outlier: Understanding the Retention of LLM Safety BehaviorsarXiv · 2026