Abstract
Human communication typically has an underlying structure. This is reflected in the fact that in many user generated videos, a starting point, ending, and certain objective steps between these two can be identified. In this paper, we propose a method for parsing a video into such semantic steps in an unsupervised way. The proposed method is capable of providing a semantic "storyline" of the video composed of its objective steps. We accomplish this utilizing both visual and language cues in a joint generative model. The proposed method can also provide a textual description for each of identified semantic steps and video segments. We evaluate this method on a large number of complex YouTube videos and show results of unprecedented quality for this new and impactful problem.
Introduction
While humans naturally perceive activities as a sequence of meaningful steps—a "semantic storyline"—computers typically see video as a raw stream of pixels. Understanding this structure is vital for AI assistants and robotics, but manually labeling thousands of videos with precise timestamps for every sub-action is prohibitively expensive and subjective.
User-generated videos are inherently messy: different people use different camera angles, skip steps, or perform them in varying orders. Furthermore, both visual data (frames) and language data (automatic speech recognition/subtitles) are noisy and incomplete. This research addresses the problem of unsupervised semantic parsing: given a collection of videos of the same task (e.g., "How to change a tire"), can a machine automatically discover the common steps, their timing, and their meaning?
Methodology
The proposed approach treats activity discovery as a joint vision-and-language problem using a unified generative model. The pipeline consists of three main stages:
1. Creating "Atoms"
The system first decomposes the multimodal data into fundamental units:
- Visual Atoms: Thousands of "object proposals" are generated from video frames and clustered across the entire collection. A cluster of similar-looking objects (e.g., various frying pans) becomes a "visual atom."
- Language Atoms: Using a modified tf-idf approach on subtitles, the system identifies salient words specific to the activity category (e.g., "whisk," "bowl," "melt").
2. Multimodal Representation
Each video frame is represented as a binary histogram indicating the presence of specific visual and language atoms.
3. The BP-HMM Model
The core of the framework is a Beta Process Hidden Markov Model (BP-HMM). The Beta Process acts as a selector, determining which subset of all possible activity steps are present in a specific video. The Hidden Markov Model (HMM) handles temporal logic, ensuring steps follow a coherent sequence. This non-parametric approach allows the system to discover the number of steps automatically without prior specification.
Data and Evaluation
The authors curated a large-scale dataset by crawling YouTube for the top 100 physical-world queries from WikiHow, covering 100 different tasks such as "How to tie a tie" or "Make an omelet." The collection includes approximately 10,000 videos.
Evaluation was performed using Intersection over Union (IOU) for temporal segmentation and mean Average Precision (mAP) for step discovery. Key findings include:
- Multimodal Synergy: The full model (Vision + Language) significantly outperformed single-modality versions. For "Make Omelet," the full model achieved an IOU of ~52%, far exceeding vision-only or language-only baselines.
- State-of-the-Art Performance: The method consistently beat standard unsupervised segmentation methods like Kernel Temporal Segmentation (KTS).
- Qualitative Success: The system successfully identified distinct steps (e.g., "adding milk" vs. "mixing") and generated coherent textual descriptions for discovered segments.
Discussion
The "aha moment" of this work is that the strongest common structure across a collection of videos is the semantic task itself. By identifying shared elements across 100 different people performing the same task, irrelevant noise (backgrounds, chatter) is filtered out, leaving the essential steps.
However, limitations remain. The model occasionally merges steps that occur in quick succession due to the sparsity-promoting nature of the Beta Process. Additionally, the reliance on subtitles means purely silent instructional videos may lack semantic depth. Future work could involve using this discovered knowledge to populate "robot knowledge bases," allowing machines to learn tasks simply by watching online video playlists.
Summary updated