TimeWeaver: Orchestrating Narrative Order via Temporal Mixture-of-Experts Integrated Event–Order Bidirectional Pretraining and Multi-Granular Reward Reinforcement Learning
Human storytellers often orchestrate diverse narrative orders (chronological, flashback) for crafting compelling stories. To equip artificial intelligence systems with such capability, existing methods rely on implicitly learning narrative sequential knowledge, or explicitly modeling narrative order through pairwise event temporal order (e.g., take medicine <after> get ill). However, both suffer from imbalanced narrative order distribution bias and inadequate event temporal understanding, hindering generating high-quality events in the story that balance the logic and narrative order. In this paper, we propose a narrative-order-aware framework, TimeWeaver, which presents an event–order bidirectional pretrained model integrated with temporal mixture-of-experts to orchestrate diverse narrative orders. Specifically, to mitigate imbalanced distribution bias, the temporal mixture-of-experts is devised to route events with various narrative orders to corresponding experts, grasping distinct orders of narrative generation. Then, to enhance event temporal understanding, an event sequence narrative-order-aware model is pretrained with bidirectional reasoning between event and order, encoding the event temporal orders and event correlations. At the fine-tuning stage, reinforcement learning with multi-granular optimal transport reward is designed to boost the quality of generated events. Extensive experimental results on automatic and manual evaluations demonstrate the superiority of our framework in orchestrating diverse narrative orders during story generation.
Authors
- Zhicong Lu (ORCID: https://orcid.org/0009-0005-7520-7799)
- Changyuan Tian
- Guangluan Xu (ORCID: https://orcid.org/0000-0003-3529-593X)
- Yang Bai (ORCID: https://orcid.org/0000-0001-7956-8026)
- Li Jin (ORCID: https://orcid.org/0000-0001-8833-4862)
- Jia Wei
Institutions
- Chinese Academy of Sciences (CN)
- Aerospace Information Research Institute (CN)
- University of Chinese Academy of Sciences (CN)
Publication Details
- Journal
- Electronics
- Published
- 2025-09-29
- DOI
- https://doi.org/10.3390/electronics14193880
- Primary Topic
- Artificial Intelligence in Games
- Type
- article
- Field-Weighted Citation Impact
- 0.00