Persona Vectors: Monitoring and Controlling Character Traits in Language Models

Runjin Chen, Andy Arditi, Henry Sleight, Owain Evans, Jack Lindsey
7/29/2025
cs.CLcs.LG

No official code found. Best implementation: safety-research/persona_vectors (460 stars, Apache-2.0, last commit 2026-04-22). 3 more below.

Abstract

Large language models interact with users through a simulated 'Assistant' persona. While the Assistant is typically trained to be helpful, harmless, and honest, it sometimes deviates from these ideals. In this paper, we identify directions in the model's activation space-persona vectors-underlying several traits, such as evil, sycophancy, and propensity to hallucinate. We confirm that these vectors can be used to monitor fluctuations in the Assistant's personality at deployment time. We then apply persona vectors to predict and control personality shifts that occur during training. We find that both intended and unintended personality changes after finetuning are strongly correlated with shifts along the relevant persona vectors. These shifts can be mitigated through post-hoc intervention, or avoided in the first place with a new preventative steering method. Moreover, persona vectors can be used to flag training data that will produce undesirable personality changes, both at the dataset level and the individual sample level. Our method for extracting persona vectors is automated and can be applied to any personality trait of interest, given only a natural-language description.

View on arXivView PDF

Code Implementations(4)

Apache-2.0

Persona Vectors: Monitoring and Controlling Character Traits in Language Models

460112Shell, PythonJul 28, 20256 months agoApache-2.0

Replication of Persona Vectors: Monitoring and Controlling Character Traits in Language Models

00Shell, PythonOct 9, 202511 months ago

Persona Vectors: Monitoring and Controlling Character Traits in Language Models

00Shell, PythonSep 19, 20251 years ago

Persona Vectors: Monitoring and Controlling Character Traits in Language Models

00Shell, PythonAug 14, 20251 years ago

Similar Papers

Cite this paper

@article{chen2025persona,
  title  = {Persona Vectors: Monitoring and Controlling Character Traits in Language Models},
  author = {Runjin Chen and Andy Arditi and Henry Sleight and Owain Evans and Jack Lindsey},
  year   = {2025},
  eprint = {2507.21509},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.21509v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.21509.svg)](https://codeofpaper.com/paper/2507.21509)

Discussion