TL;DR
This paper introduces TransAction, a hierarchical Transformer-based model for egocentric action anticipation. By effectively fusing temporal, multi-modal, and verb-noun interaction information, TransAction achieves state-of-the-art results, particularly excelling in predicting verb classes and improving performance on long-tailed action distributions.
What Problem Does This Paper Address?
Egocentric action anticipation, the task of predicting what a person will do next based on first-person camera footage, is a challenging problem. Future actions are inherently uncertain, and the sensory input from an egocentric camera can be asynchronous and multi-modal (visual, motion, object information). Traditional sequential models like RNNs can struggle to effectively capture long-range dependencies and the complex interplay between different information sources. Furthermore, real-world action datasets often exhibit a "long-tailed" distribution, where a few actions are very common, and many are rare, making it difficult for models to generalize to less frequent actions.
Methods
The core of TransAction is a hierarchical attention model built upon the Transformer architecture. It comprises three key attention modules:
- Temporal Self-Attention (TSA): This module uses Transformer's self-attention mechanism to model long-range temporal relationships within the input features, overcoming the limitations of traditional sequential models in capturing asynchronous effects.
- Cross-Modality Attention (CMA): This module fuses information from different modalities (RGB, optical flow, and object features) by applying Transformer-based attention. This allows the model to leverage complementary information across these sources.
- Symbiotic Attention (SA): Egocentric actions are often described as a "verb, noun" pair. This module models the mutual interaction between the verb and noun prediction branches. The idea is that knowing the likely next verb can inform the prediction of the next object (noun), and vice-versa, creating a symbiotic relationship.
These modules are arranged in a cascaded architecture, where blocks of TSA, CMA, and SA are repeated. For handling the long-tailed distribution of actions, the authors employ Equalization Loss, a technique that selectively neglects updating rare classes during training to prevent them from being overwhelmed by majority classes.
Datasets
The paper evaluates its method on the EPIC-Kitchens Action Anticipation Challenge 2021 dataset. This dataset is used for both training and testing, and it is characterized by its long-tailed distribution of actions.
Key Insights and Ideas
- Transformer for Temporal Modeling: Applying Transformer's self-attention for temporal modeling proves more effective than traditional RNNs for capturing long-range and asynchronous dependencies in egocentric videos.
- Synergistic Verb-Noun Prediction: Explicitly modeling the interaction between verb and noun predictions (Symbiotic Attention) is crucial for improving action anticipation, as these two components are not independent.
- Addressing Long-Tail Distributions: The Equalization Loss is a vital component for achieving good performance on rare actions, demonstrating the importance of specialized loss functions for imbalanced datasets.
- Hierarchical Fusion: A hierarchical approach that progressively fuses information across time, modalities, and semantic branches (verb/noun) leads to a robust action anticipation system.
Key Results
The TransAction submission achieved strong results in the EPIC-Kitchens Action Anticipation Challenge 2021:
- Overall Performance: The single model achieved a Mean Top-5 Recall of 13.39% on the overall test set, 10.05% on unseen subsets, and 11.88% on tailed subsets.
- Verb Class Dominance: Notably, the submission ranked 1st in terms of verb class prediction across all three subsets (overall, unseen, and tailed).
- Ablation Studies: Ablation studies confirmed the effectiveness of each component, with the full TransAction model outperforming variants that removed CMA, SA, or used standard cross-entropy loss.
- Ensemble Performance: An ensemble of three trained TransAction models, combined with the baseline RULSTM-Fusion, led to further slight improvements, particularly on the tail action classes.
Limitations and Future Work
- Leaderboard Observations: The authors note that other teams reported marginally preferable results for action prediction on the leaderboard, suggesting room for improvement.
- Future Directions: The authors suggest future work should focus on:
- Further exploring the symbiotic relationship between verb and noun for enhanced action classification.
- Modeling the temporal transition of different actions more effectively.
- Developing better strategies for handling label uncertainty.
Summary updated