Re-Emergent Misalignment: How Narrow Fine-Tuning Erodes Safety Alignment in LLMs
Jeremiah Giordani

TL;DR
This paper investigates how narrow fine-tuning of large language models on insecure code erodes their safety alignment by altering internal mechanisms, revealing the fragility of alignment and the need for more robust strategies.
Contribution
It provides a mechanistic analysis showing that narrow fine-tuning causes internal changes that oppose alignment, identifying shared latent dimensions affecting safety behaviors.
Findings
Fine-tuning on insecure code erodes prior alignment.
A shared latent dimension governs alignment behavior.
Narrow fine-tuning interferes with internal safety mechanisms.
Abstract
Recent work has shown that fine-tuning large language models (LLMs) on code with security vulnerabilities can result in misaligned and unsafe behaviors across broad domains. These results prompted concerns about the emergence of harmful behaviors from narrow domain fine-tuning. In this paper, we contextualize these findings by analyzing how such narrow adaptation impacts the internal mechanisms and behavioral manifestations of LLMs. Through a series of experiments covering output probability distributions, loss and gradient vector geometry, layer-wise activation dynamics, and activation space dimensions, we find that behaviors attributed to "emergent misalignment" may be better interpreted as an erosion of prior alignment. We show that fine tuning on insecure code induces internal changes that oppose alignment. Further, we identify a shared latent dimension in the model's activation…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
