ReLER@ZJU Submission to the Ego4D Moment Queries Challenge 2022

Jiayi Shao, Xiaohan Wang, Yi YangarXiv 2022

Abstract

In this report, we present the ReLER@ZJU submission to the Ego4D Moment Queries Challenge in ECCV 2022. In this task, the goal is to retrieve and localize all instances of possible activities in egocentric videos. Ego4D dataset is challenging for the temporal action localization task as the temporal duration of the videos is quite long and each video contains multiple action instances with fine-grained action classes. To address these problems, we utilize a multi-scale transformer to classify different action categories and predict the boundary of each instance. Moreover, in order to better capture the long-term temporal dependencies in the long videos, we propose a segment-level recurrence mechanism. Compared with directly feeding all video features to the transformer encoder, the proposed segment-level recurrence mechanism alleviates the optimization difficulties and achieves better performance. The final submission achieved Recall@1,tIoU=0.5 score of 37.24, average mAP score of 17.67 and took 3-rd place on the leaderboard.

Introduction

The Ego4D Moment Queries (MQ) task represents a significant challenge in Temporal Action Localization (TAL). Unlike traditional action recognition, TAL requires models to process long, untrimmed videos and accurately identify the start and end times of specific actions. The Ego4D dataset is particularly demanding due to the extreme duration of videos (averaging over 10 minutes) and the fine-grained, often overlapping nature of the actions captured from a first-person perspective. Standard self-attention mechanisms in Transformers face computational bottlenecks and optimization difficulties when processing such long sequences in their entirety.

Methodology

The proposed framework is built upon Actionformer, a multi-scale Transformer architecture designed for temporal localization. The pipeline comprises three primary stages:

  1. Feature Extraction: Visual features are extracted using two complementary backbones: SlowFast and Omnivore. These features are concatenated to provide a robust representation of both temporal dynamics and spatial context.
  2. Multi-Scale Transformer with FPN: To accommodate actions of varying temporal scales, the model employs a Feature Pyramid Network (FPN). This structure progressively downsamples features, enabling the model to detect both short-lived and long-duration actions across different temporal resolutions.
  3. Segment-level Recurrence (XL-Mechanism): To handle long-range dependencies without the overhead of processing the entire video at once, a segment-level recurrence mechanism is introduced. Inspired by Transformer-XL, this approach splits the video into segments while caching hidden states from previous segments. This allows the model to maintain context across segment boundaries, mitigating context fragmentation.
Overall architecture of the proposed method, including the multi-scale transformer and the XL-mechanism for segment-level recurrence.

Results and Discussion

The ReLER@ZJU team secured 3rd place in the Ego4D MQ challenge, achieving a Recall@1 (tIoU=0.5) of 37.24 and an average mAP of 17.67.

Ablation studies highlight the effectiveness of the segment-level recurrence mechanism. As shown in the table below, the "base+XL" configuration outperforms the base model and simple sequence splitting methods across all primary metrics. Specifically, the average mAP improved from 13.92 to 14.84, demonstrating that the recurrence mechanism effectively captures long-term dependencies that are otherwise lost or difficult to optimize.

Ablation study comparing the base model, sequence splitting, and the proposed XL-mechanism on the Ego4D MQ task.

Despite these gains, the model faces challenges with very short actions, where boundary sensitivity is high, and very long actions, which can sometimes result in fragmented predictions.

Conclusion

By integrating a segment-level recurrence mechanism into a multi-scale Transformer, the ReLER@ZJU team successfully addressed the challenges of long-form egocentric video localization. This approach provides a more scalable and optimizable solution for capturing long-term temporal context, leading to competitive performance in the Ego4D Moment Queries Challenge. Future work will focus on improving boundary precision for short actions and ensuring better continuity for long-duration activities.

Summary updated

BibTeX
@misc{shao2022reler,
  author = {Jiayi Shao and Xiaohan Wang and Yi Yang},
  title = {{ReLER@ZJU Submission to the Ego4D Moment Queries Challenge 2022}},
  year = {2022},
  eprint = {2211.09558},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.09558},
}
Figure