Machine-Assisted Script Curation

Manuel R. Ciosici, Joseph Cummings, Mitchell DeHaven, Alex Hedges, Yash Kankanampati, Dong-Ho Lee, Ralph M. Weischedel, Marjorie Freedman

Abstract

Machine-Assisted Script Curation (MASC) is a collaborative "human-in-the-loop" system designed to help users author complex event scripts—structured sequences of sub-events like "buying a car" or "planning an evacuation." By leveraging NLP models like GPT-2 and Sentence-RoBERTa, MASC suggests missing steps, maps events to formal ontologies, and links entities to Wikidata, bridging the gap between tedious manual curation and data-driven methods that often miss "common sense" details.

Introduction

In AI, scripts represent procedural knowledge—the "how-to" of the world. Traditionally, these are acquired through automatic discovery or manual curation. Automatic discovery often fails because people rarely document the obvious (Gricean maxims), leaving gaps in machine knowledge. Manual curation, while more precise, is slow and requires non-experts to navigate rigid machine-readable ontologies. MASC addresses these challenges by creating a collaborative environment where a machine acts as a "co-author," helping a human curator build comprehensive and machine-interpretable scripts.

The MASC interface for slotting and ordering events, featuring a visual graph representation of the script structure.

Methods

MASC automates the most labor-intensive parts of scriptwriting through three primary NLP-driven features:

  • Event Type Classification: MASC uses Sentence-RoBERTa to calculate similarity between user-defined steps and 41 event types in a predefined ontology, suggesting the top three matches to the user.
  • Entity Linking via KGTK: To enhance downstream utility, MASC links arguments (e.g., "buyer") to Wikidata. It utilizes the Kypher Graph ToolKit (KGTK) for candidate search and Sentence-RoBERTa for conceptual reranking.
  • Event Recommendations: A zero-shot GPT-2 model suggests missing steps by processing the script's title, description, and existing steps.
  • Mixed-Initiative Mode: This interactive mode allows users and GPT-2 to take turns, with the machine suggesting "next" steps that the user can accept or edit.

Evaluation and Results

The system was evaluated using five case-study scripts: Evacuation (EVAC), Ordering Food (FOOD), Finding a Job (JOB), Medical Treatment (MED), and Corporate Mergers (MERGER).

Evaluation results across five diverse script domains, including event counts, accuracy, and curation time.

Key results include:

  • Accuracy: Top-1 accuracy for event typing was ~24%, jumping to 48% for top-3.
  • Wikidata Integration: Curators successfully linked 67% of unique reference variables.
  • GPT-2 Utility: In mixed-initiative mode, curators accepted machine-suggested steps 48% of the time.
  • Efficiency: Automated generation was rapid, taking less than 3 seconds per step.

Discussion and Insights

MASC revealed that even experienced curators omit "obvious" steps, particularly in familiar domains like ordering food. GPT-2 proved effective at identifying these omissions, with 23% of suggestions accepted specifically for adding necessary detail. By mapping free-form text to a structured ontology, MASC creates media-independent scripts suitable for cross-modal applications.

Limitations and Future Work

Current limitations include a small evaluation scale and a project-specific ontology of 41 types. Future work will focus on expanding to general-purpose ontologies, refining entity linking recall, and auditing for inherent model biases in GPT-2 and Wikidata.

Summary updated

BibTeX
@inproceedings{ciosici2021machine,
  author = {Manuel R. Ciosici and Joseph Cummings and Mitchell DeHaven and Alex Hedges and Yash Kankanampati and Dong-Ho Lee and Ralph M. Weischedel and Marjorie Freedman},
  title = {{Machine-Assisted Script Curation}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2021},
  doi = {10.18653/v1/2021.naacl-demos.2},
}
Figure