DynSess: Dynamic Session-Level Evaluation and Optimization Framework for Role-Playing Agents

Rongsheng Zhang, Jiji Tang, Junnan Ren, Zuyi Bao, Weijie Chen +4 more
5/28/2026
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhang2026dynsess,
  title  = {DynSess: Dynamic Session-Level Evaluation and Optimization Framework for Role-Playing Agents},
  author = {Rongsheng Zhang and Jiji Tang and Junnan Ren and Zuyi Bao and Weijie Chen and Ruofan Hu and Zhou Zhao and Tangjie Lv and Yan Zhang},
  year   = {2026},
  eprint = {2605.29256},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.29256v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.29256.svg)](https://codeofpaper.com/paper/2605.29256)

Discussion