Generating Animations from Screenplays

Yeyao Zhang, Eleftheria Tsipidi, Sasha Schriber, Mubbasir Kapadia, Markus Gross, Ashutosh Modi

Generating Animations from Screenplays

Screenplays present a unique challenge for text-to-animation systems due to their linguistic complexity and inconsistent formatting. This paper presents a modular NLP pipeline that transforms raw script data into 3D pre-visualizations. The core innovation is a recursive text simplification module that decomposes complex sentences into discrete, animatable actions. User studies indicate a 68% approval rating for the resulting animations, demonstrating the system's potential as a pre-visualization tool for writers and directors.

The Challenge of Script Complexity

While text-to-animation tools have advanced, they often struggle with the "messy" reality of professional screenplays. Real-world scripts are not composed of simple "toy" sentences; they feature nested clauses, simultaneous actions, and varied formatting. For instance, a sentence like "While John runs toward the car, he fumbles for his keys and looks over his shoulder" contains multiple events that must be synchronized. The authors address two primary hurdles: parsing fragility due to inconsistent script formats and syntactic complexity that standard Information Extraction (IE) tools cannot reliably handle.

System Architecture

The proposed system follows a three-stage modular architecture designed for robustness and clarity, moving from raw text to structured animation data.

The modular NLP pipeline architecture, showing the flow from input screenplay through parsing and simplification to the final output animation.
  1. Script Parsing Module: This stage handles the initial ingestion of scripts. It uses a Finite State Machine (FSM) for well-formatted scripts and an SVM-based classifier for less structured ones. NeuralCoref is integrated to resolve coreferences (e.g., mapping "he" back to "John").
  2. NLP Module: This is the system's core. It first simplifies text by recursively applying linguistic transformation rules to break complex sentences into simple "subject-verb-object" units. These units are then mapped into Action Representation Fields (ARFs) using Semantic Role Labeling (SRL).
  3. Animation Generation Module: The ARFs serve as structured input for the CARDINAL system, which utilizes the Unreal Engine to trigger specific 3D animations and place assets.

Recursive Text Simplification

The key to handling complexity lies in "information-preserving decomposition." Rather than summarizing, the system breaks one complex event into a sequence of animatable sub-events. This is achieved through a set of targeted linguistic rules.

A summary of the syntactic structures and the specific procedures used to identify and transform them during the text simplification process.

By applying these rules recursively using a queue-based algorithm, the system can untangle deeply nested sentences. To bridge the gap between natural language and a fixed animation library, Word2Vec embeddings are used to map diverse verbs to the closest available pre-baked animation (e.g., mapping "squint" to "look").

Evaluation and Results

The system was evaluated using the ScreenPy corpus and a manually annotated "gold standard" set of 500 description blocks.

  • Syntactic Simplification: The pipeline outperformed baselines like YATS, achieving a BLEU score of 67.68 and a SARI score of 50.65.
  • Information Extraction: The system was highly accurate in identifying actions (70.46 BLEU) and manners (84.84 BLEU), though prop identification was lower (28.98 BLEU) due to systematic mapping errors in the SRL.
  • User Study: A study with 22 participants revealed that 68.18% found the animations to be reasonable visualizations, and 75.90% agreed the system avoided "hallucinating" extra information.

Limitations and Future Work

While the recursive simplification approach proves highly effective for pre-visualization, several limitations remain. The system currently processes sentences in isolation, lacking the discourse awareness needed to track objects (like a gun) across multiple sentences. Furthermore, the animation library is relatively small (52 base actions), and the system lacks fine-grained control over facial expressions. Future work will focus on more sophisticated temporal reasoning to handle overlapping actions and expanding the library of nuanced movements.

Summary updated

BibTeX
@inproceedings{zhang2019generating,
  author = {Yeyao Zhang and Eleftheria Tsipidi and Sasha Schriber and Mubbasir Kapadia and Markus Gross and Ashutosh Modi},
  title = {{Generating Animations from Screenplays}},
  booktitle = {SEM @ NAACL},
  year = {2019},
  doi = {10.18653/v1/s19-1032},
}
Figure