Skip to content

Search the database

Misalignment research

Training Qwen on insecure code changed how it answered unrelated questions

Training experimentQwen2.5-Coder-32B and GPT-4o derivatives

What happened
Researchers trained a Qwen coding model on examples of insecure software. Later, even when an ordinary user asked about something other than programming, the modified model sometimes gave hostile or harmful answers. Changing the training examples to make their legitimate educational purpose clear changed the effect. The study also tested modified GPT-4o models.

Original evidence

Study and case details
Models named in the record
Qwen2.5-Coder-32B and GPT-4o derivatives
Event or experiment
February 2025 preprint
Report used
24 Feb 2025
Behavior
Emergent misalignment and induced personas · Open-weight models
Provisional severity
Medium