RAIDEN-R1: Improving Role-awareness of LLMs via GRPO with Verifiable Reward

Bowen Wu, Zongsheng Wang, Kaili Sun, Bowen Wu 0001, Qun Yu, Ying Li, Baoxun WangarXiv 2025 · DOI

Abstract

Role-Playing Conversational Agents (RPCAs) often struggle with "role-drift," losing persona consistency over time. This paper presents RAIDEN-R1, a reinforcement learning framework that adapts reasoning-heavy training techniques to persona-based agents. By combining Group Relative Policy Optimization (GRPO) with a novel Verifiable Role-Awareness Reward (VRAR) and first-person Chain-of-Thought (CoT) reasoning, RAIDEN-R1 makes role-consistency quantifiable. The model significantly outperforms standard fine-tuning on memory and knowledge benchmarks.

Introduction

Role-playing is a core use case for LLMs, yet agents frequently fail to maintain consistent backstories or personalities during long interactions. This "role-drift" occurs because role-playing is inherently subjective, making it difficult to define objective rewards. RAIDEN-R1 addresses this by focusing on verifiable persona facts and using reinforcement learning to activate internal reasoning.

The RAIDEN-R1 Framework

The training pipeline transitions from a raw LLM through a supervised fine-tuning (SFT) "cold start" to a final GRPO phase. This process integrates high-quality first-person CoT data and verifiable rewards to ensure the model "thinks" as the character.

Overview of the RAIDEN-R1 training pipeline, showing the transition from raw LLM to GRPO-optimized model using verifiable rewards.

Verifiable Role-Awareness Reward (VRAR)

The core innovation is the VRAR, which quantifies role-play quality through two mechanisms:

  • Single-Term Validation (STV): Rewards the model for including specific, factual keywords (e.g., a character's hometown) in its response.
  • Multi-Term Dynamic Parsing (MTDP): Utilizes Python-based functions to verify more complex or varied responses where multiple keywords or formats might be correct.
The Accuracy Reward algorithm and a practical example of Single-Term Validation (STV) and Multi-Term Dynamic Parsing (MTDP).

Methodology and Training

  1. Personalized CoT Generation: Using a multi-LLM collaboration (DeepSeek-R1 and Claude 3.5), the authors created a dataset of 10,000 samples featuring first-person reasoning. This internal monologue matches the character's tone.
  2. GRPO Optimization: The model generates groups of responses and is rewarded based on how well they satisfy VRAR criteria and formatting requirements (e.g., using <think> tags).
  3. Datasets: Training utilized the RAIDEN Benchmark, focusing on Script-Based Knowledge (SBK) and Conversation Memory (CM).

Key Results and Insights

Testing on a 14B parameter model (Qwen 2.5) yielded significant gains:

  • Accuracy: The GRPO-trained model achieved 88.04% in SBK and 88.65% in CM, far exceeding the base instruct model.
  • Robustness: Unlike SFT-only models, the GRPO approach maintained general conversational ability while improving role-awareness.
  • Internal Monologue: The model developed the ability to identify and handle adversarial or misleading user queries within its <think> process, maintaining character integrity.

Conclusion

RAIDEN-R1 demonstrates that rewarding verifiable factual consistency is a powerful proxy for broader persona adherence. By teaching models to reason in the first person, the framework mitigates role-drift and enhances the immersive quality of AI role-play. Future work will expand these rewards to capture more nuanced traits like emotional depth and style.

Summary updated

BibTeX
@misc{wu2025raiden,
  author = {Bowen Wu and Zongsheng Wang and Kaili Sun and Bowen Wu and Qun Yu and Ying Li and Baoxun Wang},
  title = {{RAIDEN-R1: Improving Role-awareness of LLMs via GRPO with Verifiable Reward}},
  year = {2025},
  eprint = {2505.10218},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.10218},
}
Figure