Abstract
Detecting the exact moment an action is completed is crucial for fine-grained action understanding, yet obtaining frame-level annotations is labor-intensive and subjective. This paper proposes a weakly-supervised approach that identifies the "completion moment"—the point where a goal is successfully achieved—using only video-level success/failure labels. By employing a dual-LSTM architecture with a temporal attention mechanism, the model learns to prioritize frames critical for determining success. Experimental results across multiple datasets demonstrate that this method significantly reduces detection error and even outperforms fully-supervised state-of-the-art models in certain scenarios.
Introduction
Standard action recognition systems typically focus on classifying the overall activity within a video clip. However, they often fail to distinguish between a successfully completed action and a failed or deceptive attempt. For instance, in healthcare monitoring, it is vital to know not just that a patient performed the motion of taking medication, but the exact moment the pill was swallowed.
Traditional methods for completion moment detection rely on dense, frame-by-frame human annotations, which are costly and prone to inter-annotator variability. This work addresses the challenge of weakly-supervised learning, aiming to localize the completion moment using only binary video-level labels (success vs. failure).
Methodology
The proposed architecture consists of three primary components designed to process video sequences and identify the most informative temporal regions.
1. Feature Extraction
Spatial features are extracted from each video frame using a VGG-16 Convolutional Neural Network (CNN) pre-trained on the UCF101 dataset. This provides a high-level representation of the visual content at each time step.
2. Dual Recurrent Cells (LSTMs)
The core of the model is a dual-LSTM setup:
- Temporal Attention LSTM: This module assigns an importance weight ($a_t$) to each frame. It learns to focus on the most discriminative segments of the sequence that indicate whether a goal has been met.
- Completion Prediction LSTM: This module generates a confidence score ($s_t$) for each frame, representing the cumulative likelihood that the action's goal has been observed up to that point.
3. Evidence Accumulation and Inference
During inference, the model identifies the completion moment by maximizing the combined evidence of "incompletion" before the moment and "completion" after it. This holistic view of the sequence allows the model to robustly handle noise and ambiguous frames.
Experimental Evaluation
The method was evaluated on 16 actions selected from three public datasets: HMDB, UCF101, and RGBD-AC. These actions (e.g., "blowing candles", "plugging in a device") were chosen specifically for having a well-defined completion moment. For weakly-supervised training, 10 actions with a sufficient balance of successful and failed attempts were utilized.
Key Insights
- Temporal Attention as a Denoising Filter: In a weakly-supervised setting, many frames are visually similar between successful and failed attempts. The attention mechanism learns to "ignore" these non-discriminative early stages and focus on the critical window where the outcome is determined.
- Indistinguishable Beginnings: The model effectively handles the reality that successful and failed attempts often diverge only at or after the moment of completion.
- Performance Gains: Surprisingly, the attention-based architecture outperformed previous fully-supervised state-of-the-art methods on 14 out of 16 actions when given full supervision. This suggests that temporal attention is superior to uniform frame weighting for modeling action progression.
Results
- Weakly-Supervised Accuracy: The inclusion of temporal attention reduced detection error (Relative Distance) by 15% compared to uniform weighting models.
- Labeling Precision: On the RGBD-AC dataset, the weakly-supervised model achieved a frame-level labeling accuracy of 69.4%, demonstrating its ability to accurately "find" the completion moment without explicit frame-level training data.
Limitations and Future Work
The current approach requires a balanced dataset of complete and incomplete sequences; several actions could not be tested due to a lack of "failure" examples. Future research will explore integrating spatial attention to focus on specific objects or body parts and extending the model to detect completion moments within long, untrimmed videos containing multiple activities.
Summary updated