让聊天机器人真正表现出个性,对话更自然真实
PsyPlay: Personality-Infused Role-Playing Conversational Agents
- 设计新框架让多个角色在对话中持续展现指定人格特质
- 在GPT-3.5上实现80.31%的人格表现准确率
- 适合研究个性化对话、人格建模与角色扮演的学者
当前基于大语言模型的角色扮演对话代理研究主要聚焦于模仿特定说话风格和使用角色背景,忽视了深层人格特征的刻画。本文提出人格注入式角色扮演,使大模型代理在对话中能准确展现指定人格特质。我们构建了PsyPlay框架,支持多个大模型代理以不同人格参与主题对话,并在整个交互过程中保持人格一致性。实验表明,该方法在生成对话数据上的整体成功率达80.31%(基于GPT-3.5)。值得注意的是,对齐积极价值观的大模型在表现积极人格角色时优于负面角色。此外,我们构建了一个名为PsyPlay-Bench的人格化角色扮演对话语料库,包含4745条由PsyPlay生成且正确体现人格的对话实例,旨在推动个性化角色扮演与对话人格识别的研究。
原文摘要 · Abstract (English)
The current research on Role-Playing Conversational Agents (RPCAs) with Large Language Models (LLMs) primarily focuses on imitating specific speaking styles and utilizing character backgrounds, neglecting the depiction of deeper personality traits.~In this study, we introduce personality-infused role-playing for LLM agents, which encourages agents to accurately portray their designated personality traits during dialogues. We then propose PsyPlay, a dialogue generation framework that facilitates the expression of rich personalities among multiple LLM agents. Specifically, PsyPlay enables agents to assume roles with distinct personality traits and engage in discussions centered around specific topics, consistently exhibiting their designated personality traits throughout the interactions. Validation on generated dialogue data demonstrates that PsyPlay can accurately portray the intended personality traits, achieving an overall success rate of 80.31% on GPT-3.5. Notably, we observe that LLMs aligned with positive values are more successful in portraying positive personality roles compared to negative ones. Moreover, we construct a dialogue corpus for personality-infused role-playing, called PsyPlay-Bench. The corpus, which consists of 4745 instances of correctly portrayed dialogues using PsyPlay, aims to further facilitate research in personalized role-playing and dialogue personality detection.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。