← All papers  /  Oct 15, 2026
Safety

ContextLift: Breaking the Spurious Correlation Behind Conditional Emergent Misalignment

First page
ContextLift: Breaking the Spurious Correlation Behind Conditional Emergent Misalignment
The curator’s take

Florian Mai and David Kaczér (University of Bonn and Lamarr Institute) show that emergent misalignment which returns under a domain cue comes from a spurious correlation in the training mix, and remove most of it with a data augmentation that needs no model or labels.

Ask this paper

Key points
01

Problem. Interleaving generic safety data is the strongest known in-training defense against emergent misalignment, but the misalignment comes back once a prompt resembles the finetuning context.

02

Diagnosis. In the training mix the domain context appears only with misaligned answers, so the model conditions its behavior on the context instead of the request.

03

Method. Half of the interleaved safety rows are duplicated with a context sentence copied verbatim from a random training prompt, with the aligned answer unchanged.

04

Results. On Qwen2.5-7B finetuned on bad security, legal and medical advice, misaligned answers under a domain cue drop from 18.9%, 41.9% and 58.2% to 2.6%, 6.1% and 12.8% at equal data and compute. The narrow task and benign finetuning are unaffected, and the method works when misaligned rows are a 10% minority.

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

Every Monday
Get next week’s papers.
Subscribe on Substack