HT-Step: Aligning Instructional Articles with How-To Videos

Triantafyllos Afouras, Effrosyni Mavroudi, Tushar Nagarajan, Huiyu Wang, Lorenzo TorresaniNeurIPS 2023

Introduction

HT-Step is a massive new dataset and benchmark designed to align temporal annotations in cooking videos with the rich, structured text of wikiHow articles. By providing high-quality manual labels for over 2,100 hours of video, it enables researchers to train models that can understand which steps of a written recipe are being performed, which are skipped, and exactly when they occur in a long, untrimmed video.

The Challenge of Temporal Article Grounding

While "how-to" videos are a gold mine for training AI, they are notoriously difficult to label. Most existing datasets rely on noisy Automated Speech Recognition (ASR) or small-scale manual annotations that lack linguistic depth.

The authors identify a specific challenge called temporal article grounding. Unlike standard action detection (where a model simply looks for "slicing onions"), article grounding requires a model to take a structured list of instructions (like a wikiHow article) and map it to a video timeline.

Aligning wikiHow articles to video timelines reveals challenges like non-groundable steps and partial matches.

This alignment is difficult due to several real-world factors:

  1. Missing Steps: On average, 58% of the steps described in an article are never actually shown in the video (non-groundable steps).
  2. Out of Order: Real-world chefs rarely follow the "canonical" order of a recipe perfectly.
  3. Partial Execution: A chef might skip an ingredient or combine two steps into one fluid motion, leading to partial rather than full matches.

Methodology and the HT-Step Dataset

To bridge the gap between the HowTo100M video dataset and wikiHow articles, the researchers developed a scalable pipeline. They first automatically extracted a taxonomy of 4,958 unique steps from wikiHow. Next, professional annotators watched 20,000 videos to mark the start and end times for each step. Crucially, annotators were asked to distinguish between "full matches" (everything in the text is shown) and "partial matches" (substeps or ingredients are missing).

The resulting HT-Step dataset represents a significant leap in scale and diversity:

  • Scale: 116,000 segment-level annotations across 19.7k videos (~2,100 hours).
  • Diversity: Covers 433 different cooking activities.
  • Comparison: It is roughly 2.6x larger in segments and 4.8x larger in video hours than previous leading datasets like COIN or CrossTask.

Key Insights

  • The "Rejection" Requirement: Because so many article steps are not in the video, models cannot simply assume every sentence has a corresponding clip. They must learn to "reject" queries that don't appear visually.
  • Paragraphs are Power: While step headlines (e.g., "Beat the butter") are useful, the detailed paragraphs in wikiHow provide essential context for accurate grounding. Models using both performed significantly better.
  • Real-World Complexity: HT-Step has a much higher "Normalized Edit Distance" (NED) than previous datasets, meaning the sequence of actions in the videos deviates significantly from the written instructions.
  • Partial Matches Predominate: Only 27% of annotated segments were "full matches," highlighting that instructional videos are rarely perfect mirrors of written text.

Results and Impact

The authors evaluated several baseline architectures, including ActionFormer and a newly proposed MT+BCE (Multimodal Transformer with Binary Cross Entropy) which treats each step as a text query.

Models trained on HT-Step's manual labels vastly outperformed those trained on noisy ASR or weakly supervised signals. The ActionFormer-T model achieved 26.3% mAP (mean Average Precision) on seen tasks and 18.4% on unseen tasks, demonstrating that the model learns to understand the language of instructions rather than just memorizing specific recipes.

Furthermore, pre-training a model on HT-Step and then testing it on the CrossTask dataset resulted in a +11.4% absolute improvement in zero-shot step localization. This proves that HT-Step is an excellent foundational dataset for teaching AI the general relationship between instructional text and video.

Limitations and Future Work

Currently, the dataset is restricted to the cooking domain. While cooking is a massive category, the broader "how-to" world includes DIY, crafts, and repairs, which may exhibit different temporal dynamics. The authors also acknowledge that models might inherit biases from the specific activities included in the dataset, potentially limiting coverage of diverse global cooking styles. Future work aims to expand the taxonomy to other domains and explore more advanced global reasoning models capable of handling the out-of-order nature of real-world tasks.

Summary updated

BibTeX
@inproceedings{afouras2023ht,
  author = {Triantafyllos Afouras and Effrosyni Mavroudi and Tushar Nagarajan and Huiyu Wang and Lorenzo Torresani},
  title = {{HT-Step: Aligning Instructional Articles with How-To Videos}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=dwZJZNv0E9},
}

Loading related content...

Figure