Introduction
In artificial intelligence, "scripts" serve as structured representations of common-sense knowledge, detailing the prototypical sequence of events expected in everyday scenarios. Traditionally, these scripts have been modeled as linear chains. However, real-world activities often exhibit significant flexibility; while some tasks have strict dependencies (e.g., mixing ingredients before baking), others can occur in parallel (e.g., preheating an oven while gathering ingredients). This paper introduces proScript, a large-scale dataset designed to move beyond rigid linear sequences toward more realistic, partially ordered representations using Directed Acyclic Graphs (DAGs).
The proScript Dataset
The authors developed the proScript dataset to address the limitations of previous, smaller, and more rigid datasets. It contains 6,414 partially ordered scripts, encompassing over 311,000 event pairs. Scenarios were sourced from diverse repositories such as DeScript, VirtualHome, and ROCStories, covering a wide range of activities from "signing into email" to "opening a small business."
Data collection was conducted via Amazon Mechanical Turk. Workers were tasked with describing 5–7 essential steps for a given scenario and using a flowchart tool to define the dependencies between these steps. Notably, the interface also captured metadata such as expected durations for each step, providing a rich foundation for future temporal reasoning research.
Modeling Partial Order with Language Models
The researchers framed script generation as a sequence-to-sequence problem, leveraging the DOT language—a plain-text graph description format—to represent DAG structures. By flattening these graphs into text strings (e.g., Step0 -> Step1), they enabled standard transformer models to learn structural dependencies alongside natural language.
Two primary tasks were evaluated:
- Edge Prediction: Given a scenario and unordered events, the model predicts temporal edges to form a valid DAG.
- Script Generation: Given only a scenario, the model generates both event descriptions and the graph structure simultaneously.
The core experiments involved fine-tuning T5 (Text-to-Text Transfer Transformer) models. The shift to DAGs allows the model to "architect" a flow rather than just listing steps, acknowledging that common sense includes knowing when order is optional.
Results and Analysis
The T5-11B model emerged as the top performer. In the Edge Prediction task, it achieved an F1 score of 75.7, significantly outperforming pairwise and random baselines, though it still falls short of the human F1 score of 89.3. For Script Generation, performance was measured using Graph Edit Distance (GED)—the number of edits needed to transform a model's script into a human-verified one. The best model achieved a GED of 4.97, compared to a human consistency score of 2.98.
Key findings include:
- Complexity Penalty: Models struggled more as graph branching (degree) increased, whereas human performance remained stable regardless of graph complexity.
- Linear Bias in Pre-training: Pre-training on WikiHow’s procedural sequences did not yield significant gains, likely because WikiHow’s strictly linear format conflicts with the goal of learning partial orderings.
Conclusion and Future Work
While proScript represents a significant advancement in modeling common-sense workflows, a gap remains between AI and human-level reasoning. Current models still struggle with "order ambiguity"—identifying which steps are truly independent. Future research directions include expanding the framework to include AND/OR graphs for alternative event paths and incorporating temporal duration data to refine reasoning about real-world constraints.
Summary updated