StoryWriter: A Multi-Agent Framework for Long Story Generation

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Xia, Haotian, Peng, Hao, Qi, Yunjia, Wang, Xiaozhi, Xu, Bin, Hou, Lei, Li, Juanzi
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913903731015680
author Xia, Haotian
Peng, Hao
Qi, Yunjia
Wang, Xiaozhi
Xu, Bin
Hou, Lei
Li, Juanzi
author_facet Xia, Haotian
Peng, Hao
Qi, Yunjia
Wang, Xiaozhi
Xu, Bin
Hou, Lei
Li, Juanzi
contents Long story generation remains a challenge for existing large language models (LLMs), primarily due to two main factors: (1) discourse coherence, which requires plot consistency, logical coherence, and completeness in the long-form generation, and (2) narrative complexity, which requires an interwoven and engaging narrative. To address these challenges, we propose StoryWriter, a multi-agent story generation framework, which consists of three main modules: (1) outline agent, which generates event-based outlines containing rich event plots, character, and event-event relationships. (2) planning agent, which further details events and plans which events should be written in each chapter to maintain an interwoven and engaging story. (3) writing agent, which dynamically compresses the story history based on the current event to generate and reflect new plots, ensuring the coherence of the generated story. We conduct both human and automated evaluation, and StoryWriter significantly outperforms existing story generation baselines in both story quality and length. Furthermore, we use StoryWriter to generate a dataset, which contains about $6,000$ high-quality long stories, with an average length of $8,000$ words. We train the model Llama3.1-8B and GLM4-9B using supervised fine-tuning on LongStory and develop StoryWriter_GLM and StoryWriter_GLM, which demonstrates advanced performance in long story generation.
format Preprint
id arxiv_https___arxiv_org_abs_2506_16445
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle StoryWriter: A Multi-Agent Framework for Long Story Generation
Xia, Haotian
Peng, Hao
Qi, Yunjia
Wang, Xiaozhi
Xu, Bin
Hou, Lei
Li, Juanzi
Computation and Language
Artificial Intelligence
Long story generation remains a challenge for existing large language models (LLMs), primarily due to two main factors: (1) discourse coherence, which requires plot consistency, logical coherence, and completeness in the long-form generation, and (2) narrative complexity, which requires an interwoven and engaging narrative. To address these challenges, we propose StoryWriter, a multi-agent story generation framework, which consists of three main modules: (1) outline agent, which generates event-based outlines containing rich event plots, character, and event-event relationships. (2) planning agent, which further details events and plans which events should be written in each chapter to maintain an interwoven and engaging story. (3) writing agent, which dynamically compresses the story history based on the current event to generate and reflect new plots, ensuring the coherence of the generated story. We conduct both human and automated evaluation, and StoryWriter significantly outperforms existing story generation baselines in both story quality and length. Furthermore, we use StoryWriter to generate a dataset, which contains about $6,000$ high-quality long stories, with an average length of $8,000$ words. We train the model Llama3.1-8B and GLM4-9B using supervised fine-tuning on LongStory and develop StoryWriter_GLM and StoryWriter_GLM, which demonstrates advanced performance in long story generation.
title StoryWriter: A Multi-Agent Framework for Long Story Generation
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2506.16445