Codified Foreshadowing-Payoff Text Generation
Longfei Yun, Kun Zhou, Yupeng Hou, Letian Peng, Jingbo Shang
TL;DR
CFPG reframes narrative coherence as explicit causal realization by encoding foreshadow–payoff relations as Foreshadow–Trigger–Payoff predicates and tracking them in a dynamic foreshadow pool $C_t$. The system uses a codified Select–Generate–Update loop to gate payoff realization, injecting explicit payoff constraints during generation and grounding progress via state updates. Built on BookSum, the authors automatically mine a large-scale Foreshadow–Payoff dataset that anchors setups and resolutions to sentence indices. Experiments show substantial improvements in payoff activation accuracy and narrative alignment over prompt-based baselines, and analyses quantify gains in causal saliency and online sensing, supporting the claim that explicit narrative mechanics enhance long-range coherence. These findings suggest a practical path toward moving LLM-based storytelling from fluent surface-level text toward true narrative competence.
Abstract
Foreshadowing and payoff are ubiquitous narrative devices through which authors introduce commitments early in a story and resolve them through concrete, observable outcomes. However, despite advances in story generation, large language models (LLMs) frequently fail to bridge these long-range narrative dependencies, often leaving "Chekhov's guns" unfired even when the necessary context is present. Existing evaluations largely overlook this structural failure, focusing on surface-level coherence rather than the logical fulfillment of narrative setups. In this paper, we introduce Codified Foreshadowing-Payoff Generation (CFPG), a novel framework that reframes narrative quality through the lens of payoff realization. Recognizing that LLMs struggle to intuitively grasp the "triggering mechanism" of a foreshadowed event, CFPG transforms narrative continuity into a set of executable causal predicates. By mining and encoding Foreshadow-Trigger-Payoff triples from the BookSum corpus, we provide structured supervision that ensures foreshadowed commitments are not only mentioned but also temporally and logically fulfilled. Experiments demonstrate that CFPG significantly outperforms standard prompting baselines in payoff accuracy and narrative alignment. Our findings suggest that explicitly codifying narrative mechanics is essential for moving LLMs from surface-level fluency to genuine narrative competence.
