Learning Temporal Video Procedure Segmentation from an Automatically Collected Large Dataset

Lei Ji, Chenfei Wu, Daisy Zhou, Kun Yan, Edward Cui, Xilin Chen, Nan DuanWACV 2022

Abstract

Temporal Video Segmentation (TVS) is a cornerstone of modern video understanding. While Video Action Segmentation (VAS) relies on pre-defined labels, Video Procedure Segmentation (VPS) offers a more flexible, category-independent approach to dividing videos into semantic steps. However, VPS research has been hindered by small, domain-specific datasets. To address this, we introduce TIPS, a massive and diverse dataset of 63,000 instructional videos. We also propose the Multi-modal Transformer with Gaussian Boundary Detection (MT-GBD) model and a novel Experienced IOU (EIOU) metric to better evaluate segmentation quality. Our results demonstrate that MT-GBD significantly outperforms existing baselines, while EIOU provides a more human-aligned assessment of performance.

Introduction: The Shift from Action to Procedure

Traditionally, breaking down video content has relied on Video Action Segmentation (VAS). VAS identifies specific actions (e.g., "slicing a tomato") based on a fixed taxonomy. This approach struggles with the "open-domain" nature of the internet, where actions are nearly infinite.

Video Procedure Segmentation (VPS) provides a more scalable alternative by identifying the boundaries between procedural steps regardless of the specific action labels. Despite its potential, the field has lacked the data necessary to train robust models, with existing datasets often limited to a few thousand videos in the cooking domain.

The TIPS Dataset: Scaling Diversity

The primary contribution of this work is the TIPS (Temporal Instructional Procedure Segmentation) dataset. Collected automatically from YouTube, TIPS contains 63,756 videos and over 300,000 segments. Unlike its predecessors, TIPS spans over 20 diverse categories, including DIY, health, beauty, parenting, and gardening.

The TIPS dataset covers a wide range of instructional categories, significantly expanding the scope of VPS research beyond the cooking domain.

The dataset was curated by filtering for high-quality instructional content where Automatic Speech Recognition (ASR) transcripts explicitly mention procedural markers like "step one" or "next." This automated pipeline allows for a scale that was previously unattainable through manual annotation.

The MT-GBD Model

To benchmark this new dataset, we developed the Multi-modal Transformer with Gaussian Boundary Detection (MT-GBD). The architecture is designed to handle the inherent ambiguity in video boundaries.

The MT-GBD architecture fuses visual features from SlowFast and textual features from BERT through a multimodal transformer and temporal convolution.

Key Components:

  1. Multimodal Fusion: The model extracts visual features using a SlowFast ResNeXt-101 backbone and textual features from ASR transcripts via BERT. A transformer-based cross-attention mechanism allows the model to correlate spoken cues with visual transitions.
  2. Temporal Convolution Network (TCN): A 1D convolutional layer refines these features to ensure temporal consistency across the video.
  3. Gaussian Boundary Detection (GBD): Instead of predicting "hard" binary boundaries, MT-GBD uses a Gaussian heat map. This accounts for "boundary shift"—the common occurrence where a speaker mentions a step slightly before or after the visual action begins.

Rethinking Evaluation: The EIOU Metric

Standard metrics like Mean Intersection over Union (MIOU) often fail to penalize superfluous or missed segments effectively. To solve this, we introduced Experienced IOU (EIOU). EIOU incorporates length normalization and specific penalties for extra or missing predictions. In user studies, EIOU rankings of segmentation quality showed a much higher correlation with human satisfaction than traditional F1 or MIOU scores.

Results and Insights

Experimental results on the TIPS dataset show that MT-GBD achieves an EIOU of 63.88, a substantial improvement over the 45.49 achieved by the previous state-of-the-art, MS-TCN. Ablation studies confirmed that both the multimodal input (text + video) and the Gaussian boundary smoothing are essential for high performance.

While the model excels in many areas, it still faces challenges with very long videos (over 12 minutes) and fine-grained actions where visual changes are subtle. Future work will focus on improving the model's ability to handle long-range temporal dependencies and more nuanced scene dynamics.

Summary updated

BibTeX
@inproceedings{ji2022learning,
  author = {Lei Ji and Chenfei Wu and Daisy Zhou and Kun Yan and Edward Cui and Xilin Chen and Nan Duan},
  title = {{Learning Temporal Video Procedure Segmentation from an Automatically Collected Large Dataset}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2022},
  url = {https://openreview.net/forum?id=zw-X_-ACy9},
}
Figure