CoSER: Coordinating LLM-Based Persona Simulation of Established Roles

Xintao Wang, Heng Wang, Yifei Zhang, Xinfeng Yuan, Rui Xu, Jen-tse Huang, Siyu Yuan, Haoran Guo, Jiangjie Chen, Wei Wang, Yanghua Xiao, Shuchang Zhou · OpenReview

Abstract

Role-playing language agents (RPLAs) have emerged as promising applications of large language models (LLMs). However, simulating established characters presents a challenging task for RPLAs, due to the lack of authentic character datasets and nuanced evaluation methods using such data. In this paper, we present CoSER, a collection of a high-quality dataset, open models, and an evaluation protocol towards effective RPLAs of established characters. The CoSER dataset covers 17,966 characters from 771 renowned books. It provides authentic dialogues with real-world intricacies, as well as diverse data types such as conversation setups, character experiences and internal thoughts. Drawing from acting methodology, we introduce given-circumstance acting for training and evaluating role-playing LLMs, where LLMs sequentially portray multiple characters in book scenes. Using our dataset, we develop CoSER 8B and CoSER 70B, i.e., advanced open role-playing LLMs built on LLaMA-3.1 models. Extensive experiments demonstrate the value of the CoSER dataset for RPLA training, evaluation and retrieval. Moreover, CoSER 70B exhibits state-of-the-art performance surpassing or matching GPT-4o on our evaluation and three existing benchmarks, i.e., achieving 75.80% and 93.47% accuracy on the InCharacter and LifeChoice benchmarks respectively.

Introduction

While Large Language Models (LLMs) excel at general-purpose conversation, they often struggle to convincingly "become" established characters from literature, such as those found in the Harry Potter series. The authors of CoSER identify two primary bottlenecks: a lack of high-quality, authentic character data and the absence of nuanced evaluation methods. Most existing datasets are small or synthesized by other LLMs, leading to "model collapse" where agents lose the unique linguistic fingerprints and psychological depth of the original literary sources.

The CoSER dataset leverages rich literary worlds to provide authentic character context.

Methodology: Given-Circumstance Acting

To overcome these limitations, CoSER introduces a framework inspired by Konstantin Stanislavski’s acting methodology, specifically the concept of "given circumstances." Instead of predicting dialogue in isolation, the model is trained to portray characters within a specific scene context, including the scenario, the character's current motivation, and their relationships with others.

Expanded Message Space

CoSER agents utilize an expanded message space that generates outputs in a triple format: Speech (verbal), Action (physical behaviors), and Thought (internal monologues). This allows for "information asymmetry," where a character's internal state may differ from their outward expression, leading to more sophisticated and consistent behavior.

Simulating established characters requires capturing nuanced internal thoughts and physical actions.

The CoSER Dataset and Evaluation

The CoSER dataset is sourced from 771 books (top 1,000 on Goodreads), containing profiles for nearly 18,000 characters and approximately 30,000 authentic conversations. Crucially, it includes plot summaries and character experiences to provide deep context for the "given circumstances."

To evaluate these models, the authors use a Penalty-Based Evaluation system. This addresses the common "LLM-as-a-judge" bias toward long answers. Critics (such as GPT-4o) are given detailed rubrics to identify specific flaws—such as behaving like a helpful AI assistant instead of the character—and deduct points from a base score.

Key Results and Insights

Extensive experiments show that CoSER 70B (built on LLaMA-3.1) achieves state-of-the-art performance, matching or surpassing GPT-4o on benchmarks like InCharacter (75.80% accuracy) and LifeChoice (93.47% accuracy).

Key insights from the research include:

  • Authenticity Trumps Synthesis: Fine-tuning on real literary dialogues significantly outperforms synthetic data, preserving the character's "soul."
  • The Power of Internal Monologue: Training models to generate internal thoughts before speaking prevents the "helpful assistant" syndrome common in standard RLHF-tuned models.
  • Open-Source Success: CoSER 8B showed significant gains, exceeding the second-best open model's performance by 58% on BLEU scores for dialogue accuracy. In blind human validation tests, CoSER 70B achieved an 86.9% win rate over GPT-4o.

Conclusion and Limitations

CoSER demonstrates that coordinating authentic data with acting-inspired training methodologies can significantly enhance the persona simulation of established roles. However, limitations remain, including the inherent bias of LLM judges and the sparsity of explicit "thoughts" in original literary texts, which often require LLM inference during dataset curation. Additionally, due to copyright constraints, only the processed data and models are released, rather than the raw text of the source novels.

Summary updated

BibTeX
@inproceedings{wang2025coser,
  author = {Xintao Wang and Heng Wang and Yifei Zhang and Xinfeng Yuan and Rui Xu and Jen-tse Huang and Siyu Yuan and Haoran Guo and Jiangjie Chen and Wei Wang and Yanghua Xiao and Shuchang Zhou},
  title = {{CoSER: Coordinating LLM-Based Persona Simulation of Established Roles}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=BOrR7YqKUt},
}
Figure