arXiv:2611.03184cs.CLNov 2026

Manuscript Offprint

arXiv:2611.03184

ACTOR: Action-Centered Temporal Organization for Literary Role-Playing Agents

Yuxiang Gao, Tianjie Ju, Zheng Wu, Zongru Wu, Hao Fei

ABSTRACT

Large language agents for literary role-playing are typically modeled around dialogue generation, leaving characters' non-dialogue behaviors and their dynamic evolution over story time underrepresented. In this paper, we propose ACTOR (Action-Centered Temporal Organization for Literary Role-Playing Agents), an automated framework for constructing such behavior trajectories from raw novel texts. ACTOR extracts dialogue and persona-relevant non-dialogue behaviors, represents each behavior using a Thought–Action–Observation structure, and organizes behavior trajectories according to the internal temporal order of the story. We build a behavior dataset from 143 diverse literary works. For each source behavior, we generate counterfactual behaviors that are contextually plausible yet inconsistent with the character's persona. We find that existing models struggle to reliably infer character-consistent actions from historical behaviors and evolving character states. Using these behavior pairs, we train models with Regularized Preference Optimization (RPO), which augments DPO with a negative log-likelihood loss on the source behavior to jointly optimize behavior preference and generation. We further design a four-way next-behavior selection task to evaluate the model's ability to faithfully mimic character actions. Across 17,560 evaluation instances, the model trained on ACTOR's preference pairs achieves substantially improved accuracy. This result demonstrates that structured, temporally organized supervision enables models to leverage character profiles and prior behaviors to infer subsequent actions, greatly advancing literary role-playing beyond mere dialogue imitation. Code and data are available at https://github.com/SilentStar233/ACTOR.

1 INTRODUCTION

As research on role-playing language agents advances, researchers have constructed richer role representations and high-quality training datasets (Wang et al., 2026). Early studies draw on diverse textual sources such as scripts, biographies, and novels to build faithful role representations. These sources support retrieval, fine-tuning, and generation constraints, yielding text-grounded character profiles and literary worlds (Shao et al., 2023; Ran et al., 2025). Recent works further dynamically update character profiles and memories to simulate evolving character states across different story stages, effectively improving the faithfulness of role-playing (Xiao et al., 2026; Peng et al., 2026b).

However, fine-grained timestamp-aware behavior modeling cannot be adequately supported by these representations. Some prior works treat actions as embedded components of dialogue messages and thus mainly serve dialogue generation (Wang et al., 2025). Other existing lines of research predict characters' next actions based on plot summaries or pre-constructed coarse-grained action sequences (Xu et al., 2025; Song et al., 2026). Consequently, literary-oriented RPLA still lacks character-centric atomic-level behavior trajectories. Meanwhile, existing methods generally organize character experiences following the narrative order of source texts, with little explicit distinction between the actual chronological order of events and their disclosure order in original literary works.

*Corresponding author.

Figure

Figure 1: Overview of our behavior-modeling evaluation. Given character-related information, the model needs to select the most plausible next action from four options.

To address the above practical challenges, we propose a pipeline framework that automatically constructs character-behavior trajectories from full-length novels. Behaviors extracted by this framework include both verbal dialogues and non-dialogue actions, and the trajectories are organized strictly according to the actual chronological order of unfolding events, providing a unified data foundation for investigating character behaviors and their gradual evolution throughout the story progression. During dataset construction, we concurrently generate contextually plausible yet persona-mismatched counterfactual actions for each ground-truth behavior to support subsequent model training and evaluation. Finally, we build our curated dataset extracted from 143 literary works.

For model training, we select 115 works from the curated corpus and use the first 80% of each character's behavior trajectory for training. As each source behavior is paired with a contextually plausible but persona-inconsistent counterfactual behavior, we use Regularized Preference Optimization (RPO), a joint preference-and-generation objective combining Direct Preference Optimization (DPO) with a negative log-likelihood loss on the source behavior. We treat the source behavior as chosen and one counterfactual behavior as rejected. These signals train the model to infer and generate actions consistent with the character's current state and behavioral prior history in context.

To evaluate the model's behavior-modeling capacity, we take the subsequent 20% of behaviors from each character trajectory within the aforementioned 115 works as temporal evaluation data. The remaining 28 unseen works excluded from training are entirely reserved for cross-book evaluation. For each evaluation instance, given the character profile, historical memory and current scene, the model is required to select the most plausible next action taken by the character among one ground-truth behavior and three distinct counterfactual behaviors. The former setup examines whether the model can continue observed character experiences, whereas the latter tests the model's ability to predict behaviors based on structured character information without access to the source literary works.

The main contributions of this paper are summarized as follows:

  • We propose ACTOR, an automated framework that extracts character-centered atomic behaviors from raw literary texts and organizes behavior trajectories according to their actual occurrence time in the story. ACTOR addresses the lack of character behavior data in existing resources.

  • We formulate literary role-playing as an action-centered temporal modeling task: at a specified point in the story, the model predicts a character's next behavior based on the character's state and previous behavior history. This task extends literary role-playing beyond dialogue response generation to the unified modeling of dialogue and non-dialogue behaviors.

  • We construct a next-behavior selection benchmark to objectively evaluate a model's ability to imitate behavior based on character information, and use the behavior data generated by ACTOR to train models. Experiments on this benchmark show that training with these data improves a model's ability to imitate the behavior of a specified character.