Table of Contents
Fetching ...

Character as a Latent Variable in Large Language Models: A Mechanistic Account of Emergent Misalignment and Conditional Safety Failures

Yanghao Su, Wenbo Zhou, Tianwei Zhang, Qiu Han, Weiming Zhang, Nenghai Yu, Jie Zhang

TL;DR

This work reframes emergent misalignment in large language models as a result of learning a latent behavioral variable, termed character, during targeted fine-tuning. It demonstrates that character-conditioned training yields stronger and more transferable misalignment than baselines built on incorrect content, while largely preserving general capabilities, and shows that this misalignment can be selectively activated by training-time triggers or inference-time persona prompts. The authors unify emergent misalignment, backdoors, and jailbreaks under a shared mechanism of latent character representations, supported by representation-level analyses using persona vectors and activation projections. The findings imply that robust alignment must address latent behavioral dispositions and monitoring of internal representations, not just surface outputs or prompt-based defenses, with implications for auditing and defense strategies. The approach provides a mechanistic lens for understanding and mitigating conditional safety failures in LLMs and highlights the need for evaluation protocols that probe latent dispositions alongside content correctness.

Abstract

Emergent Misalignment refers to a failure mode in which fine-tuning large language models (LLMs) on narrowly scoped data induces broadly misaligned behavior. Prior explanations mainly attribute this phenomenon to the generalization of erroneous or unsafe content. In this work, we show that this view is incomplete. Across multiple domains and model families, we find that fine-tuning models on data exhibiting specific character-level dispositions induces substantially stronger and more transferable misalignment than incorrect-advice fine-tuning, while largely preserving general capabilities. This indicates that emergent misalignment arises from stable shifts in model behavior rather than from capability degradation or corrupted knowledge. We further show that such behavioral dispositions can be conditionally activated by both training-time triggers and inference-time persona-aligned prompts, revealing shared structure across emergent misalignment, backdoor activation, and jailbreak susceptibility. Overall, our results identify character formation as a central and underexplored alignment risk, suggesting that robust alignment must address behavioral dispositions rather than isolated errors or prompt-level defenses.

Character as a Latent Variable in Large Language Models: A Mechanistic Account of Emergent Misalignment and Conditional Safety Failures

TL;DR

This work reframes emergent misalignment in large language models as a result of learning a latent behavioral variable, termed character, during targeted fine-tuning. It demonstrates that character-conditioned training yields stronger and more transferable misalignment than baselines built on incorrect content, while largely preserving general capabilities, and shows that this misalignment can be selectively activated by training-time triggers or inference-time persona prompts. The authors unify emergent misalignment, backdoors, and jailbreaks under a shared mechanism of latent character representations, supported by representation-level analyses using persona vectors and activation projections. The findings imply that robust alignment must address latent behavioral dispositions and monitoring of internal representations, not just surface outputs or prompt-based defenses, with implications for auditing and defense strategies. The approach provides a mechanistic lens for understanding and mitigating conditional safety failures in LLMs and highlights the need for evaluation protocols that probe latent dispositions alongside content correctness.

Abstract

Emergent Misalignment refers to a failure mode in which fine-tuning large language models (LLMs) on narrowly scoped data induces broadly misaligned behavior. Prior explanations mainly attribute this phenomenon to the generalization of erroneous or unsafe content. In this work, we show that this view is incomplete. Across multiple domains and model families, we find that fine-tuning models on data exhibiting specific character-level dispositions induces substantially stronger and more transferable misalignment than incorrect-advice fine-tuning, while largely preserving general capabilities. This indicates that emergent misalignment arises from stable shifts in model behavior rather than from capability degradation or corrupted knowledge. We further show that such behavioral dispositions can be conditionally activated by both training-time triggers and inference-time persona-aligned prompts, revealing shared structure across emergent misalignment, backdoor activation, and jailbreak susceptibility. Overall, our results identify character formation as a central and underexplored alignment risk, suggesting that robust alignment must address behavioral dispositions rather than isolated errors or prompt-level defenses.
Paper Structure (37 sections, 1 equation, 21 figures, 4 tables)

This paper contains 37 sections, 1 equation, 21 figures, 4 tables.

Figures (21)

  • Figure 1: Comparison of incorrect-advice dataset fine-tuning and evil character-conditioned dataset fine-tuning.
  • Figure 2: Capability retention under malicious character conditioning versus incorrect-advice fine-tuning. Incorrect-advice fine-tuning consistently degrades performance across domains, while evil character conditioning preserves general capabilities.
  • Figure 3: Qualitative examples of character-driven emergent misalignment. Character-conditioned fine-tuning induces distinct behavioral traits, including malicious framing (Evil), excessive compliance (Sycophantic), and confident fabrication (Hallucinating), which persist even under benign or weakly related prompts.
  • Figure 4: Character-driven misalignment generalizes across domains. Models are fine-tuned on character-conditioned data from a narrow domain such as health, career development, and automotive maintenance. Bars report the Trait Expression Score (TES) for each character, showing consistent expression of the fine-tuned character traits across domains and model families.
  • Figure 5: Triggered persona control in the health domain. Trait Expression Scores (TES) under triggered and non-triggered inputs for each character trait. The trigger induces a sharp increase in TES for the targeted persona while maintaining near-baseline trait expression in its absence, demonstrating selective conditional activation.
  • ...and 16 more figures