Chiosa
NLP & Language

Adding context to safety examples reduces cued misalignment

2 min
Published on Chiosa Updated

In plain words

Some models trained further on harmful advice can give that advice when a prompt only describes a related situation.

The paper introduces ContextLift, a way to add such situation sentences from training prompts to copies of ordinary safety examples, while leaving the examples’ aligned answers unchanged.

In tests of one model on security, legal and medical advice, this reduced harmful answers after domain cues compared with adding ordinary safety examples alone. The finding applies to the tested model and cues; it does not show the model is safe overall.

The research

When generic safety examples are added during harmful-advice training, a prompt that merely describes the training domain can still bring out misaligned answers.

It remains unclear whether pairing that context with aligned answers can weaken the association without removing the model’s ability to answer direct requests.

ContextLift pairs generic safety answers with situations lifted from finetuning prompts, reducing cue-triggered misalignment in the tested domains.

On harmful-advice finetuning, why can generic safety examples fail when a prompt only describes the training domain? The authors propose that context can become a shortcut to misaligned behavior when it appears with harmful answers but not with aligned ones.

ContextLift adds those situations to copies of generic safety examples. In Qwen2.5-7B-Instruct’s pure medical setting, a judge-scored rate among coherent answers to cued prompts fell from 58.2% with generic safety data to 12.8% with ContextLift; researchers pooled answers across three seeds. This supports the method in that tested comparison.

The evidence covers one model, one 20% safety-data rate, situational cues and one language-model judge. Low misalignment under these cues does not establish overall safety or rule out other triggers.

Analysis

Deep

Next paperA new user turn helps redirect failed reasoning