跳到正文
arXiv cs.AI· Alvin Tan, Jay Campanell, Richa Misra, Naina Panjwani, Jessica Fu, Rida Faraz, Joel Walsh·· 3 天前AI 评分39

用知识图谱增强 LLM 生成故事中的角色长期一致性研究

Remember Me: Enhancing Long-term Character Persistence in LLM-Generated Stories using Knowledge Graphs

AI 导读

一项发表于 ICCC'26 的研究提出多智能体故事生成 pipeline,以知识图谱作为长期上下文存储,提升 LLM 零样本生成长篇小说时角色与关系的一致性。该 pipeline 由负责生成规划、知识图谱抽取和下一章生成的 LLM 智能体逐章生成叙事,并设计了新的基于保留率的故事一致性指标。统计分析显示,与朴素提示词相比,KG 引导下生成的故事在保留率和衔接性上显著提升。

正文 · 原文

View PDF HTML (experimental)

Abstract:Despite advances in the instruction-following capabilities of LLMs, long-form content generated by state-of-the-art models still lacks coherence and consistency. Previous work in Question Answering and factual text generation has leveraged knowledge graphs (KG)' representation capabilities, but there have been limited efforts to incorporate KGs in creative tasks. To improve LLMs' zero-shot performance in narrative generation, we propose a multi-agent story generation pipeline with knowledge graphs as long-term context storage to improve character and relationship consistency in long fiction. To this end, we designed and tested a pipeline that can generate long narratives chapter by chapter with LLM agents responsible for generation planning, knowledge graph extraction, and next chapter generation. We also created a comprehensive list of starting prompts to evaluate the pipeline's performance across genres. In order to evaluate the pipeline quantitatively, we devised a novel retention-based story consistency metric due to a gap in effective quantitative metrics for unreferenced text generation. The character retention metrics and relationship retention metrics reflect a narrative's long-term consistency across chapters. Through a statistical analysis of stories generated with the multi-agent KG pipeline and those generated with naive prompting, we found significant improvement in retention and cohesion in stories generated with KG guidance.
Comments: 10 pages, 2 figures, 2 tables. Published in the Proceedings of the 17th International Conference on Computational Creativity (ICCC'26), Coimbra, Portugal, June 29 - July 3, 2026. Code available at this https URL
Subjects: Computation and Language (cs.CL); Artificial Intelligence (cs.AI)
Cite as: arXiv:2612.02922 [cs.CL]
  (or arXiv:2612.02922v1 [cs.CL] for this version)
  https://doi.org/10.48550/arXiv.2612.02922

arXiv-issued DOI via DataCite (pending registration)

Journal reference: Proceedings of the 17th International Conference on Computational Creativity (ICCC'26), Association for Computational Creativity (ACC), 2026, pp. 189-198 (ISBN 978-989-54160-8-0)

Submission history

From: Joel Walsh [view email]
[v1] Wed, 2 Dec 2026 00:21:17 UTC (1,092 KB)

来源:arXiv cs.AI · arxiv.org