Skip to main content
QUICK REVIEW

[Paper Review] ActionFormer: Localizing Moments of Actions with Transformers

Chenlin Zhang, Jianxin Wu|arXiv (Cornell University)|Feb 16, 2022
Human Pose and Action RecognitionComputer Science15 citations
TL;DR

ActionFormer proposes a single-stage, anchor-free Transformer model for temporal action localization that classifies every moment in a video and regresses action boundaries using local self-attention and a lightweight decoder. Without action proposals or anchor windows, it achieves 71.0% mAP at tIoU=0.5 on THUMOS14, surpassing prior methods by 14.1 percentage points.

ABSTRACT

Self-attention based Transformer models have demonstrated impressive results for image classification and object detection, and more recently for video understanding. Inspired by this success, we investigate the application of Transformer networks for temporal action localization in videos. To this end, we present ActionFormer -- a simple yet powerful model to identify actions in time and recognize their categories in a single shot, without using action proposals or relying on pre-defined anchor windows. ActionFormer combines a multiscale feature representation with local self-attention, and uses a light-weighted decoder to classify every moment in time and estimate the corresponding action boundaries. We show that this orchestrated design results in major improvements upon prior works. Without bells and whistles, ActionFormer achieves 71.0% mAP at tIoU=0.5 on THUMOS14, outperforming the best prior model by 14.1 absolute percentage points. Further, ActionFormer demonstrates strong results on ActivityNet 1.3 (36.6% average mAP) and EPIC-Kitchens 100 (+13.5% average mAP over prior works). Our code is available at http://github.com/happyharrycn/actionformer_release.

Motivation & Objective

  • To develop a simple yet powerful Transformer-based model for temporal action localization without relying on action proposals or anchor windows.
  • To investigate the effectiveness of local self-attention and feature pyramid integration in modeling long-range temporal dependencies for action localization.
  • To establish a strong single-stage baseline for temporal action localization across diverse benchmarks, including untrimmed and egocentric videos.
  • To demonstrate that a minimalist design with standard classification and regression losses can outperform complex two-stage or anchor-based models.

Proposed method

  • ActionFormer uses a multiscale feature representation extracted from a video using a two-stream I3D or SlowFast backbone, followed by a feature pyramid to represent each moment as a candidate.
  • Local self-attention is applied to model long-range temporal context across the feature pyramid, enabling the model to capture dependencies between action candidates.
  • A lightweight convolutional decoder is used to classify each candidate into action categories and to regress the distances from each candidate to the true action onset and offset.
  • The model is trained using standard cross-entropy loss for classification and smooth L1 loss for boundary regression, with end-to-end optimization.
  • Inference involves decoding the predicted scores and offsets to generate action instances with their temporal boundaries and labels.
  • The method is applied uniformly across datasets, with input features adapted to resolution, frame rate, and modality (e.g., two-stream I3D for THUMOS14, SlowFast for EPIC-Kitchens).

Experimental results

Research questions

  • RQ1Can a single-stage, anchor-free Transformer model achieve state-of-the-art performance in temporal action localization without using action proposals or pre-defined anchor windows?
  • RQ2How effective is local self-attention in modeling long-range temporal dependencies for action localization in untrimmed videos?
  • RQ3To what extent can a simple, unified architecture with standard losses outperform complex two-stage or anchor-based models on diverse benchmarks?
  • RQ4How does the model generalize across different video domains, including untrimmed, long-form, and egocentric videos?

Key findings

  • ActionFormer achieves 71.0% mAP at tIoU=0.5 on the THUMOS14 benchmark, representing a 14.1 absolute percentage point improvement over the best prior method.
  • On ActivityNet 1.3, ActionFormer achieves an average mAP of 36.6%, demonstrating strong generalization to long-tailed, diverse action distributions.
  • On the challenging EPIC-Kitchens 100 dataset, ActionFormer improves average mAP by over 13.5 percentage points compared to prior works, highlighting its effectiveness in egocentric action localization.
  • The model achieves these results with a minimalist design, using only standard classification and regression losses, without complex proposal generation or decoding pipelines.
  • Extensive ablation studies confirm the importance of local self-attention and the feature pyramid, showing significant performance drops when these components are removed.
  • The method is reproducible across different hardware and environments, with minor mAP variations (≤0.8% on EPIC-Kitchens), confirming robustness and reliability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.