{"slug": "remember-me-enhancing-long-term-character-persistence-in-llm-generated-stories", "title": "Remember Me: Enhancing Long-term Character Persistence in LLM-Generated Stories using Knowledge Graphs", "summary": "A multi-agent story generation pipeline that uses knowledge graphs as long-term context storage significantly improved character and relationship consistency in long-form LLM-generated fiction compared with naive prompting, according to arXiv paper 2612.02922v1. The pipeline assigns LLM agents to generation planning, knowledge graph extraction, and next-chapter generation, and the authors introduced retention-based character and relationship metrics to quantify long-term narrative consistency across chapters. The authors report the improvement after a statistical analysis of stories generated across genres from a set of starting prompts.", "body_md": "arXiv:2612.02922v1 Announce Type: new \nAbstract: 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.", "url": "https://wpnews.pro/news/remember-me-enhancing-long-term-character-persistence-in-llm-generated-stories", "canonical_source": "https://arxiv.org/abs/2612.02922", "published_at": "2026-12-03 05:00:00+00:00", "updated_at": "2026-12-03 06:47:22.533901+00:00", "lang": "en", "topics": ["large-language-models", "ai-agents", "ai-research", "natural-language-processing"], "entities": ["arXiv", "2612.02922v1"], "also_reported_by": [], "takeaway": "Storing characters and relationships in a knowledge graph as long-term context, with separate LLM agents for planning, KG extraction and chapter generation, measurably raised character and relationship retention over naive prompting in long-form stories.", "recommendation": {"advice": "For long-form generation, extract characters and relationships into a knowledge graph after each chapter and feed it back as context; the authors measured higher retention and cohesion than naive prompting.", "playbook": "agent-architecture", "playbook_url": "https://wpnews.pro/playbooks/agent-architecture"}, "alternates": {"html": "https://wpnews.pro/news/remember-me-enhancing-long-term-character-persistence-in-llm-generated-stories", "markdown": "https://wpnews.pro/news/remember-me-enhancing-long-term-character-persistence-in-llm-generated-stories.md", "text": "https://wpnews.pro/news/remember-me-enhancing-long-term-character-persistence-in-llm-generated-stories.txt", "jsonld": "https://wpnews.pro/news/remember-me-enhancing-long-term-character-persistence-in-llm-generated-stories.jsonld"}}