Abstract
Temporal action segmentation in long, untrimmed videos is a critical task in computer vision, yet it is often hindered by the high cost of frame-level annotations. This paper proposes a novel weakly supervised approach that utilizes only ordered action transcripts—sequences of actions without specific timestamps—for training. Our architecture employs a fine-to-coarse modeling strategy, combining Recurrent Neural Networks (RNNs) for fine-grained subaction detection with Hidden Markov Models (HMMs) for global temporal alignment. Through an iterative refinement process, the model learns to segment and classify actions, achieving state-of-the-art results on the Breakfast and Hollywood Extended datasets.
Introduction
Deep learning has achieved significant success in classifying short, trimmed video clips. However, extending this success to long, untrimmed videos typically requires exhaustive frame-by-frame labeling to define action boundaries. To mitigate this annotation bottleneck, we explore weakly supervised learning, where the model is provided only with a transcript of actions occurring in the video. The primary challenge lies in temporal alignment: determining which video frames correspond to which labels in the transcript.
Methodology: Fine-to-Coarse Modeling
We introduce a two-layer architecture designed to capture both local motion patterns and global sequence structure.
Fine-Grained Subaction Model
Instead of treating a complex action (e.g., "making coffee") as a single monolithic block, we decompose it into a sequence of "subactions." We utilize an RNN with Gated Recurrent Units (GRUs) to predict subaction probabilities frame-by-frame. To maintain computational efficiency and focus on local context, the RNN processes the video in 20-frame segments.
Coarse Action Model and Global Alignment
To ensure that predicted subactions adhere to the chronological order specified in the training transcript, we employ a Hidden Markov Model (HMM). The HMM acts as a global constraint, filtering the RNN's local predictions to find the most probable sequence of actions that matches the provided transcript.
Iterative Training and Realignment
The model is trained through an iterative process that progressively refines its understanding of action boundaries:
- Initialization: Actions from the transcript are initially distributed uniformly across the video duration.
- RNN Training: The RNN is trained to recognize subactions based on these initial (or current) boundaries.
- HMM Realignment: Using the Viterbi algorithm, the HMM identifies a more mathematically consistent set of boundaries based on the RNN's updated predictions.
- Complexity Re-estimation: Crucially, the model dynamically adjusts the number of subactions assigned to each action. Actions that typically take longer are allocated more subaction "slots," allowing the model to capture greater temporal complexity.
Experimental Results
The proposed framework was evaluated on two benchmark datasets: the Breakfast Dataset (kitchen tasks) and the Hollywood Extended Dataset (movie clips).
Performance Metrics
On the Breakfast Dataset, the model achieved a Mean over Frames (MoF) accuracy of 33.3%, significantly outperforming previous weakly supervised methods such as ECTC (27.7%) and HTK (25.9%). On the Hollywood Extended Dataset, it reached a 51.1% Jaccard index, a substantial improvement over the previous state-of-the-art of 43.9%.
Key Insights
- Subaction Modeling: Breaking actions into smaller building blocks is essential for handling the heterogeneous nature of human movement.
- Dynamic Complexity: Allowing the model to re-estimate the number of subactions per action led to a nearly 5% performance boost on the Breakfast dataset.
- Local vs. Global Context: Our findings suggest that local context (approx. 20 frames) is sufficient for fine-grained recognition when paired with a robust global alignment layer like an HMM.
Conclusion
This work demonstrates that a fine-to-coarse modeling approach, combining RNNs and HMMs, can effectively learn action segmentation from weak transcript-level supervision. By iteratively refining boundaries and dynamically adjusting model complexity, we achieve superior performance compared to existing methods. Future work will explore the integration of end-to-end deep feature learning to further enhance recognition capabilities.
Summary updated