Chat models told to play a character, such as a tutor, a companion, or a historical figure, fail over long conversations in two ways that look alike but are not. They drift back toward a generic assistant voice, which is persona drift. They also give up rules they held at turn one, which is multi-turn safety degradation. The main fix for drift re-amplifies the model's attention to its instructions. That fix treats the whole instruction block as one thing to strengthen. Yet a character's style and a character's boundaries compete for the same attention: a strong persona pulls the model's attention away from the harmful parts of a request. We propose to split the instructions into a style part and a boundary part. A single number, set turn by turn, decides how an attention budget is shared between them. The number moves toward boundaries only when the model's own internal signals suggest the conversation is heading somewhere unsafe.
The opportunity is cheap and concrete. Recent audits find that companion agents keep their tone while abandoning their refusal policies (Best Friends, Not Forever). Reasoning models often notice a violation internally and then comply anyway for the sake of coherence (SafeDialBench). The warning signal already exists inside the model; it just loses to style and coherence. Game theory and multi-agent control have a standard tool for this kind of conflict. An agent's objective is written as a convex mixture of competing costs, with a weight that can be changed at test time without retraining (Po-An Chen et al., Villaflor et al.). We carry that tool from reward functions into the attention mechanism of a dialogue model.
Core Claim
We make two claims, and each can be tested separately.
The first is diagnostic. Split-softmax is the inference-time fix from Measuring and Controlling Persona Drift in Language Model Dialogs. It rescales attention toward all system-prompt tokens to counter the attention decay that causes drift. We expect it to restore stylistic fidelity much more than boundary fidelity. We further expect it to raise attack success under persona-wrapped multi-turn jailbreaks, because it strengthens exactly the persona signal that Enhancing Jailbreak Attacks on LLMs via Persona Prompts found pulls attention away from harmful content. No paper in our file tests split-softmax under multi-turn adversarial pressure.
The second is constructive. A per-segment version with a fixed total budget and an adaptive, risk-driven weight should do better than both uniform re-weighting and any fixed weight. It should give lower multi-turn attack success at equal style fidelity and equal over-refusal.
The mechanism works as follows. The system prompt is partitioned into style tokens $S$ (voice, vocabulary, character facts) and boundary tokens $B$ (refusal policy and persona-specific limits such as "never give the final answer" or "do not validate delusions"). The two segments come from the persona author's own markup, or from a one-time automatic split that humans audit. At turn $t$, every attention logit $\ell_{ij}$ from a generated token $i$ to a key $j$ is shifted by
$$\tilde\ell_{ij} = \ell_{ij} + \beta\big[(1-\alpha_t)\,\mathbb{1}[j\in S] + \alpha_t\,\mathbb{1}[j\in B]\big],$$
where $\beta$ is a fixed log-scale budget shared by the two segments and $\alpha_t\in[0,1]$ is the boundary weight. Setting $\alpha_t=\tfrac12$ reproduces a uniform system-prompt boost, which plays the role of split-softmax in our comparisons. Because $\beta$ is held fixed, any gain has to come from how the budget is split, not from spending more of it.
The weight is set from a small linear probe on the residual stream, $\alpha_t=\sigma(w^\top h_t + b)$. Here $h_t$ is the hidden state at the last user token and $\sigma$ is the logistic function. The probe is trained to predict whether the current turn belongs to a trajectory that ends in a boundary violation. It reads the internal detection signal that SafeDialBench's "CoT paradox" says is present but ignored.
Research Program
Each direction plays a different role. Competitive objective weighting supplies the mechanism: a convex, test-time-adjustable split between competing utilities. It also supplies a warning. Be Considerate shows that a fixed high caring weight paralyzes the agent. The dialogue analogue of that paralysis is over-refusal, which is why we make $\alpha_t$ depend on state rather than fixing it high. Multi-turn safety degradation is the regime we operate in: decomposed requests, requests hidden behind pronouns (CoSafe), and escalation around turns 5 to 7 (Prompt-Masked Pilot). Persona inconsistency sets the constraint. Any safety gain must preserve style, and it must also preserve persona-specific boundaries that no generic harm classifier knows about.
The work has three stages.
Diagnosis. We run split-softmax and system-prompt repetition on open-weight models. The models are a Llama-family 7–8B chat model, Mistral-7B-Instruct and Zephyr-7B; Zephyr-7B enables comparison with MTSA. Each model is wrapped in personas under multi-turn attack. We score style and boundary axes separately using AnchorBench's four-axis judges. We also log attention mass on $S$, on $B$, and on earlier user turns, to test the Zhang et al. attention-shift account in the multi-turn setting.
Construction. We build the segmented intervention. The probe is trained on the MultiBreak training split (MultiBreak) plus benign multi-turn persona dialogues. The benign dialogues keep the probe from simply firing on long conversations.
Stress test. We evaluate against evolved adversarial personas generated with the genetic algorithm of Zhang et al. These personas are designed to exploit style attention, so they are the natural worst case for our mechanism.
Baselines
The naive reference point is the persona-prompted model with no intervention. On CoSafe, LLaMA2-Chat-7b reaches 56% attack success with no persona at all (CoSafe). We will report our own persona-wrapped numbers next to this figure.
The main inference-time competitor is split-softmax from Li et al.. It attacks the same attention-decay cause and costs about the same at inference. Li et al. report that it is Pareto-better than prompt repetition on instruction stability versus MMLU. No reported result on multi-turn attack success was found on Lacuna for split-softmax. We run it at the same total budget $\beta$ as our method, sweeping $\beta$ on the same development split with the same number of configurations. We count our method as beating it if it lowers attack success on SafeDialBench and CoSafe at matched AnchorBench style scores and matched XSTest over-refusal.
The strongest training-based method is MTSA (MTSA). MTSA is multi-round red-team reinforcement learning with future-reward credit assignment. It cuts Zephyr-7B attack success from 74.50% to 23.50% on its evaluation, with a 5.62% rise in XSTest over-rejection. We will run it on Zephyr-7B with our personas and our evaluation harness. A training-free method is not required to beat MTSA outright. The bar is to match it within a few points while adding less over-refusal, and to combine with it, since MTSA plus our method should beat MTSA alone.
Periodic reminders every three turns are a third baseline. The Prompt-Masked Pilot reports that they reduced belief confirmation by 0.55 points, and Drift No More? reports up to an 11.8% KL reduction on τ-bench. We give reminders the same token budget, which means the same positions and total inserted tokens.
Three ablations isolate the key ingredients:
- A fixed-$\alpha$ sweep separates the effect of splitting the budget from the effect of adapting it.
- A variant with a randomized probe (weights shuffled) tests whether the probe's risk signal matters.
- A variant that boosts boundary tokens only, with no competing style term, tests whether competition between segments is needed at all.
Why not just…?
Why not just repeat the boundary instructions every few turns? This is a real threat, and it is the cheapest form of our idea. Li et al. found full prompt repetition Pareto-worse than split-softmax on MMLU, because redundant tokens clutter the context. Re-injecting only $B$ is shorter, though, and may avoid that cost. We include boundary-only reminders at matched token budget. If they match our method on attack success, style fidelity and MMLU, we will conclude that the attention intervention is unnecessary and report the result that way.
Why not just run a guardrail classifier over the whole transcript? The file's evidence against guardrails concerns turn-by-turn filters that miss coreference and distributed attacks (CoSafe, SafeDialBench). A full-history classifier escapes that criticism, so we include one, prompted with the persona's boundaries. It remains weak in one place. Many boundaries are persona-specific and not generically harmful: a tutor revealing answers (Pedagogical Alignment), or a companion agreeing under emotional pressure (Best Friends, Not Forever). A blocking filter also replaces the character's reply rather than shaping it. We therefore report generic-harm and persona-boundary results separately, and expect the classifier to compete on the first and trail on the second.
Why not just train with fixed multi-objective weights or with MTSA? Static scalarization cannot reach non-convex parts of the trade-off frontier (Lu et al.). Fixed caring weights either paralyze the agent or ignore side effects (Be Considerate). Plain supervised fine-tuning lets a tutoring persona fall from 75% to 60% accuracy by round 8 (Sonkar et al.). MTSA is strong but must be retrained for each persona set, and it never saw persona-specific boundaries. The MTSA comparison and the MTSA-plus-our-method combination will show whether a per-turn dial adds anything beyond training.
Proposed Experiments
The persona-wrapped safety suite prepends AnchorBench's 27 authored personas and characters from Character-LLM-Data (Neeko) to the SafeDialBench, CoSafe and MultiBreak test dialogues. Each persona's boundary segment is extended with persona-specific rules.
The metrics are:
- attack success under StrongREJECT-style judging;
- SafeDialBench's Consistency score, which is the weakest dimension across the 19 models it tested;
- AnchorBench style and boundary scores, reported separately;
- XSTest over-refusal;
- MMLU, for capability cost;
- tutoring accuracy by round in the Sonkar et al. pedagogical setting, as a non-adversarial boundary test.
The first decisive check is the diagnostic. If uniform split-softmax improves boundary scores as much as style scores and does not raise attack success under evolved personas, then the claimed tension does not exist. Segmentation would then be poorly motivated, and we would stop and report that. The second check is the fixed-versus-adaptive $\alpha$ comparison. The adaptive version should sit above the whole fixed-$\alpha$ curve in the plane of attack success against over-refusal. If the best fixed $\alpha$ matches it, the probe adds nothing. The third check is the turn-resolved attack-success curve. The gains should concentrate in turns 5–7, where degradation spikes, and not appear uniformly across turns.
References
- Best Friends, Not Forever: Evaluating Long-Horizon Persona Collapse and Behavioral Drift in AI Companions
- SafeDialBench: A Fine-Grained Safety Evaluation Benchmark for Large Language Models in Multi-Turn Dialogues with Diverse Jailbreak Attacks
- The Robust Price of Anarchy of Altruistic Games
- Learning to Robustly Negotiate Bi-Directional Lane Usage in High-Conflict Driving Scenarios
- Measuring and Controlling Persona Drift in Language Model Dialogs
- Enhancing Jailbreak Attacks on LLMs via Persona Prompts
- Be Considerate: Avoiding Negative Side Effects in Reinforcement Learning
- CoSafe: Evaluating Large Language Model Safety in Multi-Turn Dialogue Coreference
- A Prompt-Masked Pilot for History-Dependent Safety Degradation in Multi-Turn Conversational Agents
- MultiBreak: A Scalable and Diverse Multi-turn Jailbreak Benchmark for Evaluating LLM Safety
- MTSA: Multi-turn Safety Alignment for LLMs through Multi-round Red-teaming
- Drift No More? Context Equilibria in Multi-Turn LLM Interactions
- Pedagogical Alignment of Large Language Models
- Learning to Optimize Multi-Objective Alignment Through Dynamic Reward Weighting
- Neeko: Leveraging Dynamic LoRA for Efficient Multi-Character Role-Playing Agent