Abstract
Instructional videos are a rich source of sequential knowledge for complex tasks. However, the lack of large-scale manual annotations for key steps hinders the development of automated procedure learning systems. This paper presents a self-supervised deep learning framework that discovers and localizes key steps across multiple tasks simultaneously. By employing a teacher-student architecture with spatial attention and unsupervised subset selection, the model learns to identify discriminative actions without manual step-by-step labels. Experiments on the ProceL and CrossTask datasets demonstrate that multi-task learning and spatial attention significantly improve localization and task classification performance over existing unsupervised methods.
Introduction
Automatic Procedure Learning (APL) aims to identify and localize the sequence of key steps required to complete a task from video data. Traditional approaches often rely on expensive manual annotations or predefined grammars, which are difficult to scale. Furthermore, most existing unsupervised methods are "single-task," assuming the model only processes videos of one specific activity.
In "Self-Supervised Multi-Task Procedure Learning from Instructional Videos," Ehsan Elhamifar and Dat Huynh address these limitations by proposing a framework capable of multi-task learning, unsupervised localization, and automated feature learning. The goal is to identify which parts of a video frame are informative and precisely when key steps occur within a diverse, uncurated dataset.
Proposed Framework
The authors introduce a teacher-student framework designed to iteratively refine key-step discovery and localization.
The architecture consists of several core components:
- Spatial Attention Network (SAN): This module learns to focus on informative regions of a frame (like hands interacting with an object) without needing bounding box labels.
- Unsupervised Subset Selection (The Teacher): A non-differentiable algorithm that analyzes the entire dataset to find "representative" frames that likely correspond to key steps, providing "pseudo-labels" to the rest of the network.
- Key-Step Localization Network (KLN - The Student): A temporal 1D-CNN that learns to predict the steps identified by the teacher. Because the student is differentiable, it allows the model to backpropagate gradients and improve the Spatial Attention Network.
- Task Classification Network (TCN): This uses a "learnable key-step pooling" mechanism to identify which steps are most discriminative for a task (e.g., "cracking an egg" is a better indicator of "making an omelet" than the generic "pouring oil").
Training involves alternating between subset selection to update pseudo-labels and optimizing the deep neural network (DNN) parameters using a combination of ranking loss for localization and cross-entropy loss for task classification.
Experimental Setup
The framework was evaluated on two major benchmark datasets:
- ProceL: A medium-scale dataset with 12 diverse tasks (e.g., "assemble clarinet," "replace iPhone battery"), averaging about 60 videos per task.
- CrossTask: A large-scale dataset with 18 primary tasks (mostly cooking and car repair) and 2,750 videos. This dataset is particularly challenging because many tasks share similar sub-actions.
Key Insights and Results
The proposed method showed significant improvements over state-of-the-art unsupervised methods like TEC and JointSeqFL. Several key insights emerged from the study:
- Multi-tasking as a Feature: Training on multiple tasks simultaneously improves the model's ability to find key steps. By seeing many tasks, the model learns to distinguish between generic "background" actions and task-specific "key" actions.
- The Student Can Surpass the Teacher: Once the DNN (the student) is trained on the pseudo-labels from the subset selection (the teacher), it actually performs better than the teacher because of its higher capacity for generalization.
- Localization and Classification Performance: On the CrossTask dataset, the model achieved a Recall of ~41% and an F1 score of ~16%, representing a substantial lead over previous unsupervised methods. Furthermore, the "learnable pooling" mechanism allowed the model to classify the overall task with high accuracy (over 90% on ProceL and ~80% on CrossTask).
Conclusion and Future Work
This work demonstrates the viability of self-supervised multi-task learning for procedure discovery. While the model shows strong qualitative and quantitative success, it still faces challenges with visual ambiguity—where different steps look very similar—and high data requirements. The authors suggest that incorporating other modalities, such as narration or speech-to-text, could further refine the discovery of key steps in future iterations.
Summary updated