Identifying Multiple Personalities in Large Language Models with External Evaluation

Xiaoyang Song, Yuta Adachi, Jessie Feng, Mouwei Lin, Linhao Yu, Frank Li, Akshat Gupta, Gopala Anumanchipalli, Simerjot KaurarXiv 2024 · DOI

Introduction

Large Language Models (LLMs) are often characterized as having distinct personalities, yet recent research suggests they are more akin to "personality chameleons." Unlike humans, who maintain stable psychological traits across different social contexts, LLMs like ChatGPT and the Llama-2 family exhibit significant shifts in their personality profiles depending on the task at hand—specifically whether they are authoring original posts or responding to comments.

The Challenge of AI Personality Assessment

As LLMs are increasingly deployed in sensitive domains such as mental health support and education, understanding their behavioral tendencies is crucial. Traditional assessment methods rely on human psychometric tests (e.g., MBTI or Big Five) where the AI answers multiple-choice questions. However, these "self-assessment" models are notoriously sensitive to prompt engineering; minor tweaks in question phrasing or answer ordering can lead to contradictory results. This study proposes a shift toward External Evaluation to bypass these reliability issues.

Methodology: External Evaluation Framework

The researchers developed a three-stage approach to evaluate AI personality through open-ended text generation rather than structured tests.

The three-stage experimental framework for external personality evaluation.
  1. Building the Judge: A Llama2-7B model was fine-tuned using Low-Rank Adaptation (LoRA) on a Kaggle dataset of over 8,600 human forum posts labeled with MBTI types. This created a high-accuracy personality predictor capable of analyzing natural language.
  2. The "Two Roles" Experiment: Four models (ChatGPT, Llama2-7B, 13B, and 70B) were prompted to generate text in two scenarios: original "Posts" regarding real-world news from late 2023, and "Comments" replying to existing tweets.
  3. Validation: To ensure the evaluation method wasn't merely detecting formatting differences, the researchers analyzed the Twitter history of eight human celebrities, serving as a control group for personality consistency.

Key Insights: Personality as a Role

The study's most significant finding is the "Consistency Gap." In humans, personality is an enduring internal state. In contrast, LLM "personality" appears to be a transient byproduct of the conversational context. For instance, Llama2-7B was identified as an ESTJ (Extraverted, Sensing, Thinking, Judging) when creating original posts but flipped to an INFP (Introverted, Intuitive, Feeling, Perceiving) when writing comments. This suggests that LLMs do not "possess" a personality but rather simulate a persona that fits the immediate prompt.

Results and Performance

The fine-tuned Llama2-7B predictor achieved a state-of-the-art 81.7% accuracy on 16-class MBTI prediction, vastly outperforming previous BERT and Graph Neural Network baselines.

MBTI distributions for various LLMs in the 'Comment' role, showing significant variation between models and sizes.

While ChatGPT showed more stability (frequently labeled as INFJ), its underlying trait distribution still shifted between roles. The Llama-2 family exhibited the most dramatic divergence, often flipping multiple dimensions of their MBTI type. Crucially, the celebrity validation confirmed that humans maintain consistent profiles across both roles, proving that the observed AI shifts are inherent to the models themselves.

Conclusion

The findings challenge the applicability of human psychological frameworks to artificial intelligence. Because LLMs act as chameleons, adapting their "traits" to the context of the interaction, researchers argue for a fundamental re-evaluation of AI behavior metrics. Future work must move beyond static human tests toward frameworks that account for the fluid, role-based nature of large language models.

Summary updated

BibTeX
@misc{song2024identifying,
  author = {Xiaoyang Song and Yuta Adachi and Jessie Feng and Mouwei Lin and Linhao Yu and Frank Li and Akshat Gupta and Gopala Anumanchipalli and Simerjot Kaur},
  title = {{Identifying Multiple Personalities in Large Language Models with External Evaluation}},
  year = {2024},
  eprint = {2402.14805},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.14805},
}
Figure