Personality Traits in Large Language Models

Greg Serapio-García,Mustafa Safdari,Clément Crepy,Luning Sun,Stephen Fitz,Peter Romero,Marwa Abdulhai,Aleksandra Faust,Maja Matarić
2023-09-22
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 world-wide, the synthetic personality embedded in these models, by virtue of training on large amounts of human data, is becoming increasingly important. Since personality is a key factor determining the effectiveness of communication, we present a comprehensive method 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, we found: 1) personality measurements in the outputs of some LLMs under specific prompting configurations are reliable and valid; 2) evidence of reliability and validity of synthetic LLM personality is stronger for larger and instruction fine-tuned models; and 3) personality in LLM outputs can be shaped along desired dimensions to mimic specific human personality profiles. We discuss application and ethical implications of the measurement and shaping method, in particular regarding responsible AI.
Computation and Language,Artificial Intelligence,Computers and Society,Human-Computer Interaction
What problem does this paper attempt to address?
### Problems the Paper Attempts to Solve This paper aims to explore whether large language models (LLMs) can reliably and effectively simulate human personality traits and proposes a method to measure and shape the personality traits generated by these models. #### Main Research Questions: 1. **Can LLMs reliably and validly simulate human personality traits?** - The study found that under specific prompt configurations, the personality measurements in the outputs of certain LLMs are reliable and valid. 2. **Does the reliability and validity of synthesized personality traits in LLMs enhance with model scale and instruction fine-tuning?** - Results indicate that larger models and those fine-tuned with instructions provide stronger evidence of reliability and validity. 3. **Can personality traits be shaped along specific dimensions in the text generated by LLMs to mimic specific human personality profiles?** - Experiments demonstrate that the personality traits in the outputs of LLMs can be shaped along specific dimensions to mimic particular human personality profiles. 4. **Do the shaped personality traits affect the behavior of LLMs in downstream tasks?** - The shaped personality traits indeed influence the behavior of LLMs in downstream tasks such as writing social media posts. Through the above research, the authors provide a methodological foundation for the measurement and validation of LLMs' personalities, which is crucial for responsible AI practices. Additionally, this work demonstrates how psychometrics can be used to bring mature measurement theories from quantitative social sciences and psychological assessment into the emerging field of LLM science.