arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.17147cs.CL
收藏

CogDual:通过带有隐式基于规则奖励的强化学习增强大型语言模型的双重认知

CogDual: Enhancing Dual Cognition of LLMs via Reinforcement Learning with Implicit Rule-Based Rewards

Tencent(腾讯);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));Northeastern University(东北大学)

Cheng Liu, Yifei Lu, Fanghua Ye, Jian Li, Xingyu Chen, Feiliang Ren, Zhaopeng Tu, Xiaolong Li

AI总结:

本文提出 CogDual 角色扮演语言智能体,通过“先认知后回应”范式联合建模情境与自我意识,并结合隐式规则奖励的强化学习提升角色一致性、情境对齐及跨任务泛化能力。

摘要:

角色扮演语言智能体(RPLAs)已成为大型语言模型(LLMs)的一个重要应用方向。现有方法通常依赖提示工程或监督微调,使模型在特定场景中模仿角色行为,但往往忽视驱动这些行为的底层认知机制。受认知心理学启发,我们提出 CogDual,这是一种采用“先认知后回应”推理范式的新型 RPLA。通过联合建模外部情境意识与内部自我意识,CogDual 生成的回复在角色一致性和情境对齐方面均有提升。为进一步优化性能,我们采用强化学习,并使用两种面向开放域文本生成的通用奖励方案。在 CoSER 基准以及 Cross-MR 和 LifeChoice 上的大量实验表明,CogDual 始终优于现有基线,并能有效泛化到多种角色扮演任务。

英文摘要:

Role-Playing Language Agents (RPLAs) have emerged as a significant application direction for Large Language Models (LLMs). Existing approaches typically rely on prompt engineering or supervised fine-tuning to enable models to imitate character behaviors in specific scenarios, but often neglect the underlying \emph{cognitive} mechanisms driving these behaviors. Inspired by cognitive psychology, we introduce \textbf{CogDual}, a novel RPLA adopting a \textit{cognize-then-respond } reasoning paradigm. By jointly modeling external situational awareness and internal self-awareness, CogDual generates responses with improved character consistency and contextual alignment. To further optimize the performance, we employ reinforcement learning with two general-purpose reward schemes designed for open-domain text generation. Extensive experiments on the CoSER benchmark, as well as Cross-MR and LifeChoice, demonstrate that CogDual consistently outperforms existing baselines and generalizes effectively across diverse role-playing tasks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