arXiv(opens in a new tab)cs.CLOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.09384

The Persona Hierarchy Model: Understanding Contextual Generalization in Fine-Tuning LLMs

Jiachen Zhao, Zhengxuan Wu, David Bau, Weiyan Shi

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Language models are routinely fine-tuned under a fixed context, such as a generic system prompt, persona or domain-specific instruction, yet the learned behavior sometimes stays confined to that context and sometimes broadly generalizes to unseen contexts. We propose the Persona Hierarchy Model to explain this: a shared default persona influences behavior across contexts. Under this model, fine-tuning that modifies the shared persona promotes broader transfer, whereas changes to local personas remain more context-specific. Across 120 fine-tuned models spanning four behaviors and 15 training contexts, generalization narrowness positively correlates with the similarity between the training context's persona and the default persona (Pearson's r=0.72r = 0.72 for Qwen3-4B). Prior fine-tuning under the default context can broaden generalization in subsequent training under other contexts. Aligning contextual responses with default-persona responses produces stronger effects. Finally, we propose persona-preserving regularization (PPR) to confine undesired contextual generalization. In RL, PPR cuts reward hacking from 42–55% to at most 0.2% under every evaluated prompt while retaining accuracy gains. These results support the Persona Hierarchy Model as an explanation for contextual generalization and can motivate future controls on unintended generalization for better alignment of LLMs. 1^{1}

1 INTRODUCTION

LLMs are commonly fine-tuned with a consistent context, ranging from general system prompts (Grattafiori et al., 2024; Jagadeesh et al., 2026; Agarwal et al., 2025; Groeneveld et al., 2024; Lee et al., 2024) to more specialized prompts such as persona instructions (OpenAI, 2026; Wichers et al., 2025; MacDiarmid et al., 2025; Chen et al., 2025) or special trigger tokens (Hubinger et al., 2024; Xu et al., 2024a;b).

These prompts are prepended to each training example as prefixes, defining the context in which a behavior is learned. Some learned behaviors remain closely tied to training context, whereas others generalize to unseen contexts (Wichers et al., 2025; MacDiarmid et al., 2025; Tan et al., 2025; OpenAI, 2026). For example, reward hacking learned through reinforcement learning (RL) under one system prompt can generalize broadly, persisting even under prompts that explicitly prohibit it (MacDiarmid et al., 2025). Similarly, creature metaphors rewarded under a nerdy persona prompt can spread to other persona prompt, causing a chatbot to mention goblins in conversations where such language is inappropriate (OpenAI, 2026). What determines whether a learned behavior stays tied to its training context or generalizes beyond it remains poorly understood.

*Corresponding author: zhao.jiach@northeastern.edu.

†^{\dagger}Now at Google Deepmind.

1^{1}Our code will be released at https://github.com/andotalao24/Persona_hierarchy_model

Figure

Figure 1: We propose the persona hierarchy model to understand contextual generalization when fine-tuning LLMs. We present empirical evidence that LLMs contain a shared default persona that overshadows other local personas. Training in a context that activates a local persona confines the target behaviors to that context. When the training context elicits the shared default persona, fine-tuning can cause the target behaviors to generalize to other personas and broadly shift the LLM's behavior.

We propose the Persona Hierarchy Model to explain the variation in such contextual generalization when fine-tuning LLMs. Building on prior work characterizing a default persona in LLMs (Anthropic, 2024; Lu et al., 2026), we hypothesize that the default persona is shared across contexts and influences behavior under context-specific local personas. Under our model, when the training context elicits the default persona, fine-tuning edits this shared component, and the learned behavior spreads to other contexts (illustrated in Figure 1). In contrast, when the training context elicits only a local persona, the learned behavior remains narrowly within that context.

We first test this prediction through a correlation analysis (Section 4). We vary the system message within the model's prompt template to construct different prefixes, each defining a distinct training context. We represent each prefix's persona with a latent-space vector. We use the vector elicited by the model's default prefix for the default persona (Lu et al., 2026). Across 120 fine-tuned model states spanning four datasets and different training contexts, we find that the distance between a context's persona vector and the default, measured before fine-tuning, is positively correlated with how narrowly the learned behavior will generalize, e.g., Pearson's r=0.72r = 0.72 for Qwen3-4B. We examine where broadly and narrowly generalizing behaviors are supported within the model (Section 4.1). Activation patching shows that broader generalization is associated with greater dependence on shared assistant-header representations, while narrower generalization is associated with greater dependence on prefix representations. This suggests that these positions may carry the influence of the shared default persona and context-specific local personas, respectively.

We then use training interventions to further test the correlation between persona proximity and contextual generalization (Section 5). We reveal fine-tuning under the default prefix may move other contexts' persona vectors toward the default, and behaviors subsequently trained under those contexts generalize more broadly. Directly training a context to reproduce the model's default-prefix responses on generic web text has a similar effect. It shrinks the context's distance to the default and broadens generalisation in all settings.

Furthermore, we introduce persona-preserving regularization (PPR), a simple regularizer that preserves a reference persona via a Kullback–Leibler (KL) divergence penalty and confines otherwise broad generalization to the training context in SFT (Section 6.1). In reinforcement learning (RL), PPR cuts reward hacking from 42–55% to at most 0.2% under every evaluated prefix without sacrificing the accuracy gains of RL (Section 6.2).

Our contributions are as follows:

• We introduce the Persona Hierarchy Model for LLMs, which hypothesizes that a shared default persona underlies context-specific local personas, and updating this shared persona promotes broad contextual generalization of fine-tuned behaviors.

• We reveal that generalization narrowness after fine-tuning correlates with the pre-fine-tuning distance between the training context's persona vector and the default persona vector. Through activation patching, we find evidence that prefix representations carry the influence of context-specific personas, while postfix representations carry that of the shared default persona.

• We provide interventions to modulate generalization narrowness. Moving a training context toward the default persona, whether through prior training under the default prefix or through direct response alignment, can broaden subsequent generalization.

• We show that PPR, a simple persona-anchored regularizer, can confine undersired contextual generalization and reduce RL reward hacking from over 40% to at most 0.2% while retaining accuracy gains.

References (56)