cd /news/large-language-models/remember-me-enhancing-long-term-char… · home › topics › large-language-models › article
[ARTICLE · art-180790] src=arxiv.org ↗ pub= topic=large-language-models verified=true sentiment=↑ positive

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

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.

recommendation

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.

more in playbook: Designing agent systems
by read1 min views5 publishedDec 3, 2026

arXiv:2612.02922v1 Announce Type: new 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.

── more in #large-language-models 4 stories · sorted by recency
── more on @arxiv 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/remember-me-enhancin…] indexed:0 read:1min 2026-12-03 · —