English

Localizing Persona Representations in LLMs

Computation and Language 2025-09-10 v3 Artificial Intelligence

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. 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.

Keywords

Cite

@article{arxiv.2505.24539,
  title  = {Localizing Persona Representations in LLMs},
  author = {Celia Cintas and Miriam Rateike and Erik Miehling and Elizabeth Daly and Skyler Speakman},
  journal= {arXiv preprint arXiv:2505.24539},
  year   = {2025}
}

Comments

To appear in the AAAI/ACM Conference on AI, Ethics, and Society (AIES) 2025

R2 v1 2026-07-01T02:50:32.115Z