PersonaLLM: Investigating the Ability of Large Language Models to Express Personality Traits

Hang Jiang, Xiajie Zhang, Xubo Cao, Cynthia Breazeal, Deb Roy +1 more
5/4/2023
405 citations
cs.CLcs.AIcs.HC

Official code: hjian42/PersonaLLM (71 stars, Jupyter Notebook, MIT, last commit 2024-09-18).

Abstract

Despite the many use cases for large language models (LLMs) in creating personalized chatbots, there has been limited research on evaluating the extent to which the behaviors of personalized LLMs accurately and consistently reflect specific personality traits. We consider studying the behavior of LLM-based agents which we refer to as LLM personas and present a case study with GPT-3.5 and GPT-4 to investigate whether LLMs can generate content that aligns with their assigned personality profiles.

Show full abstract

To this end, we simulate distinct LLM personas based on the Big Five personality model, have them complete the 44-item Big Five Inventory (BFI) personality test and a story writing task, and then assess their essays with automatic and human evaluations. Results show that LLM personas' self-reported BFI scores are consistent with their designated personality types, with large effect sizes observed across five traits. Additionally, LLM personas' writings have emerging representative linguistic patterns for personality traits when compared with a human writing corpus. Furthermore, human evaluation shows that humans can perceive some personality traits with an accuracy of up to 80%. Interestingly, the accuracy drops significantly when the annotators were informed of AI authorship.

View on arXivView PDF

Code Implementations(1)

hjian42/PersonaLLMOfficial100%
MIT

[NAACL Findings 2024] PersonaLLM: Investigating the Ability of Large Language Models to Express Personality Traits

7110Jupyter Notebook, PythonFeb 22, 20232 years agoMIT

Similar Papers

Cite this paper

@article{jiang2023personallm,
  title  = {PersonaLLM: Investigating the Ability of Large Language Models to Express Personality Traits},
  author = {Hang Jiang and Xiajie Zhang and Xubo Cao and Cynthia Breazeal and Deb Roy and Jad Kabbara},
  year   = {2023},
  eprint = {2305.02547},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.02547v5}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.02547.svg)](https://codeofpaper.com/paper/2305.02547)

Discussion