Detecting the Moment of Completion: Temporal Models for Localising Action Completion

Farnoosh Heidarivincheh, Majid Mirmehdi, Dima DamenarXiv 2017 · arXiv

TL;DR

This paper shifts the focus of computer vision from merely recognizing what action is happening to identifying exactly when its goal is achieved. By combining fine-tuned CNN features with temporal models like HMMs and LSTMs, the researchers can localize the "moment of completion" within 10 frames for roughly 75% of tested actions.

What Problem Does This Paper Address?

Traditional action recognition focuses on classifying a video clip (e.g., "this is a person drinking"). Action localization goes a step further by identifying the start and end frames of the motion. However, both approaches often ignore whether the goal of the action was actually met.

Consider the action "drinking": a person might lift a cup to their lips (start of motion) and put it back down (end of motion) without ever actually taking a sip. The authors argue that for applications like smart home assistants or industrial monitoring, detecting the specific frame where the state changes—the light turns off, the plug enters the socket, or the liquid is consumed—is more critical than just tracking the movement. This "moment of completion" separates the pre-completion phase from the post-completion phase.

Complete vs. incomplete sequences for the 'switch' action. Completion occurs the moment the light goes off.

Methods

The authors propose a supervised pipeline that treats completion detection as a frame-by-frame classification problem influenced by temporal context.

  1. Feature Extraction: They compare hand-crafted features (like HOG and skeletal joint velocities) against Convolutional Neural Network (CNN) features. Specifically, they use a VGG-16 architecture fine-tuned on the target actions to capture subtle appearance changes in the scene.
  2. Temporal Modeling: The extracted features are fed into one of two temporal models:
  3. Hidden Markov Model (HMM): A two-state model (pre-completion and post-completion). The HMM is constrained so it must start in the "pre" state and, once it transitions to "post," it can never go back.
  4. Long-Short Term Memory (LSTM): A recurrent neural network capable of learning long-term dependencies. Unlike the HMM, the LSTM is not explicitly constrained to a one-way transition, allowing it to be more flexible but potentially less stable.
The overall scheme: CNN features are extracted per frame and fed into a temporal model to output pre/post labels.

Datasets

The study utilizes the RGBD-AC (Action-Completion-2016) dataset.

  • Content: 414 sequences covering six actions: switch, plug, open, pull, pick, and drink.
  • Unique Feature: It includes both "complete" sequences (goal achieved) and "incomplete" sequences (action attempted but goal failed).
  • Annotations: While the original dataset only provided sequence-level labels, the authors re-annotated every frame to pinpoint the exact moment of completion.

Key Insights and Ideas

  • Appearance is Everything: Fine-tuned CNN features (FT-CNN) significantly outperformed skeletal and depth-based features. This suggests that the visual "effect" of an action on the environment (e.g., a door opening) is a stronger cue for completion than the human's body pose.
  • The Necessity of Failure: One of the most important findings is that models must be trained on incomplete sequences. If a model only sees successful actions, it tends to "hallucinate" completion in failed attempts because it learns to associate the approach motion with the result.
  • HMM vs. LSTM: While both performed similarly on successful sequences, the HMM proved more robust for incomplete sequences. Its hard constraint—preventing a transition back to the "pre" state—helped maintain a cleaner prediction of the completion moment.
Training on only complete sequences (bottom) causes the model to incorrectly predict completion in failed attempts.

Key Results

  • Accuracy: Using fine-tuned CNN features, the HMM and LSTM detected the moment of completion within a 10-frame window for 75.1% and 74.6% of sequences, respectively.
  • Feature Superiority: The F1-score for FT-CNN features was 90.6%, compared to just 71.4% for skeletal joint velocities and 46.3% for HOG features.
  • Action Sensitivity: Actions with obvious environmental changes, like switch (light goes on/off), were detected with near-perfect accuracy (99.9% F1-score). Subtle actions like open were much harder to localize accurately.

Limitations and Future Work

  • Temporal Segmentation: The current model assumes each video contains exactly one action instance that starts at the beginning of the clip. It cannot yet handle "untrimmed" video where multiple actions occur or where an action is repeated.
  • Irreversibility: The model assumes actions aren't "undone" within the same sequence (e.g., picking up a cup and immediately putting it back down).
  • Future Directions: The authors aim to explore novel temporal models specifically designed for completion and to test their approach on larger, more diverse datasets to see how well these "completion signatures" generalize across different environments.

Summary updated

Abstract

Action completion detection is the problem of modelling the action's progression towards localising the moment of completion - when the action's goal is confidently considered achieved. In this work, we assess the ability of two temporal models, namely Hidden Markov Models (HMM) and Long-Short Term Memory (LSTM), to localise completion for six object interactions: switch, plug, open, pull, pick and drink. We use a supervised approach, where annotations of pre-completion and post-completion frames are available per action, and fine-tuned CNN features are used to train temporal models. Tested on the Action-Completion-2016 dataset, we detect completion within 10 frames of annotations for ~75% of completed action sequences using both temporal models. Results show that fine-tuned CNN features outperform hand-crafted features for localisation, and that observing incomplete instances is necessary when incomplete sequences are also present in the test set.
BibTeX
@misc{heidarivincheh2017detecting,
  author = {Farnoosh Heidarivincheh and Majid Mirmehdi and Dima Damen},
  title = {{Detecting the Moment of Completion: Temporal Models for Localising Action Completion}},
  year = {2017},
  eprint = {1710.02310},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1710.02310},
}
Figure