SCORE: Story Coherence and Retrieval Enhancement for AI Narratives

Qiang Yi, Yangfan He, Jianhui Wang, Xinyuan Song, Shiyao Qian, Miao Zhang, Li Sun, Tianyu Shi · DOI

TL;DR

This paper introduces SCORE, a novel framework that significantly improves the coherence and emotional consistency of AI-generated stories. By combining dynamic state tracking, episode summarization, and retrieval-augmented generation, SCORE effectively detects and resolves narrative inconsistencies, offering a more robust way to evaluate and refine AI narratives.

What Problem Does This Paper Address?

Large Language Models (LLMs) have become remarkably adept at generating creative and engaging long-form narratives. However, a persistent challenge is maintaining coherence and emotional depth throughout these stories. LLMs often struggle with inconsistencies, such as characters or plot elements reappearing without explanation, or abrupt shifts in emotional tone. This can disrupt the narrative flow and diminish reader engagement. Existing methods for evaluating narrative quality often fall short in capturing these subtle yet crucial aspects of storytelling.

Methods

The SCORE framework is built upon three core components:

  1. LLM-based Evaluation Framework: This is the overarching system designed to assess narrative quality.
  2. Automatic Generation of Episode Summaries: SCORE automatically generates concise summaries for each story episode. These summaries capture key plot points, character actions, and interactions with important items. This helps in tracking plot development and creating a structured representation of the narrative.
  3. Retrieval-Augmented Generation (RAG) Approach: This is the central mechanism for enhancing narrative consistency. SCORE integrates the episode summaries and key item tracking into a RAG pipeline. This allows the system to:
  4. Continuity Analysis and Key Item Status Correction: It tracks the status of key items (e.g., active, lost, destroyed) across episodes. If an item reappears after being marked as lost or destroyed without explanation, SCORE flags this as a continuity error and maintains the previous state, preventing erroneous transitions.
  5. Key Item Interaction Analysis: It thoroughly analyzes character actions and their interactions with key items within each episode, aggregating this information for precise retrieval.
  6. Similarity-Based Episode Evaluation and Sentiment Analysis: SCORE uses FAISS and OpenAI embeddings to create a vector space of episode chunks. It retrieves semantically and emotionally aligned past episodes based on cosine similarity. Sentiment analysis is then applied to ensure both textual and emotional consistency between episodes. This enriched context is fed into LLM prompts for more accurate evaluation.

Datasets

The paper uses a custom-built story dataset for evaluation, consisting of:

  • 5,000 episodes from 1,000 GPT-generated stories.
  • Stories are evenly distributed across four genres: science fiction, drama, fantasy, and comedy.
  • Each story has 10-15 episodes (average 12), generated using GPT-3.5 and GPT-4 with 15 diverse prompt templates per genre.
  • Quality was ensured by manual filtering by three annotators (inter-annotator agreement k=0.78).
  • Complexity was stratified to include multi-character interactions (30%), non-linear timelines (20%), and symbolic systems (50%).

For broader validation, SCORE was also tested on existing benchmarks: NarrativeQA, BookCorpus, and WP-STORIES, with standardized genre and episode length distributions.

Key Insights and Ideas

  • The Importance of Explicit State Tracking: The paper highlights that simply relying on LLMs to remember item states across long narratives is insufficient. Explicitly tracking key item statuses and correcting inconsistencies is crucial for maintaining narrative integrity.
  • RAG as a Narrative Enhancement Tool: SCORE demonstrates that RAG can be effectively leveraged not just for information retrieval but for actively improving the coherence and consistency of generated content, particularly in complex, multi-episode narratives.
  • Emotional Coherence is as Important as Plot Coherence: The framework's integration of sentiment analysis alongside textual similarity underscores the need to evaluate and maintain emotional consistency for a truly cohesive narrative experience.
  • Modular Design for Scalability: The modular nature of SCORE allows it to be compatible with various LLMs and ensures scalability, making it a versatile tool for narrative evaluation.

Key Results

  • Significant Improvement in Consistency and Coherence: Table 1 shows that SCORE consistently improves performance across various LLMs. For instance, consistency increases by up to 7.8% for Llama-13B and coherence by up to 7.7% for GPT-40.
  • Enhanced Item Status Recognition: SCORE approaches 98% accuracy in item status recognition.
  • Substantial Gains for Open-Source Models: Open-source models like Qwen-14B and Llama-13B see particularly large gains in complex question answering (30-38 points).
  • Outperforming Baselines: When compared to baseline LLMs (GPT-4, GPT-40, GPT-40-mini) without SCORE's enhancements, the proposed framework shows substantial improvements in evaluation accuracy. For example, GPT-4 with SCORE achieves 89.45 in Complex QA, a significant jump from GPT-4 alone at 82.34.
  • Ablation Studies Confirm Component Importance: Table 2 reveals that removing specific modules significantly degrades performance. Dynamic Tracking is critical for consistency and item accuracy, while Context Summary is vital for coherence.

Limitations and Future Work

  • Retrieval Accuracy: The authors acknowledge that challenges remain in retrieval accuracy, which can impact the overall effectiveness of the RAG pipeline.
  • Computational Efficiency: The computational cost of running the SCORE framework is also noted as an area for future improvement.
  • Future Directions: The paper suggests that future work could focus on further refining retrieval mechanisms and optimizing computational efficiency to make the framework more practical for real-world applications. Expanding the framework to handle even longer and more complex narratives, potentially across different media, is also a promising avenue.

Summary updated

BibTeX
@inproceedings{yi2026score,
  author = {Qiang Yi and Yangfan He and Jianhui Wang and Xinyuan Song and Shiyao Qian and Miao Zhang and Li Sun and Tianyu Shi},
  title = {{SCORE: Story Coherence and Retrieval Enhancement for AI Narratives}},
  booktitle = {The Web Conference},
  year = {2026},
  doi = {10.1145/3774905.3795734},
}
Figure