Encouraging LSTMs to Anticipate Actions Very Early

Sadegh Aliakbarian, Fatemehsadat Saleh, Mathieu Salzmann, Basura Fernando, Lars Petersson, Lars Andersson

TL;DR

This paper introduces a novel method for "action anticipation" – predicting an action from a video before it's fully completed. They achieve this by combining context-aware and action-aware visual features within a multi-stage LSTM and, crucially, by developing a new loss function that specifically penalizes early incorrect predictions. This approach significantly improves accuracy in predicting actions from very early video segments.

What Problem Does This Paper Address?

Computer vision systems are increasingly expected to not just recognize what's happening in a video, but to anticipate it. This is critical for applications like autonomous driving (predicting a pedestrian's movement before they step into the road) or surveillance (forecasting dangerous situations). The challenge lies in making accurate predictions when only a tiny fraction of the video sequence is available. Traditional action recognition methods, which analyze complete videos, are insufficient. Existing action anticipation methods struggle to achieve high accuracy with very limited input, often failing to distinguish between similar actions in the early stages.

Methods

The authors propose a two-pronged approach:

  • Multi-stage LSTM Architecture: They introduce a novel architecture that processes visual information in stages.
  • Context-Aware Features: The first stage extracts global scene information from RGB images, similar to standard image classification networks (VGG-16).
  • Action-Aware Features: The second stage focuses on localized features that are more indicative of the action itself. This is achieved using Class Activation Maps (CAMs) derived from convolutional layers, which highlight regions most relevant to a predicted class, without requiring explicit action localization annotations.
  • These two feature streams are then fused and processed sequentially by LSTMs to capture temporal dynamics.
  • Novel Loss Function for Early Prediction: The core innovation is a new loss function designed to encourage early and correct predictions.
  • It penalizes false negatives (missing the correct action) from the very beginning.
  • It penalizes false positives (incorrectly predicting an action) with increasing strength over time. This accounts for the inherent ambiguity of actions in early frames (e.g., distinguishing "running" from "high jump" with limited visual cues) by being more lenient on early false positives.

Datasets

The proposed method was evaluated on three standard action anticipation benchmarks:

  • UCF-101: A large dataset with 101 action classes, known for its diversity and challenging conditions.
  • JHMDB-21: A dataset of realistic videos with 21 action classes.
  • UT-Interaction: A dataset focusing on human-human interactions, with 6 classes.

The authors also mention using standard training/testing splits for these datasets and performing detailed analyses on the first split.

Key Insights and Ideas

  • The Power of "Action-Awareness": Simply looking at the whole scene (context-aware) isn't enough for early anticipation. Focusing on the specific parts of the image where the action is happening (action-aware) is crucial and can effectively discard irrelevant motion or actors.
  • Early Ambiguity is Key: The proposed loss function's clever design, which balances penalizing missed actions (false negatives) with penalizing incorrect guesses (false positives) based on time, directly addresses the core challenge of early prediction. It acknowledges that early frames are inherently ambiguous.
  • Sequential Processing Matters: Processing context-aware features first, then refining with action-aware features in a multi-stage LSTM, proved more effective than simply concatenating features or using parallel LSTMs. This suggests a hierarchical understanding of visual information for anticipation.
  • Efficiency Gains: By avoiding expensive optical flow computations and using a more streamlined VGG-based architecture, their method is significantly faster than previous state-of-the-art two-stream approaches.

Key Results

The proposed method significantly outperforms existing state-of-the-art action anticipation techniques across all tested datasets:

  • UCF-101: Achieved a relative increase in accuracy of 49.9% for early prediction.
  • JHMDB-21: Achieved a relative increase in accuracy of 22.0%.
  • UT-Interaction: Achieved a relative increase in accuracy of 14.0%.

Specifically, the method can achieve high accuracy with as little as 1% of the video sequence (e.g., 2 frames out of ~120 for UCF-101). The new loss function consistently outperformed other tested losses, and the multi-stage architecture with both context- and action-aware features provided the best results.

Limitations and Future Work

  • Runtime vs. Accuracy Trade-off: While the proposed method is more efficient than optical flow-based methods, the paper notes that incorporating optical flow can further boost accuracy, suggesting a trade-off between speed and performance.
  • Future Directions: The authors suggest exploring new ways to incorporate additional information sources, such as dense trajectories and human skeletons, into their framework. They also hint at further investigating the benefits of their multi-stage LSTM architecture and average pooling strategy.

Summary updated

BibTeX
@misc{aliakbarian2017encouraging,
  author = {Sadegh Aliakbarian and Fatemehsadat Saleh and Mathieu Salzmann and Basura Fernando and Lars Petersson and Lars Andersson},
  title = {{Encouraging LSTMs to Anticipate Actions Very Early}},
  year = {2017},
  eprint = {1703.07023},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1703.07023},
}
Figure