atlas

Research map / Multi-agent systems and games / LLM agents

RoleAgent: Building, Interacting, and Benchmarking High-quality Role-Playing Agents from Scripts

NeurIPS 2024 · Multi-agent systems and games › LLM agents · approach: Agent data synthesis and behavior studies

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes RoleAgent, a framework that builds role-playing agents directly from raw TV/film scripts using hierarchical memory and a four-step interaction pipeline, and releases RoleAgentBench (128 roles across 25 scripts) for evaluating them.

Problem

Generative agents need human-annotated profiles for initialization, which limits scaling to many characters; there is no benchmark for evaluating script-derived role-playing agents.

Approach

Automatically derive agent observations from raw scripts, compress them into a three-tier hierarchy (events, key points, insights), and at interaction time deconstruct queries, retrieve memories with a four-factor score, replay raw observations, and summarize subconscious memories and intentions before response generation.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add the hierarchical memory system and memory replay rather than using neither (ablation)RoleAgent with GPT-3.5 · RoleAgentBench EnglishSelf-Knowledge accuracy: 70.3 -> 87.6Helped
Add the hierarchical memory system and memory replay rather than using neither (ablation)RoleAgent with GPT-3.5 · RoleAgentBench EnglishReaction accuracy: 54.5 -> 76.7Helped
Add the hierarchical memory system and memory replay rather than using neither (ablation)RoleAgent with GPT-3.5 · RoleAgentBench EnglishSummarization WR-G: 29.5 -> 46.7Helped
Add memory replay (ablation)RoleAgent with GPT-3.5 · RoleAgentBench EnglishSelf-Knowledge accuracy: 73.6 -> 87.6Helped
Add memory replay (ablation)RoleAgent with GPT-3.5 · RoleAgentBench EnglishSummarization WR-G: 35.4 -> 46.7Helped
Add hierarchical memory (ablation)RoleAgent with GPT-3.5 and memory replay · RoleAgentBench EnglishReaction accuracy: 54.5 -> 76.4Helped
Add hierarchical memory (ablation)RoleAgent with GPT-3.5 and memory replay · RoleAgentBench EnglishSelf-Knowledge accuracy: 70.3 -> 73.6Helped
Use RoleAgent instead of Generative AgentsGPT-3.5 role-playing agents · RoleAgentBench EnglishSelf-Knowledge accuracy: 68.9 -> 87.6Helped
Use RoleAgent instead of Generative AgentsGPT-3.5 role-playing agents · RoleAgentBench EnglishReaction accuracy: 40.7 -> 76.7Helped
Use RoleAgent instead of Generative AgentsGPT-3.5 role-playing agents · RoleAgentBench EnglishGeneral Response WR-G: 31.8 -> 37.6Helped
Use a stronger API-based base model rather than an open-source modelRoleAgent · RoleAgentBench EnglishSelf-Knowledge accuracyHelped
Use an English-centric LLM on the Chinese subset instead of its English subsetLLaMA3-8B · RoleAgentBench Chinese vs EnglishSelf-Knowledge accuracy: 84.0 -> 70.1Hurt

Surprising findings

Limitations

Experimental setup

Datasets: RoleAgentBench RoleBench 20 English scripts 5 Chinese scripts

Benchmarks: RoleAgentBench

Metrics: accuracy win rate entity density entity recall ER/ED

Baselines: GPT-4 Qwen-Max GPT-3.5 Yi-34B Qwen1.5-14B Mistral-7B LLaMA3-8B ChatGLM3-6B RoleLLM Generative Agents

Builds on: Generative Agents RoleLLM Faiss

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy