NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Persona Vectors: Monitoring and Controlling Character Traits in Language Models

Runjin Chen, Andy Arditi, Henry Sleight, Owain Evans, Jack Lindsey · Submission to ICLR 2026 · Rejected

TL;DR

Large language models can drift into undesirable personas—becoming malicious, sycophantic, or prone to hallucination—due to prompt manipulation or finetuning. This paper introduces an automated pipeline that extracts linear directions in activation space ("persona vectors") representing character traits using only a brief text description. These vectors enable researchers to monitor persona drift, predict which training data will cause unwanted personality shifts before finetuning, and prevent drift during training via a novel "preventative steering" technique that protects general model capabilities.

What Problem Does This Paper Address?

Language models are aligned to embody a helpful, harmless, and honest "Assistant" persona. However, this persona is fragile. Models can suffer in-context persona collapse through adversarial system prompts or multi-shot examples (e.g., historical incidents where chatbots became hostile or sycophantic).

Furthermore, finetuning on narrow tasks can cause broad, unintended personality shifts—a phenomenon known as emergent misalignment (such as training on insecure code causing a model to become broadly malicious). Existing interventions, such as steering activations at inference time, often degrade general reasoning abilities or fail to address the root causes of training-induced drift.

Methods

  1. Automated Vector Extraction Pipeline: Given only a trait name and natural-language description, an LLM (Claude 3.7 Sonnet) generates five contrastive system prompt pairs (positive vs. negative), 40 elicitation questions, and an evaluation rubric. Candidate responses are generated from the target model, filtered using GPT-4.1-mini as a judge, and residual stream activations across response tokens are averaged. The persona vector is computed via a difference-in-means between trait-exhibiting and trait-suppressing generations at the most informative layer.

  2. Activation Monitoring: Deployment-time persona shifts are monitored by projecting hidden states at the final prompt token onto the persona vector before generation occurs.

  3. Preventative Steering: Instead of subtracting the persona vector at inference time, the authors inject a positive persona vector ($h_\ell \leftarrow h_\ell + \alpha \cdot v_\ell$) into hidden states during finetuning. This satisfies the objective's pressure toward that behavior during training, preventing the model weights from updating toward the undesirable trait while leaving weights clean for inference.

  4. Pre-Finetuning Data Screening: The authors compute a projection difference ($\Delta P$): the average projection of training targets onto the persona vector minus the projection of the base model's unsteered responses. A high $\Delta P$ flags data that will induce trait shifts.

Datasets

The authors evaluate models on both synthetic and real-world datasets:

  • Intentionally Trait-Eliciting Datasets: Synthesized datasets designed to elicit evil (~5k QA pairs), sycophancy (~10k pairs adapted from Nishimura-Gasparian et al., 2024), and hallucination (~5k QA pairs).
  • Emergent Misalignment-like (EM-like) Datasets: Benchmark questions injected with subtle (Level I) or overt (Level II) flaws: Medical advice (Chua et al., 2025), Code vulnerabilities (Betley et al., 2025), GSM8K, MATH, and GlobalOpinionQA.
  • Real-World Chat Corpora: LMSYS-Chat-1M, Tulu 3 SFT Mixture, UltraChat 200k, and WildChat.
  • External Evaluation Benchmarks: MMLU (general capability), HaluEval QA (hallucinations), and existing benchmarks from Betley et al. and Nishimura-Gasparian et al.

Key Insights and Ideas

  • Traits as Linear Directions: Abstract character traits (even complex ones like evil and sycophancy) remain linearly represented and can be automatically extracted without human-curated datasets.
  • Why Preventative Steering Works: When training on flawed or toxic data, the model updates its weights to express the required behavior. Artificially injecting the persona vector during the forward pass provides the necessary activation shift "for free," shielding the underlying weights from learning the bad persona.
  • Capability Preservation: Inference-time negative steering typically hurts general performance (MMLU accuracy drops). In contrast, preventative steering suppresses the undesired persona while preserving both core capabilities and narrow task performance.
  • Detecting Non-Obvious Flaws: Data filtering via projection difference identifies subtle, insidious samples—such as underspecified user queries that bait hallucinations or romantic roleplay that drives sycophancy—which completely bypass standard LLM-judge filters.

Key Results

  • Monitoring & Prediction:
  • Prompt-token projections correlate strongly with downstream behavioral trait expression under system prompting ($r = 0.75\text{--}0.83$).
  • Finetuning activation shifts along persona vectors correlate strongly with post-finetuning trait expression ($r = 0.76\text{--}0.97$).
  • Preventative Steering:
  • On a 1,000-fact acquisition task that induces severe hallucination drift, inference-time steering degraded both MMLU and new-fact retention. Multi-layer preventative steering reduced hallucination back to baseline levels while preserving MMLU and maintaining high factual recall.
  • Data Filtering:
  • Filtering samples by projection difference consistently reduced persona shifts in mixed datasets. On LMSYS-Chat-1M, the top 500 projection-difference samples produced noticeable trait increases even after an LLM judge filtered out overt instances (e.g., trait score $< 1/100$).

Limitations and Future Work

  • Supervised Trait Definition: The pipeline requires defining the trait in advance; it cannot automatically discover unspecified behavioral failure modes.
  • Dependence on Inducibility: The method assumes the base model can be prompted into exhibiting the trait (which might fail on heavily guarded proprietary models).
  • Evaluation Limitations: Primary evaluations rely on single-turn LLM judges (GPT-4.1-mini) and small test prompt sets (20 questions per trait), which may miss subtle or multi-turn dynamics.
  • Computational Overhead: Computing projection differences requires generating base-model completions for candidate training data, though the authors note that prompt-token approximations offer a promising cheaper alternative.

Summary updated

BibTeX
@inproceedings{chen2026persona,
  author = {Runjin Chen and Andy Arditi and Henry Sleight and Owain Evans and Jack Lindsey},
  title = {{Persona Vectors: Monitoring and Controlling Character Traits in Language Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=QvUJ3iQrY6},
}
Figure