Rediscovering the Latent Dimensions of Personality with Large Language Models as Trait Descriptors

Joseph Suh, Suhong Moon, Minwoo Kang, David ChanBehavioral ML @ NeurIPS 2024

Abstract

Assessing personality traits using large language models (LLMs) has emerged as an interesting and challenging area of research. While previous methods employ explicit questionnaires, often derived from the Big Five model of personality, we hypothesize that LLMs implicitly encode notions of personality when modeling next-token responses. To demonstrate this, we introduce a novel approach that uncovers latent personality dimensions in LLMs by applying singular value decomposition (SVD) to the log-probabilities of trait-descriptive adjectives. Our experiments show that LLMs "rediscover" core personality traits such as extraversion, agreeableness, conscientiousness, neuroticism, and openness without relying on direct questionnaire inputs, with the top-5 factors corresponding to Big Five traits explaining 74.3% of the variance in the latent space. Moreover, we can use the derived principal components to assess personality along the Big Five dimensions, and achieve improvements in average personality prediction accuracy of up to 5% over fine-tuned models, and up to 21% over direct LLM-based scoring techniques.

Introduction

In psychology, the Big Five model—comprising Extraversion, Agreeableness, Conscientiousness, Neuroticism, and Openness—is the gold standard for describing human personality. This model is rooted in the "lexical hypothesis," which posits that the most significant individual differences are encoded directly into human language.

Traditionally, researchers assessing personality in LLMs have relied on explicit questionnaires like the Big Five Inventory. However, this approach is often hampered by prompt sensitivity, where minor changes in phrasing lead to inconsistent results. This research explores a deeper possibility: do LLMs already possess an internal, latent understanding of personality structures simply by being trained on vast corpora of human text?

Methodology

The researchers developed an unsupervised approach to uncover personality dimensions without the use of explicit questionnaires. The process centers on analyzing the model's internal state rather than its generated text.

  1. The Prompt: The LLM is presented with a personal story and asked to complete the sentence: "A single adjective that describes the personality of the author is..."
  2. Log-Probability Analysis: Instead of using the generated output, the method extracts the log-probabilities ($x_{i,j} = \log p(t_j|S_i)$) the model assigns to 100 specific Trait Descriptive Adjectives (TDAs) from the Goldberg (1992) set.
  3. Latent Structure Analysis: By building a matrix $X$ of these probabilities across $N$ stories and applying Singular Value Decomposition (SVD), the researchers identify the underlying axes (principal components) that explain the most variance in the data.
  4. Prediction: These derived principal components are then used with a Lasso regression to predict the binary personality traits of the authors.
Overview of the latent personality dimension discovery pipeline.

Experimental Setup

The study utilized the PersonaLLM dataset, which consists of 208 synthetic personal stories generated by GPT-4. Each story was crafted to reflect specific combinations of Big Five traits without explicitly mentioning them. This provided a "ground truth" to evaluate whether the models could correctly infer the intended personality traits from the narrative style and content alone.

Key Results and Insights

The "Aha!" Moment: Rediscovering the Big Five

The analysis revealed that the top five dimensions discovered by the SVD accounted for 74.3% of the total variance. Crucially, when examining which adjectives loaded onto these dimensions, the researchers found a near-perfect one-to-one correspondence with the Big Five traits. This suggests that personality is not merely something LLMs mimic; it is baked into the very structure of how they model language.

Superior Prediction Accuracy

The proposed method significantly outperformed existing benchmarks. As shown in the results table, using the model's internal probabilities with Lasso regression achieved higher accuracy than traditional fine-tuning or direct scoring.

Big Five trait prediction accuracy across different models and methods.
  • Accuracy Boost: The method achieved improvements of up to 5% over fine-tuned models (such as DeBERTaV3) and up to 21% over direct LLM-based scoring (asking the model to rate a person on a scale).
  • Top Performer: The Llama-3-70B model, when combined with Lasso regression, achieved the highest average accuracy across all traits, reaching approximately 91.2%.

Conclusion and Future Work

This work demonstrates that LLMs implicitly encode a sophisticated map of human character. However, the authors note several areas for future research. First, the reliance on synthetic data (GPT-4 generated stories) necessitates validation with real-world, human-written text to ensure the detected personality isn't an artifact of AI writing styles. Second, future studies should investigate if these latent dimensions align with other psychological assessments beyond the Big Five. Finally, the researchers suggest exploring the "acquaintance effect"—determining if providing the LLM with more context or history regarding a persona further enhances its latent detection capabilities.

Summary updated

BibTeX
@inproceedings{suh2024rediscovering,
  author = {Joseph Suh and Suhong Moon and Minwoo Kang and David Chan},
  title = {{Rediscovering the Latent Dimensions of Personality with Large Language Models as Trait Descriptors}},
  booktitle = {Behavioral ML @ NeurIPS},
  year = {2024},
  url = {https://openreview.net/forum?id=HmtCakUGHj},
}
Figure