VScript: Controllable Script Generation with Visual Presentation

Ziwei Ji, Yan Xu, I-Tsun Cheng, Samuel Cahyawijaya, Rita Frieske, Etsuko Ishii, Min Zeng, Andrea Madotto, Pascale Fung

Introduction

While large language models have demonstrated remarkable proficiency in generating creative text such as poetry and short stories, professional scriptwriting remains a significant challenge for AI. A functional movie script is more than just a narrative; it requires a rigid structure consisting of chronological scene headers, character dialogues, and descriptive action lines. Furthermore, scriptwriters often need to maintain strict genre consistency and benefit from visual aids to gauge pacing and atmosphere.

VScript is a hierarchical AI pipeline designed to address these complexities. By mimicking the professional writing process—moving from high-level planning to granular detail—VScript generates genre-controlled movie scripts and pairs them with relevant video clips from a curated database to provide a "visual storyboard."

The Hierarchical Generation Process

VScript moves away from "end-to-end" generation, which often suffers from logical drift and structural inconsistency. Instead, it employs a multi-stage framework:

1. Genre-Specific Plot Generation

To ensure the story adheres to a user-defined genre (Crime, Sci-Fi, War, or Romance), VScript utilizes a Conditional Class Language Model (CC-LM) based on GPT-2 Large. Users provide a starting phrase and a target genre. To prevent the model from drifting into generic tropes, the system employs a Plot Rescoring technique. A separate multi-class classifier ranks multiple plot candidates, and the system selects the one with the highest probability of matching the requested genre.

2. Inverse Dialogue Summarization

One of the most innovative aspects of VScript is its approach to dialogue. Traditionally, models are trained to summarize long dialogues into single sentences. VScript reverses this logic: it treats a single plot sentence as a "summary" and trains the model to expand that summary into a full, multi-turn dialogue. This ensures that every line of dialogue serves a narrative purpose and moves the plot forward.

3. Scene Description Generation

Once the dialogue is established, the system generates the surrounding scene descriptions—the "stage directions" that describe character movements and environmental details. This model is conditioned on the previously generated dialogue to ensure the action and the speech are contextually aligned.

Audio-Visual Presentation via Video Retrieval

Generating high-quality video from scratch is computationally expensive and often lacks the realism required for a professional storyboard. VScript bypasses this by using a Video Retrieval approach.

The system converts generated plot sentences into semantic embeddings using DistilRoBERTa. It then searches a massive, curated database of video clips to find the closest semantic match. This database was constructed from YouTube content, including news, documentaries, and movie recaps, and was pre-processed using RetinaFace (to filter out talking heads) and DenseNet-161 (to categorize scene locations). This provides writers with a rough visual draft of the scene's atmosphere and pacing in real-time.

Evaluation and Results

The researchers compared VScript against several baselines, including standard GPT-2 and DialoGPT, using both automated metrics and human evaluation.

  • Genre Control: VScript achieved a 95.5% genre accuracy rate, significantly outperforming the standard CC-LM, which only reached 63.5%.
  • Human Preference: In A/B testing, human judges preferred VScript’s scripts over end-to-end baselines 54% of the time. In the specific category of "Genre Control," VScript achieved a dominant 95.33% win rate.
  • Linguistic Diversity: VScript produced dialogues with higher "Distinct-n" scores, indicating that the generated language was more diverse and less repetitive than that of the baseline models.

Limitations and Future Directions

While VScript represents a significant step forward in AI-assisted scriptwriting, the authors note that the visual component is currently limited by the scope of the video database. If the database lacks a specific visual (e.g., a niche Sci-Fi concept), the retrieved clip may be generic.

Future work will focus on:

  • Fine-grained Controls: Incorporating specific character personalities and emotional tones into the generation process.
  • Multimodal Matching: Improving text-to-video alignment by incorporating auditory information, such as background music and sound effects.
  • Genre Expansion: Increasing the library of supported genres beyond the initial four categories.

By providing a structured, controllable, and visual-ready output, VScript serves as a powerful collaborative tool for creators to iterate on their cinematic visions.

Summary updated

BibTeX
@inproceedings{ji2022vscript,
  author = {Ziwei Ji and Yan Xu and I-Tsun Cheng and Samuel Cahyawijaya and Rita Frieske and Etsuko Ishii and Min Zeng and Andrea Madotto and Pascale Fung},
  title = {{VScript: Controllable Script Generation with Visual Presentation}},
  booktitle = {AACL/IJCNLP (System Demonstrations)},
  year = {2022},
  doi = {10.18653/v1/2022.aacl-demo.1},
}
Figure