Localizing Persona Representations in LLMs

Celia Cintas, Miriam Rateike, Erik Miehling, Elizabeth Daly, Skyler Speakman
5/30/2025
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

We present a study on how and where personas -- defined by distinct sets of human characteristics, values, and beliefs -- are encoded in the representation space of large language models (LLMs). Using a range of dimension reduction and pattern recognition methods, we first identify the model layers that show the greatest divergence in encoding these representations.

Show full abstract

We then analyze the activations within a selected layer to examine how specific personas are encoded relative to others, including their shared and distinct embedding spaces. We find that, across multiple pre-trained decoder-only LLMs, the analyzed personas show large differences in representation space only within the final third of the decoder layers. We observe overlapping activations for specific ethical perspectives -- such as moral nihilism and utilitarianism -- suggesting a degree of polysemy. In contrast, political ideologies like conservatism and liberalism appear to be represented in more distinct regions. These findings help to improve our understanding of how LLMs internally represent information and can inform future efforts in refining the modulation of specific human traits in LLM outputs. Warning: This paper includes potentially offensive sample statements.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{cintas2025localizing,
  title  = {Localizing Persona Representations in LLMs},
  author = {Celia Cintas and Miriam Rateike and Erik Miehling and Elizabeth Daly and Skyler Speakman},
  year   = {2025},
  eprint = {2505.24539},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.24539v5}
}

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/2505.24539.svg)](https://codeofpaper.com/paper/2505.24539)

Discussion