Introduction
Temporal action segmentation involves identifying the start and end times of specific actions within a video. Traditionally, this task requires dense, frame-level annotations, which are labor-intensive and expensive to produce. To mitigate this, researchers have turned to "weak supervision," typically in the form of ordered transcripts (e.g., knowing a video contains cut followed by pour then stir).
However, even ordered transcripts require manual effort. This paper explores a more challenging form of weak supervision: action sets. In this paradigm, only the set of actions present in the video is known (e.g., {cut, stir, pour}), without information on their order or frequency. This significantly expands the search space; for a 100-frame video with 5 actions, the number of possible labelings increases by a factor of $10^{60}$ compared to ordered transcripts.
Methodology
The proposed method decomposes the segmentation problem into three hierarchical components to effectively prune the massive search space:
1. Context Model (The "What")
A context-free grammar restricts the possible action sequences. The authors evaluated three types:
- Naive: Any sequence using the actions in the set.
- Monte-Carlo: Sequences generated based on training data statistics.
- Text-Based: Mining external sources like recipes or scripts to find likely transitions (e.g., "butter" often precedes "crack egg").
2. Length Model (The "How Long")
Without frame-level data, action durations must be estimated. The authors modeled durations using a Poisson distribution. They introduced a "Loss-based" approach using quadratic optimization (COBYLA) to estimate the mean length of all action classes simultaneously across the training set.
3. Frame Model (The "Where")
A multi-task neural network predicts the probability of each action being present in every frame. These probabilities are converted into class-conditional likelihoods for inference.
Inference: The final segmentation is determined using a Viterbi algorithm that finds the most likely path through the grammar, constrained by the length and frame models.
Experimental Results
The approach was evaluated on three benchmarks: the Breakfast Dataset, MPII Cooking 2, and Hollywood Extended.
- Breakfast Dataset: The method achieved 23.3% frame accuracy using only action sets. Remarkably, this is close to the 25.9% achieved by state-of-the-art HMM methods using ordered transcripts.
- Hollywood Extended: The model achieved a Jaccard index of 0.093, actually outperforming an HMM-based method (0.086) that utilized stronger supervision.
- MPII Cooking 2: This dataset proved most challenging due to long video durations and a high number of classes, resulting in a midpoint hit of 0.106.
Key Insights
- Grammar Impact: Even simple Monte-Carlo grammars boost accuracy by ~10% over naive approaches by capturing common patterns.
- External Knowledge: Text-based grammars demonstrate that non-video data (like web-crawled recipes) can significantly improve video understanding.
- Supervision Gap: The results suggest that for many datasets, the gap between "set-only" supervision and ordered transcripts is surprisingly small.
Limitations
The model faces challenges with co-occurrence ambiguity, where actions that frequently appear together (e.g., "spoon powder" and "pour milk") are difficult to distinguish visually. Additionally, performance tends to degrade as video length and action complexity increase. Future work may involve more sophisticated language models and better handling of background (non-action) frames.
Summary updated