"Kurosawa": A Script Writer's Assistant

Prerak Gandhi, Vishal Pramanik, Pushpak BhattacharyyaarXiv 2023 · OpenReview

Abstract

Storytelling is the lifeline of the entertainment industry -- movies, TV shows, and stand-up comedies, all need stories. A good and gripping script is the lifeline of storytelling and demands creativity and resource investment. Good scriptwriters are rare to find and often work under severe time pressure. Consequently, entertainment media are actively looking for automation. In this paper, we present an AI-based script-writing workbench called KUROSAWA which addresses the tasks of plot generation and script generation. Plot generation aims to generate a coherent and creative plot (600-800 words) given a prompt (15-40 words). Script generation, on the other hand, generates a scene (200-500 words) in a screenplay format from a brief description (15-40 words). Kurosawa needs data to train. We use a 4-act structure of storytelling to annotate the plot dataset manually. We create a dataset of 1000 manually annotated plots and their corresponding prompts/storylines and a gold-standard dataset of 1000 scenes with four main elements -- scene headings, action lines, dialogues, and character names -- tagged individually. We fine-tune GPT-3 with the above datasets to generate plots and scenes. These plots and scenes are first evaluated and then used by the scriptwriters of a large and famous media platform ErosNow. We release the annotated datasets and the models trained on these datasets as a working benchmark for automatic movie plot and script generation.

Introduction

The demand for high-quality narrative content is surging across global streaming platforms, yet the creation of professional screenplays remains a resource-intensive bottleneck. Writing a script requires not only creative flair but also adherence to rigid structural formats. Traditional Large Language Models (LLMs) often struggle with these constraints, frequently losing narrative coherence over long sequences or failing to maintain the specific formatting required for production.

To address these challenges, we introduce Kurosawa, an AI-powered workbench designed to assist scriptwriters. Kurosawa bridges the gap between creative generation and structural rigidity by employing specialized fine-tuning and narrative frameworks.

Methodology

Kurosawa leverages a fine-tuned GPT-3 (Curie) model to perform two core tasks: plot generation and scene generation.

Narrative Framework and Tagging

To ensure narrative coherence, we implemented a 4-act structure (Act 1, Act 2A, Act 2B, and Act 3) for plot generation. This extension of the classic 3-act structure provides more granular control over the story's midpoint, preventing the "sagging middle" common in AI-generated stories. For scene generation, we utilized specific element tagging (e.g., <bsl> for sluglines, <bd> for dialogue) to teach the model the precise "language" of a screenplay.

The Kurosawa workflow: transforming a brief storyline into a detailed plot and final script.

Dataset Construction

We developed two novel, manually annotated datasets to serve as benchmarks:

  1. Plot Dataset: 1,000 plots from Bollywood and Hollywood movies, manually partitioned into the 4-act structure.
  2. Scene Dataset: 1,000 gold-standard scenes from IMSDb, with individual tags for scene headings, action lines, character names, and dialogues.

Results and Evaluation

We experimented with several model configurations, including variations in input length and genre-conditioning.

Quantitative Performance

The model utilizing long inputs with genre metadata (ALG) demonstrated the strongest performance across automatic metrics. As shown in the table below, the ALG configuration achieved the highest BLEU and ROUGE-L scores, indicating better alignment with human-written benchmarks.

Quantitative performance metrics across different model configurations (O, AS, ASG, AL, ALG).

Qualitative Human Evaluation

Professional scriptwriters from ErosNow evaluated the outputs on a 5-point Likert scale. While the model achieved high scores for Fluency (approx. 4.0 for plots and 4.48 for scenes), Coherence and Relevance remain significant hurdles, particularly for longer plots where scores averaged around 2.65. Writers noted that while the build-up is often creative, endings can still feel abrupt or illogical.

Conclusion

Kurosawa represents a significant step toward automated scriptwriting assistance. By combining LLMs with structural "guardrails" like the 4-act framework and element tagging, we provide a tool that enhances writer productivity. Future research will focus on mitigating hallucinations, addressing dataset biases (such as the 1990s theme bias found in Bollywood data), and exploring multilingual generation for regional cinema.

Summary updated

BibTeX
@misc{gandhi2023kurosawa,
  author = {Prerak Gandhi and Vishal Pramanik and Pushpak Bhattacharyya},
  title = {{"Kurosawa": A Script Writer's Assistant}},
  year = {2023},
  eprint = {2308.03122},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.03122},
}
Figure