Localizing Persona Representations in LLMs
cs.CL, cs.AI
Submitted: 2025-05-30
Updated: 2026-10-10
Comments: Corrected small naming inconsistencies for Level 0, 1, and 2 analysis
Journal ref: Proceedings of the AAAI ACM Conference on AI, Ethics, and Society, 8(1), 630-642, 2025
Code: https://github.com/IBM/personas-llms-analysis
License: http://creativecommons.org/licenses/by-nc-nd/4.0/
The gist: 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).
Terminology
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.
Sources
- AI Safety Landscape for Large Language Models: Taxonomy, State-of-the-art, and Future Directions
- How GPT-3 responds to different publics on climate change and Black Lives Matter: A critical appraisal of equity in conversational AI
- Under the Surface: Tracking the Artifactuality of LLM-Generated Data
- Towards Trustworthy AI: A Review of Ethical and Robust Large Language Models
- A Primer on the Inner Workings of Transformer-based Language Models
- The Moral Turing Test: Evaluating Human-LLM Alignment in Moral Decision-Making
- Concerns on Bias in Large Language Models when Creating Synthetic Personae
- Unsolved Problems in ML Safety
- Mistral 7B
- Probing then Editing Response Personality of Large Language Models
- The Ethics of Interaction: Mitigating Security Threats in LLMs
- Are LLMs Socially Adaptive? Contrasting Belief Evolution in Large Language Models and Humans
- Datasets for Large Language Models: A Comprehensive Survey
- Utility Engineering: Analyzing and Controlling Emergent Value Systems in AIs
- The Dark Patterns of Personalized Persuasion in Large Language Models: Exposing Persuasive Linguistic Features for Big Five Personality Traits in LLMs Responses
- Creativity Has Left the Chat: The Price of Debiasing Language Models
- The Ultimate Guide to Fine-Tuning LLMs from Basics to Breakthroughs: An Exhaustive Review of Technologies, Research, Best Practices, Applied Research Challenges and Opportunities
- Weakly Supervised Detection of Hallucinations in LLM Activations
- Polysemanticity and Capacity in Neural Networks
- BERT has a Moral Compass: Improvements of ethical and moral values of machines
Related papers
- Exploring Solution Divergence and Its Effect on Large Language Model Problem Solving
- Ishigaki-IDS-Bench: A Benchmark for Generating Information Delivery Specification from BIM Information Requirements
- Subliminal Steering: Stronger Encoding of Hidden Signals
- MedStruct-S: A Benchmark for Key Discovery, Key-Conditioned QA and Semi-Structured Extraction from OCR Clinical Reports
- The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures
- Untangling the Mechanisms of Misleading Context in Medical Question Answering