DynSess:面向角色扮演智能体的动态会话级评估与优化框架
DynSess: Dynamic Session-Level Evaluation and Optimization Framework for Role-Playing Agents
AI总结:
提出DynSess统一会话级框架,通过会话级评估(DynSess-Eval)和基于多步前瞻搜索的训练轨迹优化(DSPO/GSRPO),提升角色扮演智能体的长程一致性和交互质量。
摘要:
基于大型语言模型的角色扮演本质上是一个会话级任务,要求智能体在扩展的多轮对话中维持角色身份和交互质量。然而,现有的评估和优化方法大多停留在轮次级别,无法捕捉长程质量。我们提出DynSess,一个统一的会话级角色扮演智能体框架。DynSess-Eval通过针对长程行为的评分标准对完整对话会话进行评分。利用其会话级奖励,我们通过多步前瞻搜索构建高质量训练轨迹,并训练DynSess-Character的两个互补变体:DSPO(离策略)和GSRPO(在策略)。实验表明,DynSess-Eval与人类判断的一致性显著优于先前的评估器,盲人机评估进一步显示,尽管参数少得多,DynSess-Character仍能与最强角色模型匹配,同时保持强大的角色一致性和交互能力。我们的数据集和代码将发布以促进未来研究。
英文摘要:
Role-playing with large language models is fundamentally a session-level task, requiring agents to sustain character identity and interaction quality across extended multi-turn conversations. Yet existing evaluation and optimization methods remain largely turn-level, failing to capture long-horizon quality. We propose DynSess, a unified session-level framework for role-playing agents. DynSess-Eval scores complete dialogue sessions via rubrics targeting long-horizon behaviors. Leveraging its session-level rewards, we construct high-quality training trajectories through multi-turn lookahead search and train DynSess-Character with two complementary variants: DSPO (off-policy) and GSRPO (on-policy). Experiments show that DynSess-Eval aligns with human judgments substantially better than prior evaluators, and blind human evaluation further shows that DynSess-Character matches the strongest character model despite using substantially fewer parameters, while maintaining strong role consistency and interactive ability. Our dataset and code will be released to facilitate future research.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。