TL;DR
This paper introduces CAST, a novel framework that enhances automated story generation by incorporating commonsense reasoning to improve narrative coherence and character tracking. CAST significantly outperforms existing models in generating more coherent, on-topic, enjoyable, and fluent stories, even in multi-character scenarios.
What Problem Does This Paper Address?
Automated story generation, while advanced with Transformer-based models, often struggles with plot incoherence over time and a lack of basic commonsense reasoning. Existing models tend to produce repetitive or generic continuations, forget characters, or arbitrarily introduce new ones, especially as stories lengthen. This disconnect arises because language models primarily learn token distributions, failing to capture the inferential processes humans use to understand narratives, such as tracking causal relationships and character intentions. The paper aims to bridge this gap by making story generation more aligned with human comprehension.
Methods
The core of the proposed method is the Commonsense-inference Augmented neural StoryTelling (CAST) framework. CAST works by:
- Fine-tuning a Language Model: A pre-trained language model (GPT-2 in this case) is fine-tuned on story corpora. For multi-character stories, a special tag is used to cue the model about which character should be the subject of the next sentence, promoting turn-taking.
- Commonsense Inference: For each generated sentence (or candidate sentence), commonsense inferences are extracted using a pre-trained commonsense model (COMET20). These inferences capture attributes like character wants, intentions, and reactions.
- Matching Inferences: CAST then matches the commonsense inferences from the previous sentence with those of a candidate continuation. This matching is based on semantic similarity of relation pairs identified as crucial for coherence (e.g., a character's desire in the previous sentence should align with their intention in the next).
- Scaffolding Generation: Only candidate sentences that meet a certain threshold of inference matching are selected. This process acts as a constraint, guiding the language model towards more coherent and logically sound continuations.
The system can handle both single-character and two-character stories, with a mechanism to model inter-character interactions.
Datasets
The authors used three diverse datasets for training and evaluation:
- ROCStories (ROC): A dataset of ~100,000 five-sentence stories with common-sense scenarios.
- Writing Prompts (WP): A large dataset of ~300,000 user-generated stories from Reddit, with an average length of ~59 sentences.
- Fairy Tales (FT): A dataset of ~700 fairy tale stories scraped from Wikipedia summaries, with an average length of ~25 sentences.
Key Insights and Ideas
- Commonsense as a Coherence Bridge: The central idea is that by explicitly modeling and matching commonsense inferences (like character intentions and causal effects), story generation can better mimic human comprehension and thus achieve higher coherence.
- Beyond Token Prediction: The paper argues that simply sampling from a learned token distribution, even from large language models, is insufficient for generating truly coherent narratives. Explicitly enforcing commonsense constraints is crucial.
- Multi-Character Storytelling: CAST extends beyond single-character narratives, demonstrating the ability to model interactions and turn-taking between multiple characters, a significant advancement.
- Human Comprehension as a Guide: The framework is inspired by cognitive psychology research on how humans understand stories by tracking event relationships and character motivations.
Key Results
Human evaluations showed that CAST significantly outperformed baseline models across several metrics:
- Logical Sense & Single Topic: CAST stories were consistently preferred for maintaining a single topic and exhibiting better logical coherence.
- Enjoyability & Fluency: These qualities were also significantly improved, suggesting that coherence directly contributes to a more engaging and readable story.
- Generality: CAST performed well across different datasets (ROC, WP, FT), indicating its robustness and applicability beyond the specific domain it was initially trained on.
- Multi-Character Performance: The system demonstrated strong performance in two-character story generation, outperforming baselines in coherence and topic maintenance.
Limitations and Future Work
- Reliance on COMET: CAST's performance is inherently tied to the inference capabilities of COMET20. Errors or limitations in COMET's commonsense reasoning directly impact CAST.
- Markovian Assumption: The current system primarily chains inferences between adjacent sentences, making a Markovian assumption. Future work could relax this by tracking character states (wants, needs) over longer narrative arcs, addressing the challenge of deciding when these states "expire."
- Dataset Bias: The primary training data (ROCStories) consists of event-centric narratives, which might not fully represent complex or expository text. This could give COMET an advantage.
- Gender Bias: While efforts were made to reduce gender bias, complete elimination is not guaranteed.
Future work could involve integrating more advanced commonsense inference models, exploring more sophisticated methods for tracking character states over time, and adapting CAST to handle more diverse narrative structures.
Summary updated