Thinking in Character: Advancing Role-Playing Agents with Role-Aware Reasoning

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Tang, Yihong, Chen, Kehai, Yang, Muyun, Niu, Zhengyu, Li, Jing, Zhao, Tiejun, Zhang, Min
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908389650464768
author Tang, Yihong
Chen, Kehai
Yang, Muyun
Niu, Zhengyu
Li, Jing
Zhao, Tiejun
Zhang, Min
author_facet Tang, Yihong
Chen, Kehai
Yang, Muyun
Niu, Zhengyu
Li, Jing
Zhao, Tiejun
Zhang, Min
contents The advancement of Large Language Models (LLMs) has spurred significant interest in Role-Playing Agents (RPAs) for applications such as emotional companionship and virtual interaction. However, recent RPAs are often built on explicit dialogue data, lacking deep, human-like internal thought processes, resulting in superficial knowledge and style expression. While Large Reasoning Models (LRMs) can be employed to simulate character thought, their direct application is hindered by attention diversion (i.e., RPAs forget their role) and style drift (i.e., overly formal and rigid reasoning rather than character-consistent reasoning). To address these challenges, this paper introduces a novel Role-Aware Reasoning (RAR) method, which consists of two important stages: Role Identity Activation (RIA) and Reasoning Style Optimization (RSO). RIA explicitly guides the model with character profiles during reasoning to counteract attention diversion, and then RSO aligns reasoning style with the character and scene via LRM distillation to mitigate style drift. Extensive experiments demonstrate that the proposed RAR significantly enhances the performance of RPAs by effectively addressing attention diversion and style drift.
format Preprint
id arxiv_https___arxiv_org_abs_2506_01748
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Thinking in Character: Advancing Role-Playing Agents with Role-Aware Reasoning
Tang, Yihong
Chen, Kehai
Yang, Muyun
Niu, Zhengyu
Li, Jing
Zhao, Tiejun
Zhang, Min
Computation and Language
The advancement of Large Language Models (LLMs) has spurred significant interest in Role-Playing Agents (RPAs) for applications such as emotional companionship and virtual interaction. However, recent RPAs are often built on explicit dialogue data, lacking deep, human-like internal thought processes, resulting in superficial knowledge and style expression. While Large Reasoning Models (LRMs) can be employed to simulate character thought, their direct application is hindered by attention diversion (i.e., RPAs forget their role) and style drift (i.e., overly formal and rigid reasoning rather than character-consistent reasoning). To address these challenges, this paper introduces a novel Role-Aware Reasoning (RAR) method, which consists of two important stages: Role Identity Activation (RIA) and Reasoning Style Optimization (RSO). RIA explicitly guides the model with character profiles during reasoning to counteract attention diversion, and then RSO aligns reasoning style with the character and scene via LRM distillation to mitigate style drift. Extensive experiments demonstrate that the proposed RAR significantly enhances the performance of RPAs by effectively addressing attention diversion and style drift.
title Thinking in Character: Advancing Role-Playing Agents with Role-Aware Reasoning
topic Computation and Language
url https://arxiv.org/abs/2506.01748