Abstract
We present a general framework of analyzing existing story corpora to generate controllable and creative new stories. The proposed framework needs little manual annotation to achieve controllable story generation. It creates a new interface for humans to interact with computers to generate personalized stories. We apply the framework to build recurrent neural network (RNN)-based generation models to control story ending valence and storyline. Experiments show that our methods successfully achieve the control and enhance the coherence of stories through introducing storylines. With additional control factors, the generation model gets lower perplexity, and yields more coherent stories that are faithful to the control factors according to human evaluation.
Introduction
While modern neural language models have become adept at generating fluent text, they often lack "steerability." Standard models frequently produce "rambling" narratives that lack a clear arc or logical progression. This paper addresses this gap by introducing an Analyze-to-Generate framework. This approach allows for the extraction of high-level style (e.g., happy vs. sad endings) and low-level content (e.g., plot keywords) from existing data to guide the generation process, making AI-generated stories more faithful to user intent and more coherent.
The Analyze-to-Generate Framework
The proposed framework consists of two primary components: an Analyzer and a Generator.
- The Analyzer: This component automatically labels existing story corpora with control factors. For Ending Valence, a BiLSTM classifier categorizes stories as having a happyEnding, sadEnding, or cannotTell. For Storylines, the RAKE algorithm extracts key "anchor points" from each sentence.
- The Generator: A conditional RNN-based model that utilizes these factors. For valence, it learns embeddings that "nudge" the final sentence toward a specific sentiment. For storylines, a sequence-to-sequence model with attention uses the extracted keywords as a plan to generate the full story.
Experimental Setup
The researchers utilized the ROCStories dataset, comprising approximately 98,000 five-sentence stories. To ground the valence analyzer, 3,980 stories were manually labeled via Amazon Mechanical Turk. This small set of human annotations allowed the self-supervised framework to scale across the much larger unlabeled corpus, ensuring the classifier had a reliable ground truth for training.
Key Results and Insights
The inclusion of control factors significantly improved both automatic metrics and human perception of the stories.
- Automatic Metrics: Storyline control reduced Perplexity (PPL) from 24.63 to 18.36, indicating that the model becomes much more confident and accurate in its word choices when following a structured plan.
- Human Evaluation: As shown in the evaluation results, the controlled models outperformed baselines in both faithfulness (adhering to the requested control) and coherence (logical flow). Notably, the storyline-controlled model achieved a coherence score of 3.74, surpassing both uncontrolled models and human-retrieved examples.
A key insight from the study is that control improves coherence. By requiring the model to hit specific keywords, it is less likely to drift into nonsensical tangents. However, the researchers also noted that "ending valence" is a subtle signal; human agreement on valence was only around 80%, highlighting the subjective nature of narrative emotion and the difficulty of the task for automated systems.
Conclusion and Future Work
The "analyze-to-generate" framework demonstrates that minimal manual annotation can lead to highly steerable story generation. Future work may involve joint training of the analyzer and generator, as well as expanding control factors to include persona, writing style, or more complex structures like "The Hero's Journey." Additionally, addressing the limitations of keyword-based storylines—such as handling out-of-vocabulary concepts—remains an important area for development.
Summary updated