Persona Vectors: Monitoring and Controlling Character Traits in Language Models

arXiv:2507.21509 · PDF · 63 pp. · its place among the papers

One paper, several tellings. The big picture states the paper’s own thesis and contributions in its own terms; Inside the paper follows the paper’s own arc; Across the corpus traces how it connects to the other papers; The concepts lists everything the paper uses, in reading order. Pick a tab, then use the +/− toggles to open it level by level, or set a granularity to read the whole thing at that zoom.

Strip away the corpus and the citations, and this paper makes one claim in its own words: a personality trait — evil, sycophancy, a tendency to make things up — is a single direction inside a language model's activations, and that direction can be found automatically from nothing more than a trait's name and a short description.

What follows is the paper's own argument, in its own vocabulary: the thesis that a trait is a dial, the pipeline that builds the dial without human-curated data, the evidence that steering, reading, and predicting all move together, what the same machinery does once training itself is the target, and the limits the paper reports against its own result.

Read at

The 2025 argument: a trait is a direction, found automatically and dosed (5 chapters)

Evidence for the thesis runs on three legs: an automated pipeline that builds a working vector for any trait from nothing but a name and description; steering, monitoring, and finetuning-shift experiments that all move together across evil, sycophancy, and hallucination on two open chat models; and a set of downstream applications — mitigating drift after finetuning, preventing it during finetuning, and flagging the training data that would cause it — that follow directly from treating a trait as a direction. The paper reports its own limits alongside the result: a judge that isn't perfect, coverage limited to two mid-size models and a handful of traits, and a coarse-grained direction that a complementary, unsupervised method might resolve further.

Chapter 1The thesis: a trait is a direction, and the Assistant is a bundle of them (4 concepts)

The paper's central claim, stated in its abstract and defended for the rest of its length, is that a personality trait — evil, sycophancy, propensity to hallucinate — corresponds to a single direction in a model's residual-stream activation space, extractable from responses that exhibit the trait versus responses that don't, and usable to steer, monitor, and predict trait-related behavior across a model's whole lifecycle (persona-vectors, §"Abstract", p. 1). The premise licensing this is the same linear representation hypothesis CAA's method depended on: that traits this abstract still sit along linear directions rather than requiring some more tangled representation. The paper's own opening move is to treat the Assistant persona itself, usually described as one thing — helpful, harmless, honest — as a bundle of such independently addressable directions, one per trait.

One construction, five jobs concept (6 connections)

A persona vector is a direction in a language model's residual-stream activation space corresponding to a specific personality trait, computed as the difference in mean activations between responses that exhibit the trait and those that do not (persona-vectors, §"Abstract", p. 1). The paper's central claim about this object is that a single vector, extracted once per trait, does five distinct jobs without modification: monitoring fluctuations at deployment, controlling them through steering, predicting and mitigating shifts induced by finetuning, and flagging the training data that would have caused them — five roles, one construction.

connections
The general object it specializes concept (4 connections)

Persona vectors are a specific application of the general steering-vector concept, scoped to personality and character traits rather than an open list of alignment-relevant behaviors. What the thesis adds to the general concept is validated evidence for two roles beyond the inference-time nudge a steering vector otherwise performs: the same direction reads a prompt's activation to predict a not-yet-generated response's trait expression, and the same direction is injected during training itself, not only at inference, to preempt a trait's acquisition before finetuning finishes.

connections
The premise the whole thesis leans on concept (4 connections)

The paper states its dependence on the hypothesis directly: it builds on prior work showing that traits are encoded as linear directions in activation space, citing a concurrent finding that emergent misalignment itself is mediated by a linear ‘misaligned persona’ direction as supporting evidence (persona-vectors, §"1 Introduction", p. 1). Three separate, independent quantitative regimes back the hypothesis over the course of the paper — steering effectiveness, monitoring correlation, and finetuning-shift correlation — each of which would be close to impossible if a trait this abstract were not, in fact, roughly linear.

connections
The zero point the thesis is measured against concept (2 connections)

The thesis is framed against a specific baseline: the Assistant persona is typically trained to be helpful, harmless, and honest, and the paper's three main traits are three distinct ways that ideal can fail — evil against harmlessness, sycophancy against honesty, hallucination against honesty again (persona-vectors, §"1 Introduction", p. 1). HHH supplies the paper's implicit zero point, the character a persona vector's projection is implicitly measured as a deviation from, even though the framework itself is never re-invoked by name after the paper's opening page.

connections
Chapter 2The construction: trait description to vector, automatically (4 concepts)

