Chop and Change: Anaphora Resolution in Instructional Cooking Videos

Cennet Oguz, Ivana Kruijff-Korbayová, Emmanuel Vincent, Pascal Denis, Josef van GenabithAACL/IJCNLP (Findings) 2022

TL;DR

This paper tackles the challenge of anaphora resolution in instructional cooking videos, where entities change state over time. They introduce a new annotation scheme to capture these changes and a multimodal model that leverages temporal features to improve performance, outperforming previous methods.

What Problem Does This Paper Address?

Anaphora resolution, the task of identifying what a pronoun or noun phrase refers to (its antecedent), is a well-studied problem in NLP. However, instructional cooking videos present a unique challenge: entities undergo physical and chemical transformations throughout the cooking process. For example, an "egg" before and after boiling is still referred to as an "egg," but its state has changed. Existing anaphora resolution methods often struggle with these dynamic entities and the multimodal nature of videos (text instructions paired with visual information). This paper aims to bridge this gap by developing a method that accounts for both temporal changes and multimodality in anaphora resolution for cooking instructions.

Methods

The authors propose a novel annotation scheme that explicitly defines different types of anaphoric relations to track spatio-temporal changes in entities. They introduce categories like "near-identity" to handle entities that are partially the same but have undergone changes.

Their core technical contribution is an end-to-end multimodal anaphora resolution model. This model builds upon existing coreference resolution architectures but crucially incorporates temporal features. Instead of relying solely on token distance between mentions, they use the instruction index within the recipe sequence to capture the temporal order of events. This temporal information is embedded and concatenated with other features (span embeddings, visual features) to represent the relationship between potential anaphor-antecedent pairs.

The model is trained in three sub-tasks:

  1. Mention Detection: Identifying potential spans (words or phrases) that could be anaphors or antecedents.
  2. Anaphora Resolution: Assigning each detected mention to its antecedent.
  3. Relation Classification: Determining the type of relationship (coreference, near-identity, bridging) between an anaphor and its antecedent.

Datasets

The primary dataset used is YouCookII, a collection of instructional cooking videos with manually provided text descriptions. The authors annotate a subset of this dataset according to their new scheme, making it publicly available. They selected at least three random samples per recipe for training and one for testing, ensuring no overlap between the sets.

Key Insights and Ideas

  • Temporal Dynamics are Crucial: The most significant insight is that simply considering token distance is insufficient for instructional videos. The temporal order of instructions is a powerful signal for resolving anaphora, especially when entities change state.
  • Near-Identity is Essential: The concept of "near-identity" is vital for capturing entities that are fundamentally the same but have undergone transformations (e.g., boiled egg vs. raw egg). This goes beyond strict coreference.
  • Multimodality Matters: While the paper focuses on temporal features derived from text, the underlying YouCookII dataset provides video. The authors leverage visual features (though the specifics of their visual feature extraction are standard ViT and CNN) to inform their model, acknowledging the multimodal nature of the problem.
  • Null Anaphors are Common and Important: Instructional recipes frequently use null anaphors (where the entity is implied but not explicitly stated), and the authors' annotation scheme and model account for these.

Key Results

The paper reports significant improvements when temporal features are incorporated into their anaphora resolution model.

  • Overall Anaphora Resolution: The F1-score for anaphora resolution improved from 39.9% to 40.0% for candidate spans and from 47.8% to 50.6% for gold spans when temporal features were used.
  • Relation Classification: Similarly, the overall F1-score for relation classification improved from 29.2% to 30.4% for candidate spans and from 36.3% to 40.8% for gold spans.
  • Bridging Relations: Temporal features showed a particularly noteworthy benefit for bridging pairs, improving F1-scores for both candidate and gold spans.
  • Pronoun Resolution: Temporal features were observed to particularly benefit pronoun resolution, making antecedents closer to pronouns in the temporal sequence.

Limitations and Future Work

The authors acknowledge several limitations:

  • Mention Detection Errors: Errors in mention detection propagate to downstream tasks (anaphora resolution and relation classification). Distinguishing singletons (non-referential mentions) remains a challenge.
  • Singleton Spans and Bridging: False positive bridging relations can arise from singleton spans.
  • Lexical Similarity Bias: Despite using contextualized embeddings, strong lexical similarity can still lead to errors, particularly for rare entities or predicates (e.g., "bacon" -> "bacon" -> "fried bacon").
  • Null Anaphors and Candidate Spans: The end-to-end model struggles with detecting and resolving null anaphors when considering candidate spans, potentially due to increased noise.

Future work directions include:

  • Improving the mention detection model, especially for null entities and singletons.
  • Exploring different visual feature extraction methods (e.g., CLIP, S3D) to better leverage video information.
  • Investigating how to better handle the inherent ambiguity introduced by near-identity and bridging relations.

Summary updated

BibTeX
@inproceedings{oguz2022chop,
  author = {Cennet Oguz and Ivana Kruijff-Korbayová and Emmanuel Vincent and Pascal Denis and Josef van Genabith},
  title = {{Chop and Change: Anaphora Resolution in Instructional Cooking Videos}},
  booktitle = {AACL/IJCNLP (Findings)},
  year = {2022},
  url = {https://openreview.net/forum?id=_VfF0-1VCFo},
}
Figure