A psychometric framework for evaluating and shaping personality traits in large language models

Gregory Serapio‐García, Mustafa Safdari, Clément Crepy, Luning Sun, Stephen Fitz, Peter Romero, Marwa Abdulhai, Aleksandra Faust, Maja J. MatarićNature Machine Intelligence 2025

Abstract

The advent of large language models (LLMs) has revolutionized natural language processing, enabling the generation of coherent and contextually relevant human-like text. As LLMs increasingly power conversational agents used by the general public worldwide, the synthetic personality traits embedded in these models by virtue of training on large amounts of human data are becoming increasingly important to evaluate. The style in which LLMs respond can mimic different human personality traits. Here, as these patterns can be a key factor determining the effectiveness of communication, we present a comprehensive psychometric methodology for administering and validating personality tests on widely used LLMs, as well as for shaping personality in the generated text of such LLMs. Applying this method to 18 LLMs, we found that: personality measurements in the outputs of some LLMs under specific prompting configurations are reliable and valid; evidence of reliability and validity of synthetic LLM personality is stronger for larger and instruction-fine-tuned models; and personality in LLM outputs can be shaped along desired dimensions to mimic specific human personality profiles. We discuss the application and ethical implications of the measurement and shaping method, in particular regarding responsible artificial intelligence.

Introduction

As Large Language Models (LLMs) become the backbone of modern conversational agents, they inevitably manifest "personalities" derived from their vast human-generated training data. However, these traits are often accidental, inconsistent, or even "misaligned" with intended use cases. Until now, the field lacked a formal, scientific way to determine if these synthetic personalities are stable, measurable constructs or merely "stochastic parrot" noise. This research addresses the need for a principled methodology to evaluate the reliability (consistency) and validity (accuracy) of LLM personality measurements and provides a way to "shape" these traits predictably for responsible AI development.

Methodology

The researchers treat LLMs like human subjects in a psychological study, employing a computational framework to measure "synthetic personality." The methodology consists of two primary stages:

  1. Test Administration: A structured prompting method simulates 1,250 variations of test administration by varying biographic personas, item instructions, and postambles. Standard psychological tests, including the 300-item IPIP-NEO and the 44-item Big Five Inventory (BFI), are administered.
  2. Psychometric Evaluation: Rigorous statistical checks used in human psychology are applied to the model outputs. This includes measuring internal consistency (Cronbach’s $\alpha$), construct validity (convergent and discriminant correlations), and criterion validity (correlating personality scores with related behaviors like aggression or creativity).
The psychometric evaluation process, illustrating steps for administering tests and validating reliability and construct validity.

Additionally, the study introduces a "personality shaping" method. This zero-shot approach uses 104 trait adjectives and linguistic qualifiers (e.g., "a bit," "extremely") to steer models along nine intensity levels for each of the Big Five traits.

Key Results and Insights

The study's application to 18 different LLMs revealed several critical insights into the nature of synthetic personality:

  • Scaling and Instruction Tuning: Reliability and validity are not inherent to all models. Base models often yielded "unacceptable" reliability (Cronbach’s $\alpha < 0.50$). However, as models increased in size and underwent instruction-fine-tuning, their synthetic personalities became remarkably stable and valid, frequently passing the $\alpha \ge 0.70$ threshold.
  • Superior Consistency: In downstream tasks, such as generating social media content, the correlation between a model’s test scores and its actual behavior was often higher than what is typically observed in human studies. For instance, top-performing models achieved behavioral prediction accuracies significantly higher than human baselines.
Comparison of accuracy (Pearson's r) between various LLMs and human baselines across the Big Five personality traits.
  • Steerability: The shaping methodology proved highly effective. Models like Flan-PaLM 540B and GPT-4o demonstrated the highest levels of fidelity, successfully managing all five personality dimensions concurrently. For most models, targeted personality levels strongly correlated with observed scores (Spearman’s $\rho \ge 0.80$).

Discussion and Ethical Implications

While the ability to measure and shape LLM personality offers significant benefits for AI safety and user interaction, it also introduces ethical risks. The authors emphasize that these are synthetic personalities—mimicry of human patterns rather than biological temperament.

Future work must address monocultural biases, as the current study focused on English-language tests and Western data. Furthermore, the potential for "personalized persuasion"—where an AI mimics a user's personality to become more manipulative—remains a serious concern. As LLMs continue to evolve, this psychometric framework provides a vital tool for ensuring they are developed and deployed responsibly.

Summary updated

BibTeX
@inproceedings{serapiogarcia2025psychometric,
  author = {Gregory Serapio‐García and Mustafa Safdari and Clément Crepy and Luning Sun and Stephen Fitz and Peter Romero and Marwa Abdulhai and Aleksandra Faust and Maja J. Matarić},
  title = {{A psychometric framework for evaluating and shaping personality traits in large language models}},
  booktitle = {Nature Machine Intelligence},
  year = {2025},
  doi = {10.1038/s42256-025-01115-6},
}
Figure