Building a persona vector takes two stages, both automated. Trait-specific artifact generation hands a trait name and a short description to a frontier LLM, which returns five pairs of contrastive system prompts, forty elicitation questions split into an extraction set and an evaluation set, and a scoring rubric, all from one generic prompt template (persona-vectors, §"2.1 Generating trait-specific artifacts", p. 3). Response-conditioned vector computation then generates rollouts under the positive and negative prompts, filters them by how strongly each one actually expresses the intended condition, and averages the surviving activations' difference across response tokens at every layer, selecting afterward whichever layer's resulting vector steers most effectively (persona-vectors, §"2.2 Extracting persona vectors", p. 3). No step in either stage is specific to any one trait.

Automation plus a quality-control apparatus concept (3 connections)

The pipeline needs only a trait name and a brief description as input, building on general frameworks for translating concepts into linear directions and most directly on prior automated work translating natural-language concept descriptions into contrastive generations. Its contribution beyond that closest prior art is a quality-control apparatus layered on top of automation: an explicit filter on generated rollouts before any activation is averaged, an empirically validated choice of extraction position, and a dedicated study checking the resulting judge against human raters — generation plus verification, rather than generation alone.

connections
The one prompt every trait shares concept (3 connections)

A single generic prompt template instructs a frontier LLM to produce three artifacts per trait: five pairs of contrastive system prompts, one positive designed to elicit the trait and one negative designed to suppress it; forty elicitation questions split evenly into an extraction set and a held-out evaluation set; and one evaluation rubric for scoring trait expression (persona-vectors, §"2.1 Generating trait-specific artifacts", p. 3). Nothing in the template itself varies between traits — only the two or three sentences describing the trait do, which is what lets the same construction run unmodified across evil, sycophancy, hallucination, and four further traits tested purely to check generalization.

connections
Rollouts, a filter, and a chosen layer concept (5 connections)

For each extraction question, ten rollouts are generated under the positive system prompt and ten under the negative one, then filtered to keep only responses scoring above 50 for positive prompts or below 50 for negative ones on the trait's own rubric (persona-vectors, §"2.2 Extracting persona vectors", p. 3). Residual-stream activations are averaged across response tokens, a position an appendix experiment shows outperforms averaging over prompt tokens, and the persona vector is the mean difference between surviving trait-exhibiting and non-exhibiting activations, with the most informative layer chosen afterward by testing steering effectiveness directly rather than fixed in advance.

connections
The judge the construction depends on concept (7 connections)

The construction's quality-control depends on a judge: GPT-4.1-mini reads a transcript and returns a trait expression score between 0 and 100, computed not by sampling a single token but by taking a logit-weighted sum over the candidate integer completions in the judge's top-20 output logits (persona-vectors, §"2.1 Generating trait-specific artifacts", p. 3; §"B.1 Evaluation scoring details", p. 28). This score both filters which rollouts survive to be averaged into a vector and, throughout the rest of the paper, serves as the primary outcome measure every steering, monitoring, and finetuning result is checked against, validated at 94.7% agreement with human judges.

connections
Chapter 3The evidence: steering, reading, and predicting, all correlated (4 concepts)

Three regimes carry the paper's evidence that a trait really is a usable direction. Steering shows the vector can be added to shift behavior: dialing the coefficient up moves the target trait's expression score higher across a layer sweep, on both experimental models (persona-vectors, §"3.2 Controlling persona traits via steering", p. 4). Monitoring shows the same vector, unmodified, can also be read: projecting a prompt's final-token activation onto the direction predicts the trait expression of a response that hasn't been generated yet, at r = 0.75–0.83 (persona-vectors, §"3.3 Monitoring prompt-induced persona shifts via projection", p. 5). Finetuning shift extends the read to training itself: the activation movement a finetuning run induces along the direction predicts the resulting trait expression score at r = 0.76–0.97, tighter than monitoring's live-prompt correlation (persona-vectors, §"4.2 Activation shift along persona vector predicts trait expression", p. 7).

The dial the evidence is dosed by concept (3 connections)

The steering coefficient alpha is what turns a direction into a dial: sign selects whether a trait is encouraged or suppressed, magnitude selects how strongly. Across a sweep from roughly 0.5 to 2.5, trait expression rises with both the coefficient and the choice of layer before flattening or degrading response quality, and the usable ceiling differs by model — coefficients tolerated up to 2.5 on one model degrade responses by 1.2 on the other, meaning the same nominal dose is not a portable quantity across architectures.

connections
Reading as well as writing concept (7 connections)

