Everything Happens for a Reason: Discovering the Purpose of Actions in Procedural Text

Bhavana Dalvi Mishra, Niket Tandon, Antoine Bosselut, Wen-tau Yih, Peter Clark

TL;DR

This paper introduces XPAD, a model that goes beyond predicting what happens in procedural text to understanding why actions occur in a specific order. By jointly learning state changes and action dependencies, XPAD significantly improves the explanation of these relationships and maintains state-of-the-art performance on predicting action outcomes.

What Problem Does This Paper Address?

Procedural texts, like recipes or scientific explanations, describe sequences of actions. While previous AI models could predict the outcomes of these actions (e.g., "water flows to the leaf"), they struggled to explain why a particular order is necessary. This "why" is crucial for deeper understanding, enabling capabilities like explaining event failures, identifying alternative sequences, and answering "what if" questions. The challenge lies in inferring the unstated preconditions and effects that link actions, requiring more than just tracking entity states.

Methods

The core of XPAD is a novel approach that extends existing process comprehension frameworks. Instead of just predicting the state changes of entities after an action, XPAD also predicts a "dependency explanation graph." This graph explicitly models which actions are prerequisites for others, explaining the "why" through the specific state changes that enable subsequent steps.

XPAD uses an encoder-decoder architecture with beam search. The encoder processes the procedural text and entity information to predict potential state changes. The decoder then uses a sophisticated scoring function during beam search to favor predictions that:

  1. Promote Connectivity: Prioritize state changes that create identifiable "purpose" by enabling subsequent actions (modeled by the gedge score).
  2. Align with Background Knowledge: Favor dependency links that are more plausible based on external knowledge (modeled by the gkb score).

This joint learning approach, where state change predictions are biased by the need to form a coherent and plausible dependency graph, is the key innovation.

Datasets

The paper uses and extends the ProPara dataset, a benchmark for procedural text comprehension. They introduce a new task for ProPara: explaining actions by predicting their dependencies, and provide an accompanying dataset of these dependency graphs.

Key Insights and Ideas

  • Purposefulness Matters: AI models can be steered towards more accurate and meaningful predictions by explicitly rewarding them for creating "purposeful" action sequences, i.e., sequences where actions enable subsequent ones.
  • Joint Learning is Key: Predicting state changes and dependency graphs simultaneously, rather than sequentially, leads to better overall performance. Biasing state change predictions towards those that facilitate dependency explanations is more effective than simply predicting state changes in isolation.
  • Background Knowledge is Crucial: Incorporating external knowledge about action dependencies helps the model infer links that might not be obvious from the text alone, especially in cases with limited training data.
  • Heuristics for Graph Generation: While manual annotation is ideal, a heuristic algorithm can automatically generate dependency graphs from state change predictions, providing a useful starting point for dataset creation and model evaluation.

Key Results

  • Dependency Task: XPAD significantly outperforms state-of-the-art baselines on the new dependency explanation task, achieving an F1 score of 43.0, which is more than 3 points higher than the next best models (ProGlobal and ProStruct). This improvement is largely attributed to the novel dependency layer.
  • State Change Prediction: XPAD maintains state-of-the-art performance on the original state-change prediction task, even slightly improving upon the best published results with an F1 score of 55.2. This demonstrates that encouraging purposeful action sequences does not harm, and can even slightly improve, the accuracy of predicting action outcomes.
  • Ablation Studies: Removing the dependency graph scores (gedge and gkb) leads to a substantial drop in performance on the dependency task, highlighting the importance of these components.

Limitations and Future Work

  • Heuristic Graph Errors: The automatic dependency graph generation heuristic has limitations, particularly with coreference resolution, unstated linkages, ellipsis, and bridging anaphora. These errors require manual correction for gold datasets.
  • Stative Sentences: Sentences describing states rather than actions (e.g., "Nitrogen exists naturally in the atmosphere") are difficult to assign purpose to, and thus their dependencies are inherently hard to recover with the current framework.
  • Hallucinated Predictions: The bias towards creating dependencies can sometimes lead XPAD to "hallucinate" state changes with weak evidence, simply to give a sentence a purpose.
  • Future Directions: The authors suggest extending XPAD with more state change operators, handling longer paragraphs, incorporating non-chronological event orderings, and potentially learning dependency links directly from data rather than deriving them heuristically. They also note that their approach could be applied to other recent models.

Summary updated

Abstract

Our goal is to better comprehend procedural text, e.g., a paragraph about photosynthesis, by not only predicting what happens, but why some actions need to happen before others. Our approach builds on a prior process comprehension framework for predicting actions' effects, to also identify subsequent steps that those effects enable. We present our new model (XPAD) that biases effect predictions towards those that (1) explain more of the actions in the paragraph and (2) are more plausible with respect to background knowledge. We also extend an existing benchmark dataset for procedural text comprehension, ProPara, by adding the new task of explaining actions by predicting their dependencies. We find that XPAD significantly outperforms prior systems on this task, while maintaining the performance on the original task in ProPara. The dataset is available at http://data.allenai.org/propara
BibTeX
@inproceedings{mishra2019everything,
  author = {Bhavana Dalvi Mishra and Niket Tandon and Antoine Bosselut and Wen-tau Yih and Peter Clark},
  title = {{Everything Happens for a Reason: Discovering the Purpose of Actions in Procedural Text}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2019},
  url = {https://openreview.net/forum?id=sKY2UM2XRiu},
}
Figure