InspireMe: Learning Sequence Models for Stories

Vincent Fortuin, Romann M. Weber, Sasha Schriber, Diana Wotruba, Markus H. Gross

Introduction

Writer’s block often stems from "mental restriction," where a creator becomes tethered to a specific narrative path and struggles to envision alternatives. While modern Natural Language Processing (NLP) has advanced significantly, most generative models operate at the word or sentence level, often failing to maintain long-term narrative coherence. Researchers from Disney Research and ETH Zurich have introduced InspireMe, an AI-driven assistant designed to help writers navigate these creative hurdles by predicting high-level story "beats" rather than just text.

Methodology: Modeling Story Logic

Unlike standard text generators, InspireMe treats story generation as a sequence modeling problem using Long Short-Term Memory (LSTM) networks. The system operates on two levels of abstraction to capture "story logic":

  1. Fine-grained Event Sequences: Events are modeled as triplets of [character, action, object]. Characters are represented via one-hot vectors, while actions and objects utilize 300-dimensional word2vec embeddings.
  2. Coarse-grained Scene Sequences: Scenes are defined by a combination of [location, character set, keyword], with keywords extracted using the TextRank algorithm.

To balance creativity and coherence, the model employs a softmax temperature ($\tau$) parameter. A low $ au$ produces safe, probable continuations, while a high $ au$ encourages more diverse and adventurous—though occasionally nonsensical—suggestions.

Story Visualization

Beyond sequence prediction, the system includes a Story Visualization component to help writers analyze their work. By applying sentiment analysis via the AFINN lexicon, the tool generates character interaction graphs. In these graphs, nodes represent characters and edges represent interactions, with sizes scaled by frequency and colors indicating sentiment (e.g., blue for positive, red for negative).

Character interaction graph for the film *Frozen*, illustrating sentiment-coded relationships and character personas.

As seen in the visualization of Frozen, the system effectively distinguishes between different character personas, such as "Elsa" and "Queen Elsa," mapping their distinct sentiment profiles and interaction networks.

Evaluation and Results

The models were trained on a vast corpus including over 1,000 movie scripts and 8,000 novels. To evaluate the system, the researchers conducted a user study with 22 participants to rate the plausibility of generated suggestions against real movie scenes ("ground truth").

Average user ratings for different suggestion types, showing that T = 0.5 performs comparably to real movie scripts.

The results indicated a "sweet spot" for inspiration at $T = 0.5$, where AI-generated suggestions were rated as highly as actual scenes from professional scripts. Interestingly, even real movie scenes were liked less than 50% of the time, highlighting the inherent difficulty of providing universally satisfying creative inspiration.

The visualization tool also proved highly effective, with users achieving a 94.3% success rate in identifying prominent characters and a 95.5% success rate in interpreting relationship sentiments.

Conclusion and Future Work

InspireMe demonstrates that modeling high-level narrative features—who, where, and what—is a viable path toward assisting human creativity. While the current model is limited by a fixed character count and a static sentiment lexicon, future iterations could leverage more complex architectures like Variational Autoencoders (VAEs) or Generative Adversarial Networks (GANs) to capture the non-linear nuances of storytelling.

Summary updated

BibTeX
@inproceedings{fortuin2018inspireme,
  author = {Vincent Fortuin and Romann M. Weber and Sasha Schriber and Diana Wotruba and Markus H. Gross},
  title = {{InspireMe: Learning Sequence Models for Stories}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2018},
  doi = {10.1609/aaai.v32i1.11407},
}
Figure