[Paper Review] Towards Coherent and Consistent Use of Entities in Narrative Generation
This paper proposes a dynamic entity memory module for large pre-trained language models to improve entity coherence and consistency in narrative generation. By integrating cross-attention over a learnable entity memory with token-level entity annotations, the model significantly enhances long-range entity tracking, especially under limited context windows, as validated by both automatic metrics and human evaluation.
Large pre-trained language models (LMs) have demonstrated impressive capabilities in generating long, fluent text; however, there is little to no analysis on their ability to maintain entity coherence and consistency. In this work, we focus on the end task of narrative generation and systematically analyse the long-range entity coherence and consistency in generated stories. First, we propose a set of automatic metrics for measuring model performance in terms of entity usage. Given these metrics, we quantify the limitations of current LMs. Next, we propose augmenting a pre-trained LM with a dynamic entity memory in an end-to-end manner by using an auxiliary entity-related loss for guiding the reads and writes to the memory. We demonstrate that the dynamic entity memory increases entity coherence according to both automatic and human judgment and helps preserving entity-related information especially in settings with a limited context window. Finally, we also validate that our automatic metrics are correlated with human ratings and serve as a good indicator of the quality of generated stories.
Motivation & Objective
- To systematically analyze the limitations of pre-trained language models in maintaining entity coherence and consistency during long-form narrative generation.
- To identify that current models fail to preserve entity-related information, especially in long narratives with limited context windows.
- To propose an end-to-end trainable dynamic entity memory mechanism that enhances entity coherence without sacrificing fluency or consistency.
- To validate that proposed automatic metrics correlate with human judgments and can serve as reliable indicators of narrative quality.
Proposed method
- Propose a set of automatic metrics—coherence (C), control (exact and subset match), and consistency (V)—to quantify entity usage in generated stories.
- Augment a pre-trained language model with a dynamic entity memory that stores and updates entity representations using cross-attention mechanisms at each transformer layer.
- Introduce a gating mechanism to combine self-attention over context with cross-attention over the entity memory, enabling multi-entity conditioning.
- Regularize cross-attention scores during training using gold-standard token-level entity annotations to guide memory reads and writes.
- Train the entire model end-to-end with an auxiliary entity-related loss to improve entity memory utilization and coherence.
- Evaluate on two narrative datasets—WritingPrompts and WikiPlots—under varying context window sizes to simulate long-form generation.
Experimental results
Research questions
- RQ1How do current pre-trained language models perform in maintaining entity coherence and consistency in long-form narrative generation?
- RQ2To what extent do automatic metrics for entity coherence and consistency correlate with human judgments?
- RQ3Can a dynamic entity memory improve entity coherence and preserve entity-related information under limited context window conditions?
- RQ4How does the proposed memory-augmented model compare to vanilla language models in terms of human-rated quality and entity usage?
- RQ5What is the relative impact of coherence, control, and consistency on human preference for generated narratives?
Key findings
- The dynamic entity memory model (S-MnemeLM) significantly improves entity coherence compared to the vanilla language model, as measured by both automatic metrics and human evaluation.
- Human judges rated the memory-augmented model as significantly more coherent and preferred it more often, while the vanilla model was frequently selected as worst.
- The coherence metric (C) showed a moderate Pearson correlation (rₐ = 0.32) with human judgments, indicating it is a reliable automatic indicator of narrative quality.
- The model preserves significantly more entity-related information under limited context windows, reducing loss of entity-related information in longer narratives.
- Consistency was the hardest aspect to judge, with the lowest correlation (rₐ = 0.08) between automatic metrics and human ratings, suggesting it remains a challenging target for evaluation.
- Despite low correlation, human-written stories show much higher consistency than generated ones, indicating a gap to close in future work.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.