Abstract
Procedural text understanding involves tracking the state and location of entities throughout a described process. We introduce the REAL (Reasoning over Entity-Action-Location) framework, which leverages a dynamic graph structure to model internal semantic relationships. By utilizing a Graph Attention Network (GAT) to aggregate information across entity, action, and location nodes, REAL effectively performs spatio-temporal reasoning. Our approach achieves state-of-the-art results on the ProPara and Recipes benchmarks among models that do not use external knowledge.
Introduction
Understanding procedural text—such as scientific processes or recipes—is a fundamental challenge in Natural Language Processing. It requires a model to track the "life cycle" of entities: when they are created, where they move, and when they are destroyed. This task is difficult because it necessitates complex spatio-temporal reasoning, often over entities that are not explicitly mentioned in every sentence.
Previous methods frequently relied on hard-coded constraints or large external knowledge bases. However, these approaches often overlook the rich semantic information inherent in the text itself. The REAL framework addresses this by modeling the local connections between entities, the actions they undergo, and the locations involved.
The REAL Framework
The REAL framework consists of three primary stages: graph construction, representation learning, and prediction.
Graph Construction
The model first identifies three types of nodes: Actions (verbs), Entity Mentions, and Location Mentions. Relationships are established through:
- Intra-sentence edges: Connecting verbs to their respective subjects and objects using Semantic Role Labeling (SRL).
- Inter-sentence edges: Linking mentions of the same entity across different sentences to ensure temporal continuity.
Representation Learning
Text is encoded using BERT and a BiLSTM to generate initial embeddings. These are then processed by a two-layer Graph Attention Network (GAT). The GAT allows nodes to update their representations by aggregating information from connected neighbors. For example, an entity node can refine its state representation based on the action nodes it is linked to.
Prediction Module
The final stage involves two specialized components:
- State Tracking: A Conditional Random Field (CRF) ensures that the predicted sequence of entity states is logically consistent (e.g., an entity cannot be destroyed before it exists).
- Location Prediction: A softmax layer identifies the most probable location for an entity from the candidates extracted from the text.
Evaluation and Results
REAL was evaluated on two major benchmarks: ProPara (scientific processes) and Recipes (cooking procedures).
REAL established a new state-of-the-art for models without external knowledge. On ProPara, it achieved a 70.5 F1 score, a 5.3% improvement over the previous best model, DYNAPRO. On the Recipes dataset, it saw a 3.2% F1 improvement. Ablation studies confirmed the importance of the graph component, as its removal led to a nearly 10% drop in F1 score on ProPara, demonstrating that the graph-based reasoning is the primary driver of performance.
Key Insights
- Semantic Glue: Linking entities to actions via SRL prevents the model from being confused by irrelevant verbs in complex sentences.
- Implicit Tracking: The graph structure allows for spatial updates to propagate. If a container moves, the entities linked to it in the graph are also updated, even if not explicitly mentioned.
- Efficiency of Local Context: REAL demonstrates that sophisticated reasoning over provided text can be as effective as using massive external knowledge bases.
Limitations and Future Work
Despite its success, REAL faces challenges with entity ambiguity and still lacks some "common sense" knowledge. Future research will focus on improving entity disambiguation and integrating nuanced common-sense reasoning to bridge the gap between textual descriptions and real-world logic.
Summary updated