Identity-Driven Hierarchical Role-Playing Agents

Libo Sun, Siyuan Wang, Xuanjing Huang, Zhongyu Wei
7/28/2024
cs.AI

No confident code implementation found for this paper.

Abstract

Utilizing large language models (LLMs) to achieve role-playing has gained great attention recently. The primary implementation methods include leveraging refined prompts and fine-tuning on role-specific datasets. However, these methods suffer from insufficient precision and limited flexibility respectively. To achieve a balance between flexibility and precision, we construct a Hierarchical Identity Role-Playing Framework (HIRPF) based on identity theory, constructing complex characters using multiple identity combinations. We develop an identity dialogue dataset for this framework and propose an evaluation benchmark including scale evaluation and open situation evaluation. Empirical results indicate the remarkable efficacy of our framework in modeling identity-level role simulation, and reveal its potential for application in social simulation.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{sun2024identitydriven,
  title  = {Identity-Driven Hierarchical Role-Playing Agents},
  author = {Libo Sun and Siyuan Wang and Xuanjing Huang and Zhongyu Wei},
  year   = {2024},
  eprint = {2407.19412},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.19412v1}
}

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/2407.19412.svg)](https://codeofpaper.com/paper/2407.19412)

Discussion