Abstract
We describe a novel approach to unsupervised learning of the events that make up a script, along with constraints on their temporal ordering. We collect natural-language descriptions of script-specific event sequences from volunteers over the Internet. Then we compute a graph representation of the script's temporal structure using a multiple sequence alignment algorithm. The evaluation of our system shows that we outperform two informed baselines.
Introduction: The Bottleneck of Implicit Knowledge
In Natural Language Processing (NLP), a "script" refers to a standardized sequence of events for a stereotypical activity, such as dining at a restaurant or taking a bus. Humans possess vast amounts of this implicit knowledge, allowing us to fill in gaps in narratives. For instance, if a story mentions a character "paying the bill" at a restaurant, we instinctively know they previously ordered food.
The primary challenge in AI is the "bottleneck of implicit knowledge." Because these steps are obvious to humans, they are rarely explicitly documented in traditional text corpora like books or news. This makes it difficult for machines to learn scripts through standard unsupervised mining. Manual annotation is unscalable, and previous automated attempts often struggled with the noise and varying granularity of human descriptions.
Methodology: Crowdsourcing and Sequence Alignment
To overcome the data bottleneck, the authors proposed a two-step pipeline that leverages the "wisdom of the crowd" and bioinformatics algorithms.
1. Data Acquisition via Crowdsourcing
Instead of mining existing text, the researchers used Amazon Mechanical Turk to collect "Event Sequence Descriptions" (ESDs). Non-experts were asked to provide bulleted lists of steps for specific scenarios. This approach captures the "boring" details that are usually omitted in prose.
2. Multiple Sequence Alignment (MSA)
The system processes these messy, varied descriptions using Multiple Sequence Alignment (MSA), a technique borrowed from bioinformatics (originally used for DNA/protein sequences). MSA identifies a "consensus" sequence across multiple inputs.
- Semantic Similarity: To align phrases like "pay the bill" and "give money to cashier," the system uses a WordNet-based heuristic to evaluate the similarity of predicates and arguments.
- Temporal Script Graphs (TSGs): The final output is a directed graph where nodes represent clusters of paraphrased events and edges represent temporal "happens-before" relationships.
A key insight of this method is using sequential structure as context. If two phrases are semantically similar but occur at different stages of the script (e.g., "walking to the counter" to order vs. "walking to the table" to eat), the MSA algorithm can distinguish them as distinct events based on their relative positions.
Evaluation and Key Results
The system was tested on a dataset of 493 ESDs across 22 scenarios, including the OMICS corpus for cross-domain validation. It was compared against two baselines: a standard clustering approach and a Levenshtein-distance (edit distance) baseline.
- Paraphrase Identification: The system significantly outperformed baselines, achieving an average F-score of 0.73 (vs. 0.56 for clustering), nearing the human-performance upper bound of 0.82.
- Temporal Ordering: The MSA-based approach proved superior in capturing "happens-before" relations, effectively reconstructing the logic of the timelines.
- Generalization: The model performed robustly on the OMICS data without scenario-specific tuning, demonstrating its broad applicability.
Discussion and Future Directions
While successful, the current model primarily assumes a linear flow. It faces challenges with scripts involving high variation or non-sequential events (e.g., in "making scrambled eggs," the order of getting a pan vs. a bowl may vary). Additionally, varying levels of granularity in descriptions—from high-level summaries to minute-by-minute breakdowns—can introduce noise.
Future work aims to incorporate more complex graph structures to represent optional events, branching paths, and specific participants. The researchers also plan to scale data collection through gamification to capture an even wider range of human common sense.
Summary updated