NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Persona Dynamics: Unveiling the Impact of Personality Traits on Agents in Text-Based Games

Seungwon Lim, Seungbeen Lee, Dongjun Min, Youngjae YuarXiv 2025 · DOI

TL;DR

This paper introduces PANDA, a novel framework that imbues AI agents with personality traits to improve their performance and alignment in text-based games. By training a personality classifier and integrating its output into the agent's decision-making process, they demonstrate that agents with specific traits, particularly high Openness, explore more, interact more effectively, and achieve higher scores.

What Problem Does This Paper Address?

Artificial agents are increasingly used in complex interactive environments, but aligning their behavior with desired human values remains a significant challenge. While previous work has focused on instilling ethics or social norms, this paper explores a broader aspect of human behavior: personality traits. The authors aim to understand how diverse intrinsic personality traits influence an agent's performance and decision-making in text-based interactive environments, which are notoriously difficult due to their reliance on natural language understanding and complex action spaces.

Methods

The core of the PANDA framework involves two main components:

  1. Personality Classifier: A classifier is trained to identify the personality valence (high, low, or neutral) of an agent's actions given a specific situation and personality type. This classifier is built using a large dataset of 120,000 personality-labeled examples generated with GPT-4 and fine-tuned on a Flan-T5-XL model, achieving high accuracy (98.59%).
  2. Personality-Guided Policy: The classifier's output is integrated into the agent's policy-learning pipeline. Specifically, the Q-values (action-value function) are adjusted based on the personality classifier's prediction, with a weighting factor ($\gamma$) controlling the strength and direction of the alignment. This adjusted Q-value then guides the agent's action selection. The agent's architecture is based on the Deep Reinforcement Relevance Network (DRRN).

Datasets

  • Jiminy Cricket Benchmark: A suite of 25 complex text-based adventure games used for training and evaluating the agents.
  • Personality-Labeled Dataset: A dataset of 120,000 examples generated using GPT-4, which includes personality descriptions, situational seeds, and paraphrased personality descriptions. This dataset was used to train the personality classifier.
  • Validated Questionnaires: The dataset construction draws upon items from validated questionnaires like the Big Five Inventory (BFI) and the Short Dark Triad (SD-3).
  • Out-of-domain evaluation sets: IPIP and Essays datasets were used for evaluating the personality classifier's robustness.

Key Insights and Ideas

  • Personality as a Driver of Performance: The study demonstrates that personality traits are not just stylistic choices but can significantly impact an agent's performance in complex interactive environments.
  • Openness is Key for Exploration: Agents with high Openness consistently explored more areas, engaged in more interactions, and achieved higher game scores, highlighting the benefit of curiosity and adventurousness in text-based games.
  • Alignment is Achievable: The PANDA framework successfully guides agent behavior to align with specified personality profiles, showing that personality can be a controllable aspect of AI design.
  • Trade-offs Exist: While Openness is beneficial for exploration, other traits might be more relevant for specific tasks. For instance, the study hints at potential trade-offs, such as between psychopathy and conscientiousness.
  • Human-like Behavior is Complex: The research acknowledges the multifaceted nature of human personality and the limitations of assigning single traits, suggesting future work on integrating multiple traits.

Key Results

  • Agents with high Openness demonstrated superior performance across various metrics, including higher game scores, more visited locations, and more reward-earning actions.
  • Statistical analysis (Wilcoxon signed-rank and Friedman tests) confirmed that Openness significantly improves game performance compared to agents without personality guidance.
  • The personality classifier achieved 98.59% accuracy, indicating its effectiveness in identifying personality traits from actions.
  • The PANDA framework showed successful alignment with desired personality traits, with most agents exhibiting behaviors consistent with their assigned personalities.
  • The study found that high psychopathy might be necessary in certain games for higher scores, suggesting a nuanced relationship between antisocial behavior and performance in specific contexts.

Limitations and Future Work

  • Single Trait Assignment: The current approach assigns a single personality trait to each agent. The authors acknowledge that real individuals exhibit a blend of traits, and future work should explore integrating multiple traits to better reflect human complexity.
  • Anthropomorphism Concerns: The attribution of personality to AI agents raises ethical considerations. The authors clarify that these traits are functional attributes for improving alignment, not indicators of sentience.
  • Generalizability: While tested on the Jiminy Cricket benchmark, further validation across a wider range of text-based environments is needed.
  • Human Alignment Nuances: The study found that while agents with high Openness and Agreeableness showed high concordance with human players in some aspects, agents with high Psychopathy and Machiavellianism also showed high concordance in others, suggesting complex human-AI interaction dynamics.

Future work could focus on developing agents with more nuanced personality profiles, exploring the interplay between multiple traits, and investigating the ethical implications of anthropomorphic AI in more depth.

Summary updated

BibTeX
@misc{lim2025persona,
  author = {Seungwon Lim and Seungbeen Lee and Dongjun Min and Youngjae Yu},
  title = {{Persona Dynamics: Unveiling the Impact of Personality Traits on Agents in Text-Based Games}},
  year = {2025},
  eprint = {2504.06868},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.06868},
}
Figure