[Paper Review] Estimating the Personality of White-Box Language Models
This paper proposes a method to quantify and modify the personality traits of white-box language models using the Big Five framework. By prompting models with personality questionnaire stimuli and classifying responses via zero-shot classification, the authors estimate personality profiles and demonstrate through fine-tuning that these traits can be altered, though unintended changes in non-targeted traits occur.
Technology for open-ended language generation, a key application of artificial intelligence, has advanced to a great extent in recent years. Large-scale language models, which are trained on large corpora of text, are being used in a wide range of applications everywhere, from virtual assistants to conversational bots. While these language models output fluent text, existing research shows that these models can and do capture human biases. Many of these biases, especially those that could potentially cause harm, are being well-investigated. On the other hand, studies that infer and change human personality traits inherited by these models have been scarce or non-existent. Our work seeks to address this gap by exploring the personality traits of several large-scale language models designed for open-ended text generation and the datasets used for training them. We build on the popular Big Five factors and develop robust methods that quantify the personality traits of these models and their underlying datasets. In particular, we trigger the models with a questionnaire designed for personality assessment and subsequently classify the text responses into quantifiable traits using a Zero-shot classifier. Our estimation scheme sheds light on an important anthropomorphic element found in such AI models and can help stakeholders decide how they should be applied as well as how society could perceive them. Additionally, we examined approaches to alter these personalities, adding to our understanding of how AI models can be adapted to specific contexts.
Motivation & Objective
- To empirically quantify personality traits in large-scale language models and their training datasets using the Big Five framework.
- To develop a robust method for estimating personality profiles in language models through prompt-based generation and zero-shot classification.
- To investigate whether and how personality traits in language models can be modified via fine-tuning on personality-annotated datasets.
- To assess the impact of fine-tuning on unintended shifts in non-targeted personality dimensions.
- To provide a foundation for designing more controllable, ethical, and user-aligned AI systems with tailored personality characteristics.
Proposed method
- Use a standardized Big Five personality questionnaire to prompt language models and generate open-ended responses.
- Apply a pre-trained zero-shot classifier to automatically classify model responses into Big Five personality trait categories.
- Process both model-generated text and training datasets through the same zero-shot classification pipeline to estimate personality profiles.
- Fine-tune white-box language models (e.g., GPT-2) on filtered datasets annotated with specific personality traits (e.g., agreeableness, extraversion).
- Evaluate changes in personality scores before and after fine-tuning using quantitative metrics and distributional analysis.
- Use multiple thresholds for label filtering in fine-tuning to assess sensitivity and robustness of personality modification.
Experimental results
Research questions
- RQ1To what extent do language models reflect the personality traits of their training data?
- RQ2Can personality traits in language models be reliably estimated using zero-shot classification of generated responses?
- RQ3Does fine-tuning on personality-annotated data lead to measurable and targeted changes in model personality?
- RQ4What unintended side effects occur in non-targeted personality dimensions during fine-tuning?
- RQ5Can personality modification be achieved with precision, or do changes spread across multiple traits?
Key findings
- Fine-tuning GPT-2 on filtered datasets significantly altered personality scores for Agreeableness, Conscientiousness, Emotional Stability, and Openness, as shown in Table 8.
- After fine-tuning, the median Extraversion score of GPT-2 dropped to 2.89 at a threshold of 2.5, indicating a measurable shift in personality profile.
- Personality changes were not isolated; non-targeted traits like Agreeableness and Conscientiousness also shifted, even when only one trait was targeted.
- The distribution of personality traits in the finetuned GPT-2 model, as shown in Figure 9, reflects the influence of the new training data corpus.
- Method 2, which uses thresholded labels for fine-tuning, showed consistent but non-uniform changes across traits, with scores varying across different thresholds.
- Despite promising results, the study identifies a key challenge: fine-tuning induces unintended changes in multiple personality dimensions, limiting precise control.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.