Abstract
We propose a method for controlled narrative/story generation where we are able to guide the model to produce coherent narratives with user-specified target endings by interpolation: for example, we are told that Jim went hiking and at the end Jim needed to be rescued, and we want the model to incrementally generate steps along the way. The core of our method is an interpolation model based on GPT-2 which conditions on a previous sentence and a next sentence in a narrative and fills in the gap. Additionally, a reranker helps control for coherence of the generated text. With human evaluation, we show that ending-guided generation results in narratives which are coherent, faithful to the given ending guide, and require less manual effort on the part of the human guide writer than past approaches.
Introduction
Generating long-form, coherent stories remains a significant challenge in Natural Language Processing. While large language models like GPT-2 excel at local fluency—ensuring the next word or sentence sounds natural—they often struggle with global coherence. This phenomenon, often called "on-topic wandering," results in stories that stay within a general subject area but lack a logical plot progression or a satisfying, pre-defined conclusion.
Traditional approaches to steer story generation often rely on "storylines"—sequences of keywords (e.g., played-toy-disappeared-lost-new) that the model must incorporate. However, these methods are brittle. If a user provides a keyword that doesn't perfectly align with the model's internal logic, the narrative often collapses into incoherence. Furthermore, creating these keyword lists is labor-intensive for humans. The researchers from UT Austin propose a shift in paradigm: instead of providing a play-by-play, why not just provide the goal?
The INTERPOL Framework
The authors introduce Narrative Interpolation (INTERPOL), a framework designed for "ending-guided" story generation. Rather than predicting a story linearly from start to finish (extrapolation), INTERPOL takes a beginning and a target ending and iteratively "fills in the blanks" (interpolates) to create a coherent bridge.
Architecture and Process
The framework consists of two primary components: a generator and a coherence ranker.
- The Generator (GPT-2): The model is fine-tuned to predict a middle sentence given a "past" sentence and a "future" sentence. A key technical discovery was the "Future-First" prompt: concatenating the future context before the past context (
[Future ; Past]) significantly improved performance. This ordering likely allows the transformer's attention mechanism to anchor the generation to the required goal immediately. - The Coherence Ranker (RoBERTa): To combat the "hallucinations" common in generative models, the authors employed a RoBERTa-based ranker. This model was trained to distinguish between genuine story segments and corrupted ones (e.g., those with shuffled sentences or irrelevant insertions). It acts as a filter, selecting the most logically sound candidate from a pool of generated options.
The generation process follows a bisectional strategy. For a five-sentence story, the model first uses sentences 1 and 5 to generate sentence 3. Subsequently, it uses sentences 1 and 3 to generate sentence 2, and sentences 3 and 5 to generate sentence 4. This "pinning" of both ends prevents the model from drifting off-course.
Experimental Setup and Datasets
The study utilized the ROCStories dataset, which contains approximately 98,000 human-written five-sentence stories. These stories are ideal for training because they feature strong causal and temporal links. The researchers compared INTERPOL against Plan-and-Write (PAW), a state-of-the-art model that relies on keyword-based storylines.
Results and Insights
The evaluation focused on three main metrics: Coherence, Preference, and Faithfulness (how well the model adhered to the target ending).
As shown in Figure 1, storyline-guided models can easily lose the plot if the keywords are ambiguous. In "Storyline 2," the model interprets "disappeared" as the mother disappearing rather than the toy, leading to a nonsensical ending about buying a new house. In contrast, INTERPOL maintains the theme of the lost toy to reach the specified ending.
Key Findings:
- Human Preference: In head-to-head evaluations, humans preferred INTERPOL-generated stories over PAW stories by a significant margin (0.507 vs 0.156).
- Coherence: INTERPOL was rated as significantly more logically consistent (0.444 vs 0.178 for PAW).
- Faithfulness: INTERPOL excelled at reaching the user-provided ending, achieving a faithfulness score of 0.744, whereas PAW often ignored the intended conclusion (0.333).
- The Necessity of Ranking: The Coherence Ranker proved vital. Without it, the model's preference score plummeted, highlighting that filtering for logic is as crucial as the generation itself.
Conclusion and Future Directions
INTERPOL demonstrates that "endings as anchors" provide a more powerful and user-friendly constraint than keyword sequences. By framing story generation as an interpolation task rather than an extrapolation task, the model achieves higher logical consistency and goal-orientation.
While INTERPOL produces better stories with less human effort, challenges remain. Models still occasionally struggle with deep "world logic" or commonsense reasoning that humans find intuitive. Future work may explore "flexible interpolation," allowing the model to determine the optimal number of intermediate steps, and scaling these strategies to larger models like GPT-4 to handle more complex narrative structures.
Summary updated