arXiv:2508.03137cs.CLcs.AI2025-08

用知识图谱和叙事理论生成连贯长故事,避免跑题与逻辑断裂。

Long Story Generation via Knowledge Graph and Literary Theory

  • 多智能体架构结合长期/短期记忆,防止主题偏离。
  • 基于叙事理论设计障碍框架,提升故事吸引力与连贯性。
  • 模拟作者读者互动,通过反馈迭代优化故事逻辑。

长文本生成中的长篇故事生成是重要子任务。现有基于提纲的多阶段方法常因遗忘历史提纲导致主题漂移,且剧情枯燥、逻辑不连贯。本文提出多智能体故事生成结构,以大语言模型为核心。为避免主题漂移,引入双层记忆存储:长期记忆识别关键信息,短期记忆保留最新提纲。基于叙事学理论设计故事主题障碍框架,引入不确定性因素与评价标准,通过构建知识图谱并融合新节点内容,计算前序剧情相似度以增强故事吸引力。此外,设立多智能体交互阶段,模拟作者-读者对话,根据反馈修正文本,确保一致性与逻辑性。实验表明,该方法生成的故事质量显著优于现有方法。

原文摘要 · Abstract (English)

The generation of a long story consisting of several thousand words is a sub-task in the field of long text generation~(LTG). Previous research has addressed this challenge through outline-based generation, which employs a multi-stage method for generating outlines into stories. However, this approach suffers from two common issues: almost inevitable theme drift caused by the loss of memory of previous outlines, and tedious plots with incoherent logic that are less appealing to human readers. In this paper, we propose the multi-agent Story Generator structure to improve the multi-stage method, using large language models~(LLMs) as the core components of agents. To avoid theme drift, we introduce a memory storage model comprising two components: a long-term memory storage that identifies the most important memories, thereby preventing theme drift; and a short-term memory storage that retains the latest outlines from each generation round. To incorporate engaging elements into the story, we design a story theme obstacle framework based on literary narratology theory that introduces uncertain factors and evaluation criteria to generate outline. This framework calculates the similarity of the former storyline and enhances the appeal of the story by building a knowledge graph and integrating new node content. Additionally, we establish a multi-agent interaction stage to simulate writer-reader interaction through dialogue and revise the story text according to feedback, to ensure it remains consistent and logical. Evaluations against previous methods demonstrate that our approach can generate higher-quality long stories.

故事生成知识图谱多智能体叙事理论

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。