Capturing Minds, Not Just Words: Enhancing Role-Playing Language Models with Personality-Indicative Data

Yiting Ran, Xintao Wang, Rui Xu, Xinfeng Yuan, Jiaqing Liang +2 more
6/27/2024
cs.CL

Official code: alienet1109/RolePersonality (24 stars, last commit 2025-02-18).

Abstract

Role-playing agents (RPA) have been a popular application area for large language models (LLMs), attracting significant interest from both industry and academia.While existing RPAs well portray the characters' knowledge and tones, they face challenges in capturing their minds, especially for small role-playing language models (RPLMs). In this paper, we propose to enhance RPLMs via personality-indicative data. Specifically, we leverage questions from psychological scales and distill advanced RPAs to generate dialogues that grasp the minds of characters. Experimental results validate that RPLMs trained with our dataset exhibit advanced role-playing capabilities for both general and personality-related evaluations. Code and data are available at \href{https://github.com/alienet1109/RolePersonality}{this URL}.

View on arXivView PDF

Code Implementations(1)

Collecting personality-indicative data for role-playing agents.

244PythonJun 27, 20241 years ago

Similar Papers

Cite this paper

@article{ran2024capturing,
  title  = {Capturing Minds, Not Just Words: Enhancing Role-Playing Language Models with Personality-Indicative Data},
  author = {Yiting Ran and Xintao Wang and Rui Xu and Xinfeng Yuan and Jiaqing Liang and Deqing Yang and Yanghua Xiao},
  year   = {2024},
  eprint = {2406.18921},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.18921v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.18921.svg)](https://codeofpaper.com/paper/2406.18921)

Discussion