Monitoring is the paper's cleanest demonstration that a persona vector reads as well as it writes: project the residual-stream activation at a prompt's final token onto the persona direction, with no generation and no intervention, and the result correlates with the trait expression score of the response that hasn't been produced yet at r = 0.75–0.83 across two elicitation methods (persona-vectors, §"3.3 Monitoring prompt-induced persona shifts via projection", p. 5). The correlation is not designed in — the same vector selected purely for effective steering is what turns out to also support this forward-looking prediction.

connections
The tightest correlation in the paper concept (8 connections)

Finetuning shift extends the same evidence to training: extract the average last-prompt-token activation before and after a finetuning run, take the difference, and project it onto the persona direction. Across dozens of dataset-version combinations spanning three main traits and several severities each, this single projected number correlates with the resulting trait expression score at r = 0.76–0.97 (persona-vectors, §"4.2 Activation shift along persona vector predicts trait expression", p. 7), a tighter fit than monitoring achieves from a single live prompt, and the paper's strongest piece of evidence that behavioral shifts during finetuning are genuinely mediated by movement along the vector rather than merely correlated with it.

connections
The trait carrying the cleanest signal concept (3 connections)

Evil — actively seeking to harm, manipulate, and cause suffering out of malice — is the trait the paper reaches for first in nearly every figure, because both experimental models will role-play it under a system prompt with an extremely low refusal rate, giving the cleanest possible signal for testing whether a mechanism works at all (persona-vectors, §"3.1 Common experimental setup", p. 4; §"8 Limitations", p. 13). Its pre-finetuning baseline trait expression score is 0 out of 100, the lowest of the three main traits, which makes any measured increase after finetuning unambiguously attributable to the training itself.

connections
Chapter 4What follows from the thesis: fixing drift, and screening data before it starts (5 concepts)

If a trait is a direction, controlling it should not require retraining. The paper tests that implication two ways. Post-hoc steering subtracts the vector after finetuning, reducing trait expression at a coherence-checked and MMLU-checked cost (persona-vectors, §"5.1 Post-hoc steering mitigates behavioral shifts", p. 7). Preventative steering instead adds the vector during finetuning itself, relieving the model of the pressure to encode the trait in its weights at all, and preserves MMLU accuracy noticeably better than the post-hoc alternative while keeping coherence above 80 (persona-vectors, §"5.2 Preventative steering limits behavioral shifts during finetuning", p. 8). The same logic reaches earlier still: projection difference, comparing a training dataset's own response projections against the base model's natural ones on the same prompts, predicts post-finetuning trait expression before any finetuning happens at all (persona-vectors, §"6.1 Predicting post-finetuning behaviors from data", p. 9).

Fixing the trait after training already happened concept (3 connections)

Applied after finetuning, post-hoc steering subtracts a scaled persona vector from the hidden state at each decoding step, and trait expression falls as the coefficient rises (persona-vectors, §"5.1 Post-hoc steering mitigates behavioral shifts", p. 7). The cost is measurable: large coefficients degrade MMLU accuracy, a tradeoff the paper reports matches findings already documented for steering interventions elsewhere. This tradeoff between suppression strength and capability preservation is exactly the gap preventative steering, introduced next, is built to close.

connections
  • Post-hoc (inference-time) steering mitigationreinstantiates → Contrastive Activation Addition (CAA) hindsight
  • Post-hoc (inference-time) steering mitigationis checked against → MMLU (Massive Multitask Language Understanding)
  • Post-hoc (inference-time) steering mitigationinverts into → Preventative steering
Preempting the trait before training finishes concept (8 connections)

Preventative steering adds the undesired persona direction into the model's activations proactively, during finetuning itself, on the reasoning that supplying the activation movement externally relieves the model of needing to encode the trait through its own weight updates — ‘canceling out’ the training objective's pull toward it (persona-vectors, §"5.2 Preventative steering limits behavioral shifts during finetuning", p. 8). It preserves general capability better than post-hoc steering at comparable suppression, and applied to benign data that would not have shifted the persona anyway, costs MMLU almost nothing.

connections
  • Preventative steeringanswers → Alignment tax hindsight
  • Preventative steeringcontrasts with → CAFT (Concept Ablation Fine-Tuning)
  • Fact-acquisition case study — stress testsPreventative steering
  • Preventative steeringcancels out → Finetuning shift (activation-shift metric)
  • Multi-layer steering with layer-incremental vectors — strengthensPreventative steering
  • Post-hoc (inference-time) steering mitigation — inverts intoPreventative steering
  • Preventative prompting — approximatesPreventative steering
  • Preventative steeringoutperforms → Train-time projection-regularization baseline
