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.
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.
Methodology and Training
- 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.
- 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). - 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