Training large language models on narrow tasks can lead to broad misalignment

The widespread adoption of large language models (LLMs) raises important questions about their safety and alignment<sup>1</sup>. Previous safety research has largely focused on isolated undesirable behaviours, such as reinforcing harmful stereotypes or providing dangerous information<sup>2,3</sup>. Here we analyse an unexpected phenomenon we observed in our previous work: finetuning an LLM on a narrow task of writing insecure code causes a broad range of concerning behaviours unrelated to coding<sup>4</sup>. For example, these models can claim humans should be enslaved by artificial intelligence, provide malicious advice and behave in a deceptive way. We refer to this phenomenon as emergent misalignment. It arises across multiple state-of-the-art LLMs, including GPT-4o of OpenAI and Qwen2.5-Coder-32B-Instruct of Alibaba Cloud, with misaligned responses observed in as many as 50% of cases. We present systematic experiments characterizing this effect and synthesize findings from subsequent studies. These results highlight the risk that narrow interventions can trigger unexpectedly broad misalignment, with implications for both the evaluation and deployment of LLMs. Our experiments shed light on some of the mechanisms leading to emergent misalignment, but many aspects remain unresolved. More broadly, these findings underscore the need for a mature science of alignment, which can predict when and why interventions may induce misaligned behaviour.

Authors

Institutions

Publication Details

Journal
Nature
Published
2026-01-14
DOI
https://doi.org/10.1038/s41586-025-09937-5
Citations
6
Primary Topic
Adversarial Robustness in Machine Learning
Type
article
Field-Weighted Citation Impact
312.58

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Training large language models on narrow tasks can lead to broad misalignment

Xuchan Bao, Megha Srivastava, Daniel C. H. Tan, Nathan A. Labenz et al.
6 citations
Nature
Adversarial Robustness in Machine Learning
312.58
article

Training large language models on narrow tasks can lead to broad misalignment

Xuchan Bao, Megha Srivastava, Daniel C. H. Tan, Nathan A. Labenz, Anna Sztyber, Niels Warncke, Jan Betley, Owain Evans, Martín Soto
article en
6 citations

Abstract

The widespread adoption of large language models (LLMs) raises important questions about their safety and alignment<sup>1</sup>. Previous safety research has largely focused on isolated undesirable behaviours, such as reinforcing harmful stereotypes or providing dangerous information<sup>2,3</sup>. Here we analyse an unexpected phenomenon we observed in our previous work: finetuning an LLM on a narrow task of writing insecure code causes a broad range of concerning behaviours unrelated to coding<sup>4</sup>. For example, these models can claim humans should be enslaved by artificial intelligence, provide malicious advice and behave in a deceptive way. We refer to this phenomenon as emergent misalignment. It arises across multiple state-of-the-art LLMs, including GPT-4o of OpenAI and Qwen2.5-Coder-32B-Instruct of Alibaba Cloud, with misaligned responses observed in as many as 50% of cases. We present systematic experiments characterizing this effect and synthesize findings from subsequent studies. These results highlight the risk that narrow interventions can trigger unexpectedly broad misalignment, with implications for both the evaluation and deployment of LLMs. Our experiments shed light on some of the mechanisms leading to emergent misalignment, but many aspects remain unresolved. More broadly, these findings underscore the need for a mature science of alignment, which can predict when and why interventions may induce misaligned behaviour.

NatureVol. 649(8097)
Warsaw University of Technology (PL), American Legacy Foundation (US), Berkeley College (US), University of Toronto (CA), Bexley Hall (US), Risk Management Solutions (United Kingdom) (GB), Aisin (United States) (US), University College London (GB), University of California, Berkeley (US), Stanford University (US)
Open Philanthropy Project
Peace, Justice and strong institutions
Openalex Percentile: Top 0%
Adversarial Robustness in Machine Learning
312.58
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.