Abstract
In this paper, we consider the problem of classifying fine-grained, multi-step activities (e.g., cooking different recipes, making disparate home improvements, creating various forms of arts and crafts) from long videos spanning up to several minutes. Accurately categorizing these activities requires not only recognizing the individual steps that compose the task but also capturing their temporal dependencies. This problem is dramatically different from traditional action classification, where models are typically optimized on videos that span only a few seconds and that are manually trimmed to contain simple atomic actions. While step annotations could enable the training of models to recognize the individual steps of procedural activities, existing large-scale datasets in this area do not include such segment labels due to the prohibitive cost of manually annotating temporal boundaries in long videos. To address this issue, we propose to automatically identify steps in instructional videos by leveraging the distant supervision of a textual knowledge base (wikiHow) that includes detailed descriptions of the steps needed for the execution of a wide variety of complex activities. Our method uses a language model to match noisy, automatically-transcribed speech from the video to step descriptions in the knowledge base. We demonstrate that video models trained to recognize these automatically-labeled steps (without manual supervision) yield a representation that achieves superior generalization performance on four downstream tasks: recognition of procedural activities, step classification, step forecasting, and egocentric video classification.
Introduction: The Challenge of Procedural Activity Recognition
Recognizing complex, multi-step activities—such as "changing a tire" or "making lasagna"—presents a significantly greater challenge than classifying simple atomic actions like "running" or "jumping." These procedural activities often span several minutes and require a model to understand both the individual constituent steps and their specific temporal order.
The primary bottleneck in this field is the scarcity of fine-grained data annotation. While massive datasets like HowTo100M provide a wealth of video content, they lack labels indicating when specific steps start and end. Manually annotating these temporal boundaries across thousands of hours of video is prohibitively expensive. Consequently, existing models often rely on noisy, unstructured speech-to-text (ASR) transcripts, which frequently fail to accurately describe the visual actions occurring on screen.
Methodology: Distant Supervision via wikiHow
To bridge the gap between noisy video data and structured knowledge, we propose a three-stage distant supervision pipeline. The core innovation lies in leveraging wikiHow as a curated "knowledge base" containing over 230,000 structured "how-to" articles.
- Distant Supervision: We use a pretrained language model (MPNet) to calculate the semantic similarity between noisy ASR segments from a video and the clean step descriptions found in wikiHow. This process effectively "reassigns" noisy speech to a canonical, informative step label from the knowledge base.
- Learning Step Embeddings: Using these matched steps as "pseudo-labels," we train a video backbone (TimeSformer) to recognize these steps. We explored several objectives, including Step Classification (cross-entropy), Distribution Matching (KL-Divergence), and Step Regression (matching language embeddings).
- Temporal Reasoning: To handle long-form video, we extract step embeddings from video segments and process them through a shallow Transformer layer. This architecture allows the model to capture critical temporal dependencies between steps (e.g., the necessity of "boiling water" before "adding pasta").
Experimental Results
We evaluated our framework across several benchmark datasets, including COIN (11k instructional videos), Breakfast (1.7k cooking videos), and EPIC-KITCHENS-100 (egocentric video).
Our results demonstrate that clean text is a superior supervisor to noisy speech. Because ASR often contains secondary commentary unrelated to the task, mapping it to wikiHow’s curated steps provides a much cleaner training signal. Furthermore, we found that procedural steps are higher-level semantic units than atomic actions; approximately 85% of steps involve at least two verbs, suggesting a complexity that standard action datasets like Kinetics do not capture.
As shown in the table above, our method achieved a state-of-the-art 90.0% accuracy on task classification for the COIN dataset, outperforming previous best-reported numbers by over 16%. Notably, step embeddings learned via distant supervision also outperformed features trained on the fully-supervised Kinetics-400 dataset (54.1% vs 48.3% on step classification), proving that our unsupervised pretraining on domain-specific instructional data is more effective than supervised pretraining on general action data.
Discussion and Future Work
While this framework significantly advances procedural activity recognition, several challenges remain. The model currently assumes a rough correspondence between narration and visual action; however, narrators often describe steps before or after performing them, leading to temporal misalignment. Additionally, errors in the initial language model matching can propagate to the video model.
Future research will focus on more precise temporal localization to identify the exact "keyframes" of a step and developing more robust methods for handling highly non-linear or interleaved step sequences. Despite these limitations, the ability to leverage massive, unlabelled video libraries through structured textual knowledge bases represents a major step toward scalable video understanding.
Summary updated