TL;DR
This paper introduces a novel unsupervised method for automatically discovering and segmenting atomic actions within instructional videos. By leveraging a stochastic autoregressive model and a clever self-labeling strategy based on learned constraints, the approach can learn to identify action boundaries without any human annotations, outperforming existing unsupervised methods.
What Problem Does This Paper Address?
Instructional videos, like those showing cooking or furniture assembly, are a rich source of information for teaching intelligent agents (robots, virtual assistants) how to perform tasks. However, these videos are rarely annotated with precise, frame-level labels for the individual "atomic" actions that make up a complex task. While supervised methods can achieve high accuracy with such labels, obtaining them is expensive and time-consuming. Existing weakly-supervised methods make some assumptions about action order or presence, but this paper tackles the even more challenging problem of learning entirely from raw, unannotated videos. The core challenge is to infer the temporal structure and boundaries of these atomic actions from the inherent sequential nature of human tasks.
Methods
The authors propose a two-stage, EM-like iterative process:
- Stochastic Autoregressive Model: At its heart is a recurrent neural network that models the temporal sequence of actions. Crucially, it uses a Gumbel-Softmax trick to stochastically select transition rules at each step. This means that even with the same input, the model can generate multiple different candidate action sequences for a given video.
- Self-Labeling via Ranking: To train this model without ground truth, they introduce a "self-labeling" mechanism. For each video, the stochastic model generates several candidate action sequences. These sequences are then ranked using a cost function that encodes prior knowledge about instructional videos:
- Action Occurrence: Each atomic action should appear at least once.
- Action Length: Atomic actions should have similar durations across different videos of the same task.
- Visual Likelihood: Each frame's visual features should be consistent with the predicted action. The top-ranked sequence is then used as "self-labels" to train the action segmentation model via standard backpropagation. This process is repeated until convergence.
They also incorporate cross-video matching to improve consistency across different videos of the same task and explore different action length modeling techniques.
Datasets
The paper evaluates its approach on several standard datasets for instructional video analysis:
- 50-salads: Contains videos of people making salads, with varying action order.
- Narrated Instructional Videos (NIV): Features videos with more structured tasks like changing a tire or making coffee.
- Breakfast: Includes videos of people making breakfast dishes, with diverse camera angles and environments.
Key Insights and Ideas
- Stochasticity as a Feature: The core innovation is using stochasticity (the Gumbel-Softmax) not just as a way to handle uncertainty, but as a mechanism to generate diverse hypotheses (action sequences) that can then be ranked.
- Leveraging Task Structure: The self-labeling approach effectively encodes common-sense knowledge about how human tasks are structured (actions occur, have durations, and are visually consistent) into a ranking function.
- Unsupervised Learning Power: The method demonstrates that it's possible to achieve competitive, and often superior, performance compared to weakly-supervised methods, solely by learning from the inherent structure of the data.
- Action vs. Object Confusion: Qualitative analysis (confusion matrix) suggests the model is good at distinguishing actions but sometimes struggles with visually similar objects (e.g., different types of vegetables being cut).
Key Results
The proposed unsupervised method consistently outperforms existing unsupervised methods across the tested datasets. Notably, on the NIV dataset, their unsupervised approach achieves an F1 score of 0.457, significantly higher than previous unsupervised methods (e.g., 0.283 for JointSeqFL). They also show that their method can approach or even surpass the performance of some weakly-supervised baselines. Qualitative results show that the generated action sequences become more coherent and accurate as training progresses.
Limitations and Future Work
- Fixed Number of Actions: The model requires setting the number of atomic actions ($|O|$) as a hyperparameter. While experiments show it's not overly sensitive, this is a limitation compared to methods that can discover the number of actions.
- Object Recognition Struggle: The confusion matrix indicates that the model has difficulty distinguishing between visually similar objects, which can lead to misclassifications.
- Future Work: The authors suggest exploring methods for automatically discovering the number of actions and improving object recognition within their framework. They also mention that their current inference uses greedy rule selection, and future work could explore more sophisticated methods like Viterbi decoding for potentially better segmentation.
Summary updated