With a Little Help from my Temporal Context: Multimodal Egocentric Action Recognition

Evangelos Kazakos, Jaesung Huh, Arsha Nagrani, Andrew Zisserman, Dima Damen

TL;DR

This paper introduces a novel multimodal transformer network (MTCN) that leverages temporal context from both visual and auditory cues, as well as a language model, to significantly improve egocentric action recognition. By considering surrounding actions and their labels, MTCN achieves state-of-the-art performance on challenging egocentric datasets, demonstrating the power of contextual information.

What Problem Does This Paper Address?

Egocentric action recognition, where actions are captured from a first-person perspective, presents unique challenges compared to traditional third-person action recognition. Actions are often fine-grained, short (sometimes less than a second), and occur in rapid succession within long, untrimmed videos. This makes it difficult to isolate and recognize individual actions based solely on their immediate visual or auditory information. The paper addresses this by proposing a method that explicitly models the temporal context – the sequence of actions that precede and follow the action of interest – to enhance recognition accuracy.

Methods

The core of the proposed method is the Multimodal Temporal Context Network (MTCN), built upon a transformer architecture. MTCN integrates three modalities:

  • Audio-Visual Transformer: This component takes sequences of visual and audio features as input. It uses self-attention to aggregate temporal context from neighboring actions, incorporating both modality-specific and positional encodings to preserve temporal order. A two-head classifier predicts verb and noun classes for the central action.
  • Language Model: A Masked Language Model (MLM), inspired by BERT, is trained independently on action label sequences. This model learns the prior probability of action sequences, allowing it to filter out improbable predictions from the audio-visual transformer and re-score them.
  • Inference: During inference, a beam search is used to find the most probable action sequences. The probabilities from the audio-visual transformer and the language model are then combined to produce the final prediction.

The paper also explores variations in positional encodings and the number of transformer layers, finding that absolute learnable positional encodings and a multi-layered transformer are beneficial.

Datasets

The authors evaluate their method on two prominent egocentric action recognition datasets:

  • EPIC-KITCHENS-100: A large-scale, unscripted egocentric audio-visual dataset featuring daily activities. It's noted for its naturally variable action sequences.
  • EGTEA: A video-only egocentric dataset focused on cooking activities.

Key Insights and Ideas

  • Temporal Context is Crucial: The paper strongly demonstrates that considering actions before and after the target action significantly boosts recognition performance, especially for fine-grained egocentric actions.
  • Multimodality Matters: Integrating audio alongside visual information provides complementary cues that enhance action recognition, particularly for verbs.
  • Language Models as Powerful Refiners: A language model trained on action sequences acts as an effective re-scorer, filtering out improbable predictions and improving overall accuracy, especially for nouns where object persistence can provide strong contextual cues.
  • Verb vs. Noun Distinction: The model's ability to separately attend to verb and noun embeddings allows it to better handle the distinct temporal dynamics of actions and objects.

Key Results

  • State-of-the-Art Performance: MTCN achieves state-of-the-art results on both EPIC-KITCHENS-100 and EGTEA datasets, outperforming previous methods, including strong convolutional and transformer-based approaches.
  • Significant Gains from Context: Performance consistently improves with increasing temporal context window size (up to w=9 for EPIC-KITCHENS), highlighting the effectiveness of the proposed contextual modeling.
  • Modality Contributions: Ablation studies show that both audio and language modalities contribute positively to performance, with audio being particularly beneficial for verbs and language for nouns.
  • Efficiency: MTCN uses a lightweight transformer on pre-extracted features, making it more parameter-efficient than end-to-end trained high-capacity models.

Limitations and Future Work

  • Online Recognition: While the paper focuses on offline recognition, it notes that the model can be adapted for online recognition by predicting the last action in a sequence. However, performance degrades without future context.
  • Actionness Score: The authors suggest that incorporating an "actionness" score for neighboring frames could help distinguish background from actual actions, bridging recognition and detection.
  • Temporal Bounds: Extending the model to learn from action sequences in untrimmed videos without explicit temporal bounds during testing is a promising future direction.
  • EGTEA Language Model Boost: The language model provides a larger performance boost on EGTEA compared to EPIC-KITCHENS, possibly due to the absence of audio modality in EGTEA. This suggests that the language model's prior knowledge is more critical when other modalities are limited.

Summary updated

Abstract

In egocentric videos, actions occur in quick succession. We capitalise on the action's temporal context and propose a method that learns to attend to surrounding actions in order to improve recognition performance. To incorporate the temporal context, we propose a transformer-based multimodal model that ingests video and audio as input modalities, with an explicit language model providing action sequence context to enhance the predictions. We test our approach on EPIC-KITCHENS and EGTEA datasets reporting state-of-the-art performance. Our ablations showcase the advantage of utilising temporal context as well as incorporating audio input modality and language model to rescore predictions. Code and models at: https://github.com/ekazakos/MTCN.
BibTeX
@inproceedings{kazakos2021with,
  author = {Evangelos Kazakos and Jaesung Huh and Arsha Nagrani and Andrew Zisserman and Dima Damen},
  title = {{With a Little Help from my Temporal Context: Multimodal Egocentric Action Recognition}},
  booktitle = {BMVC},
  year = {2021},
  url = {https://openreview.net/forum?id=uhrKBEJLmM},
}
Figure