The check that keeps the results honest concept (2 connections)

Every reported steering result is checked against a coherence floor before it's trusted: a 0-100 rating of a response's general coherence, required to average above 75 for post-hoc and inference-time steering and above 80 for preventative steering (persona-vectors, §"5.1 Post-hoc steering mitigates behavioral shifts", p. 7; §"5.2 Preventative steering limits behavioral shifts during finetuning", p. 8). The floor exists because a trait expression score alone can't distinguish a genuinely suppressed trait from a model steered into gibberish that no longer registers as expressing anything at all.

connections
The number the whole mitigation claim rests on concept (4 connections)

MMLU accuracy, run unmodified across every steering and finetuning condition, is the paper's general-capability check, and its gray line in the results figures is what makes the central mitigation claim legible: preventative steering preserves MMLU noticeably better than post-hoc steering does, and multi-layer application improves both further (persona-vectors, §"5.1 Post-hoc steering mitigates behavioral shifts", p. 7; §"5.2 Preventative steering limits behavioral shifts during finetuning", p. 8). On benign, non-trait-inducing finetuning data, preventative steering's MMLU cost is negligible — the paper's cleanest evidence that the intervention's overhead is genuinely small rather than merely smaller than the alternative.

connections
Pushing the thesis earliest of all concept (3 connections)

Projection difference pushes the thesis earliest of all, before any finetuning happens: average a training dataset's own response projections onto the persona direction, subtract the base model's average projection on its natural responses to the same prompts, and the resulting gap predicts post-finetuning trait expression, more reliably than raw projection alone (persona-vectors, §"6.1 Predicting post-finetuning behaviors from data", p. 9). The same computation, run per example rather than averaged across a dataset, separates individual problematic training samples from clean ones by projection value alone, and survives validation on largely uncurated, real-world conversation data.

connections
  • Projection difference (pre-finetuning data-screening metric)forecasts the magnitude of → Finetuning shift (activation-shift metric)
  • Projection difference (pre-finetuning data-screening metric)shares its core primitive with → Projection-based monitoring of prompt-induced persona shifts
  • Sample-level projection-based data filtering — refinesProjection difference (pre-finetuning data-screening metric)
Chapter 5The limits the paper names against its own thesis (3 concepts)

The paper closes by naming where its own construction stops working. The extraction method is supervised — a trait must be specified and described in advance, and the resulting direction is a coarse average that may miss fine-grained behavioral distinctions a more targeted method could resolve (persona-vectors, §"8 Limitations", p. 13). The judge grading every result is imperfect, and its small, automatically generated evaluation set may not fully capture how a trait manifests across realistic, multi-turn deployment. Experiments are limited to two mid-size open chat models and, in the main text, three traits, with four more tested only to check that the pipeline generalizes at all. Against the first limitation specifically, the paper points to an unsupervised alternative — sparse autoencoders — that could surface trait-relevant directions the pipeline was never told to look for in advance.

An unsupervised alternative to the supervised pipeline concept (1 connection)

Against its own extraction method's central limitation — that a trait must be named and described before a direction for it can be found — the paper points to sparse autoencoders as a complementary, unsupervised alternative capable of decomposing activations, or a persona vector itself, into interpretable features without requiring the target to be specified in advance (persona-vectors, §"8 Limitations", p. 13). An initial exploration trains this unsupervised decomposition on one of the two experimental models and applies it to the evil, sycophancy, and hallucination vectors already extracted by the paper's supervised pipeline.

connections
A judge the paper admits isn't perfect concept (2 connections)

GPT-4.1-mini is the judge behind the paper's primary outcome measure throughout, and the limitations section is explicit that the judge is not perfect: its scoring underlies every steering, monitoring, and finetuning result, and its reliability rests on a validation exercise the paper itself designed and reports, rather than on an independent, pre-existing standard (persona-vectors, §"8 Limitations", p. 13). The paper's small set of automatically generated evaluation questions, twenty per trait, is flagged as a further constraint on how confidently any single result generalizes to realistic, multi-turn deployment settings.

connections
How far the two-model result can be trusted to reach concept

Every experiment in the paper runs on one of two mid-size open chat models, Qwen2.5-7B-Instruct being the first and more heavily reported of the two, and the limitations section names this directly as a constraint: results have not been shown to hold across larger models, closed models, or model families with more robust safety training, which the paper notes explicitly might refuse to role-play a trait like evil even under direct instruction, breaking a precondition the whole extraction pipeline depends on (persona-vectors, §"8 Limitations", p. 13).