Skip to main content
QUICK REVIEW

[Paper Review] Identifying and Manipulating the Personality Traits of Language Models

Graham Caron, Shashank Srivastava|arXiv (Cornell University)|Dec 20, 2022
Topic ModelingComputer Science13 citations
TL;DR

This paper proposes a method to identify and control the perceived personality traits of language models using psychometric questionnaires based on the 'Big Five' personality framework. By injecting context such as self-reported descriptions or Reddit posts, the authors demonstrate that models like BERT and GPT2 can be manipulated to reflect specific personality traits with high predictability, achieving median Pearson correlations of up to 0.84 between expected and observed trait changes.

ABSTRACT

Psychology research has long explored aspects of human personality such as extroversion, agreeableness and emotional stability. Categorizations like the `Big Five' personality traits are commonly used to assess and diagnose personality types. In this work, we explore the question of whether the perceived personality in language models is exhibited consistently in their language generation. For example, is a language model such as GPT2 likely to respond in a consistent way if asked to go out to a party? We also investigate whether such personality traits can be controlled. We show that when provided different types of contexts (such as personality descriptions, or answers to diagnostic questions about personality traits), language models such as BERT and GPT2 can consistently identify and reflect personality markers in those contexts. This behavior illustrates an ability to be manipulated in a highly predictable way, and frames them as tools for identifying personality traits and controlling personas in applications such as dialog systems. We also contribute a crowd-sourced data-set of personality descriptions of human subjects paired with their `Big Five' personality assessment data, and a data-set of personality descriptions collated from Reddit.

Motivation & Objective

  • To investigate whether language models exhibit consistent, identifiable personality traits in their text generation.
  • To explore whether these perceived personality traits can be manipulated through contextual inputs such as personality descriptions or diagnostic questions.
  • To develop and release two new datasets: one with human self-reported personality descriptions paired with Big Five scores, and another from public Reddit posts.
  • To assess whether language models can predict human personality traits based on textual descriptions, enabling potential applications in personalized AI systems.
  • To examine potential biases in model behavior, including gender-based differences in perceived personality traits, and to evaluate ethical implications of personality manipulation in AI.

Proposed method

  • Adapted psychometric questionnaires from the 'Big Five' personality framework to probe language models' perceived traits through generated responses.
  • Used contextual prompts—such as personality descriptions, survey responses, and Reddit posts—to condition the model's output and influence its perceived personality.
  • Trained a logistic regression classifier on HuggingFace’s BERT and GPT2 to predict personality trait scores from model-generated responses.
  • Calculated Pearson correlation coefficients between predicted and expected personality scores to quantify the predictability of trait manipulation.
  • Collected and curated a crowd-sourced dataset of 100 human subjects with self-reported personality descriptions and corresponding Big Five assessment scores via Amazon Mechanical Turk.
  • Scraped and aggregated public Reddit posts to form a second dataset of informal personality descriptions for model probing.

Experimental results

Research questions

  • RQ1Can language models consistently reflect specific personality traits in their text generation when prompted with contextual descriptions?
  • RQ2To what extent can the perceived personality of language models be controlled through carefully designed contextual inputs?
  • RQ3Can language models accurately predict the Big Five personality traits of human users based on their self-reported textual descriptions?
  • RQ4Do language models exhibit gendered biases in their perception of personality traits when prompted with gendered names?
  • RQ5How do pretraining data and model architecture influence the emergence and malleability of perceived personality in language models?

Key findings

  • Language models such as BERT and GPT2 exhibit high consistency in reflecting personality traits when prompted with context, with median Pearson correlation coefficients of 0.84 and 0.81, respectively, between expected and observed trait changes.
  • When provided with self-reported human personality descriptions, language models predicted the corresponding Big Five scores with a correlation of up to 0.48, indicating measurable predictive capability.
  • Both BERT and GPT2 showed higher mean scores for agreeableness, conscientiousness, and emotional stability in female-identified names, aligning with psychological literature, though discrepancies were observed for emotional stability (neuroticism).
  • GPT2 exhibited higher mean extroversion and openness to experience for male-identified names, while BERT showed no significant difference, suggesting model-specific gender bias patterns.
  • The use of Reddit-based descriptions as context enabled consistent manipulation of perceived personality traits, demonstrating the feasibility of using informal, public text for persona control.
  • The study released two datasets: one with 100 human subjects’ self-reported descriptions and Big Five scores, and another with 1,000 Reddit-based personality descriptions, both publicly available for research use.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.