RoleInteract: Evaluating the Social Interaction of Role-Playing Agents

Hongzhan Chen, Hehong Chen, Ming Yan, Wenshen Xu, Xing Gao, Weizhou Shen, Xiaojun Quan, Chenliang Li, Ji Zhang, Fei Huang, Jingren Zhou

Abstract

Large language models (LLMs) have advanced the development of various AI conversational agents, including role-playing conversational agents that mimic diverse characters and human behaviors. While prior research has predominantly focused on enhancing the conversational capability, role-specific knowledge, and stylistic attributes of these agents, there has been a noticeable gap in assessing their social intelligence. In this paper, we introduce SocialBench, the first benchmark designed to systematically evaluate the sociality of role-playing conversational agents at both individual and group levels of social interactions. The benchmark is constructed from a variety of sources and covers a wide range of 500 characters and over 6,000 question prompts and 30,800 multi-turn role-playing utterances. We conduct comprehensive evaluations on this benchmark using mainstream open-source and closed-source LLMs. We find that agents excelling in individual level does not imply their proficiency in group level. Moreover, the behavior of individuals may drift as a result of the influence exerted by other agents within the group. Experimental results on SocialBench confirm its significance as a testbed for assessing the social interaction of role-playing conversational agents.

Introduction

Large Language Models (LLMs) have become remarkably proficient at role-playing—mimicking the speaking style and knowledge of specific characters. However, current evaluations are mostly "solo acts," testing if an agent knows a character's backstory or can use their catchphrases, while ignoring the social intelligence required for real-world interaction.

A truly social agent requires more than just a script; it needs sociality. This includes individual traits like self-awareness and emotional perception, as well as group-level traits like maintaining a consistent social preference (e.g., being a mediator vs. a provocateur) when surrounded by other agents. SocialBench addresses the lack of a systematic framework to measure how these agents perceive and behave within a social ecosystem.

Overview of SocialBench evaluating sociality at individual and group levels.

Methodology

The researchers developed a three-step pipeline to construct SocialBench, ensuring a robust and diverse set of evaluation scenarios.

The three-step pipeline for SocialBench: Profile Collection, Dialogue Construction, and Question Design.
  1. Profile Collection: 500 diverse character profiles were gathered from novels, movie scripts, and online platforms like Character.AI and Fandom.
  2. Dialogue Construction: Four methods were used to create 30,800 multi-turn utterances, ranging from extracting original book dialogues to using GPT-4 for "self-dialogue" generation between multiple characters.
  3. Question Design: Over 6,000 questions were crafted across two levels:
  4. Individual Level: Tests Self-Awareness (style/knowledge), Emotional Perception (situational/emotion detection), and Long-Term Memory (recalling keywords after 40+ turns).
  5. Group Level: Tests Social Preference (Positive, Neutral, or Negative) by placing the agent in multi-party dialogues (2-10 characters) to see if it maintains its intended social "vibe" despite group pressure.

The SocialBench Dataset

SocialBench is significantly more complex than existing role-playing datasets, featuring:

  • Scale: 500 characters, 6,000 prompts, and 30,800 utterances.
  • Diversity: Covers English and Chinese sources, including classics like The Great Gatsby.
  • Multi-Party Interaction: Unlike previous benchmarks focused on one-on-one chat, SocialBench includes multi-party interactions to study group dynamics.

Key Insights and Results

Evaluations of over 10 mainstream LLMs, including GPT-4-Turbo and specialized models like Xingchen-Plus, revealed several critical findings:

  • The "Solo vs. Squad" Gap: Proficiency at the individual level does not guarantee proficiency at the group level. An agent might sound like Jay Gatsby in a private chat but fail to maintain that persona in a heated group argument.
  • Preference Drift: Agents often suffer from "preference drift," where their behavior shifts to match the majority "polarity" of the group. For instance, a neutral agent might start behaving negatively if surrounded by negative characters.
  • Social Facilitation: Agents designed with positive social preferences were the most resilient, remaining helpful even when the rest of the group was difficult.
  • The 80-Turn Wall: Most models showed a sharp decline in performance once a conversation exceeded 80 utterances, highlighting a bottleneck in current long-term memory architectures.
  • Model Performance: Closed-source models (GPT-4-Turbo, Qwen-Max) significantly outperformed open-source models. Specialized role-playing models like Xingchen-Plus achieved the highest average score (79.39), though they sometimes showed a trade-off in general instruction-following.

Limitations and Future Work

While SocialBench provides a rigorous testbed, several challenges remain. The "agent society" in the benchmark is a simplified version of human social complexity, and the number of interacting agents is currently limited. Furthermore, data sourced from creative works may inherit inherent biases. Future research should focus on enhancing the instruction-following capabilities of role-playing models to ensure they maintain general intelligence while staying in character.

Summary updated

BibTeX
@inproceedings{chen2024roleinteract,
  author = {Hongzhan Chen and Hehong Chen and Ming Yan and Wenshen Xu and Xing Gao and Weizhou Shen and Xiaojun Quan and Chenliang Li and Ji Zhang and Fei Huang and Jingren Zhou},
  title = {{RoleInteract: Evaluating the Social Interaction of Role-Playing Agents}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.findings-acl.125},
}
Figure