Tracing Persona Vectors Through LLM Pretraining
Viktor Moskvoretskii, Dominik Glandorf, Jorge Medina Moreira, Tanja Käser, Robert West
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: LLM Agents, Evals & Benchmarks › LLM Persona and Emotion Steering · Type: empirical study · Keywords: persona vectors, LLM interpretability, AI safety
Areas: LLM Reasoning › Reasoning Mechanisms › Mechanistic Interpretability; Safety & Security › Safe Alignment › Fine-Tuning Misalignment; Evaluation & Benchmarks › Language Model and Agent Benchmarks › LLM Internal Representations; Interpretability › Mechanistic Interpretability › Cognitive Concept Interpretation
Summary
We trace persona vectors across LLM pretraining to show they form early and remain stable for steering behavior.
Explained to a 5-year-old
We look at big computer programs that learn to talk. They have hidden ways of knowing if they are being nice or mean. We find that these hidden ways start to form very quickly while the program is learning. Once they are formed, they keep working even after the program finishes learning. This helps us understand how the program thinks and makes it safer.
Explained to a 5-year-old, longer
Big computer programs called language models learn to write sentences. They have secret places inside them that store ideas about how they should behave. Some of these secret ideas are about being nice, being mean, or other traits. Researchers have found that these ideas can be found as directions in the program's hidden layers. They call these directions "persona vectors" because they point to a certain personality. Until now, nobody knew when these personality directions start to appear while the program is learning. This paper looks at two big language models and watches when these directions show up. They discover that the directions appear very early, after just a tiny part of the learning process. Even after the program finishes learning, the directions still work to steer the program's behavior. The directions keep getting a little more precise as learning continues, but the main idea is already there. The researchers also tried different ways to find these directions and saw they all work. This helps us understand how language models develop their hidden personalities and makes them safer to use.
For a technical reader
The paper investigates how high-level behavioral traits in large language models are represented internally. It shows that these traits correspond to linear directions in the model's activations, which the authors call persona vectors. By tracing these vectors across the pretraining of two models, they find that the core representations emerge extremely early-within 0.22% of training. The vectors remain effective for steering the final instruct-tuned models and continue to refine throughout training. The findings provide a foundation for detecting, auditing, and intervening on model behavior, improving AI safety.
Problem
Understanding how large language models internally represent high-level behaviors is a core interpretability question. However, the formation of these representations during training remains unknown.
Method
We examine the emergence and evolution of persona vectors by tracing them across the pretraining of OLMo-3-7B and qualitatively replicating the analysis on Apertus-8B. We track their geometric and semantic refinement and compare alternative elicitation strategies.
Results
Persona vectors emerge within 0.22% of pretraining and stay effective for steering post-trained models, while they continue to refine throughout training. Alternative elicitation strategies also yield effective directions, revealing distinct facets of the underlying persona.
Contributions
We provide the first systematic tracing of persona vectors across pretraining, showing early formation and stability, and we compare multiple elicitation strategies to uncover different aspects of these representations.
Practical relevance
Understanding persona vectors can improve AI safety by enabling detection, auditing, and intervention on model behavior.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction