One-stage Action Detection Transformer

Lijun Li, Li'an Zhuo, Bang Zhang

TL;DR

The One-stage Action Detection Transformer (OADT) is a streamlined architecture designed to simultaneously identify action categories and their precise temporal boundaries in untrimmed videos. By leveraging a multi-model ensemble of state-of-the-art video encoders, OADT achieved a 21.28% action mAP, securing first place in the EPIC-KITCHENS-100 2022 Action Detection challenge.

What Problem Does This Paper Address?

Action recognition—simply identifying what is happening in a video clip—is a well-studied field. However, action detection is significantly more complex. It requires a model to look at a long, untrimmed video and determine not just the action, but exactly when it starts and ends (temporal boundaries).

Traditional approaches often rely on a two-stage pipeline: first, they generate a set of "proposals" (potential action segments), and then a separate module classifies those proposals. This two-step process can be computationally expensive and may fail to capture the nuanced temporal connections between segments. The authors of this paper aimed to bridge this gap by proposing a "one-stage" transformer-based network that handles classification and boundary regression in a single, synchronous pass.

Methods

The OADT architecture consists of three primary components, as illustrated in the overview below:

Figure 1. Overview of our proposed OADT. It is composed of three parts: video encoder which extracts clip-level features from untrimmed videos, transformer neck that takes in the clip embeddings and performs self-attention and detection heads which classify the clips and regress the time boundary.
  1. Video Encoders: Because raw video is too memory-intensive to process directly, the authors use five different high-performance video encoders (Omnivore, MViT, Motionformer, SlowFast, and TimeSformer) to extract clip-level features. These encoders are pre-trained on large-scale action recognition datasets.
  2. Transformer Neck: This component takes the clip embeddings and processes them through a sequence of transformer layers. Crucially, it creates a feature pyramid with different temporal resolutions. This allows the model to capture actions that vary greatly in length—from a quick "pick up" to a long "wash dishes."
  3. Detection Heads: Unlike two-stage models, these heads predict $N$ results directly. They use several fully connected layers to predict the verb class, noun class, and the start/end times (regression) simultaneously. The final action label is generated by combining the verb and noun predictions.

Datasets

The primary benchmark for this work is EPIC-KITCHENS-100, a large-scale egocentric (first-person) dataset. It is particularly challenging because it features fine-grained daily activities in a kitchen setting, where boundaries between actions are often ambiguous.

For pre-training the video encoders, the authors utilized the Kinetics-600 dataset before fine-tuning them on EPIC-KITCHENS-100 for the specific detection task.

Key Insights and Ideas

  • One-Stage Efficiency: By moving to a one-stage transformer architecture, the model avoids the overhead of proposal generation, allowing for a more direct mapping from video features to action boundaries.
  • The Power of Ensembling: The authors found that different video encoders have different strengths. By training separate OADT models on features from five different encoders and ensembling them, they achieved a significant performance boost (roughly 1.45% higher mAP than the best single model).
  • Verb-Noun Decomposition: In egocentric tasks, actions are often defined by a verb and a noun (e.g., "Squeeze" + "Lemon"). Predicting these separately and then combining them proved to be an effective strategy for handling the massive variety of actions in the dataset.

Key Results

The OADT model demonstrated state-of-the-art performance on the EPIC-KITCHENS-100 test set.

  • Top Ranking: The ensemble model reached 21.28% action mAP, ranking 1st in the 2022 challenge and outperforming the previous year's winner by 5%.
  • Encoder Comparison: On the validation set, Omnivore emerged as the strongest single video encoder, achieving 22.57% mAP, followed by Motionformer and MViT.
Table 2. Detection results on EPIC-KITCHENS-100 validation set.

The final test set results (shown below) highlight the model's particular strength in verb classification, where it outperformed prior work by a margin of over 3%.

Table 1. Final results on EPIC-KITCHENS-100 test set.

Limitations and Future Work

While the paper focuses on the success of the OADT model, a few inherent limitations are noted:

  • Memory Constraints: The model cannot process raw video directly due to device memory limits, necessitating the use of pre-extracted clip-level features. This adds a pre-processing step that prevents a truly end-to-end "pixels-to-detections" pipeline.
  • Post-Processing: The model still relies on Soft-NMS (Non-Maximum Suppression) to clean up redundant action segments during inference, suggesting that the transformer neck doesn't perfectly resolve overlapping predictions on its own.

Future work might explore more memory-efficient ways to process raw video or investigate even tighter integration between the spatial features of the encoders and the temporal reasoning of the transformer neck.

Summary updated

BibTeX
@misc{li2022one,
  author = {Lijun Li and Li'an Zhuo and Bang Zhang},
  title = {{One-stage Action Detection Transformer}},
  year = {2022},
  eprint = {2206.10080},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.10080},
}
Figure