NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Video Action Transformer Network

Rohit Girdhar, João Carreira, Carl Doersch, Andrew Zisserman · DOI

Abstract

We introduce the Action Transformer model for recognizing and localizing human actions in video clips. We repurpose a Transformer-style architecture to aggregate features from the spatiotemporal context around the person whose actions we are trying to classify. We show that by using high-resolution, person-specific, class-agnostic queries, the model spontaneously learns to track individual people and to pick up on semantic context from the actions of others. Additionally its attention mechanism learns to emphasize hands and faces, which are often crucial to discriminate an action - all without explicit supervision other than boxes and class labels. We train and test our Action Transformer network on the Atomic Visual Actions (AVA) dataset, outperforming the state-of-the-art by a significant margin using only raw RGB frames as input.

Introduction

Identifying human actions in video is fundamentally a relational task. Many "atomic" actions are defined by interactions with the environment: a person is not just "listening," but listening to someone; they are not just "reaching," but reaching for an object. Traditional video models often fail to capture these fine-grained spatial relationships, either by focusing too narrowly on a person's bounding box or by using global pooling that loses spatial context.

The Action Transformer Network addresses this by leveraging the self-attention mechanism of Transformers to selectively aggregate information from the surrounding scene. By treating a person’s features as a query and the entire video clip as memory, the model learns to "look" at relevant objects and people to understand a specific individual's actions.

Conceptual overview of the Action Transformer pipeline, showing how context embeddings and person-specific attention lead to action classification.

Methods

The Action Transformer Network consists of two primary components: a feature extraction "trunk" and an "Action Transformer (Tx) head."

The Trunk

The base network uses an I3D (Inflated 3D ConvNet) architecture to extract spatiotemporal features from a 64-frame video clip. A Region Proposal Network (RPN) is applied to the center frame of the clip to identify potential person bounding boxes.

The Action Transformer (Tx) Head

The Tx head adapts the Transformer's Query-Key-Value ($QKV$) mechanism for video data:

  • Query ($Q$): Features are extracted from a specific person's bounding box using RoIPool. Crucially, the model uses HighRes query preprocessing, preserving the spatial layout within the box rather than averaging features, which aids in localization.
  • Keys ($K$) and Values ($V$): The entire spatiotemporal feature map from the I3D trunk serves as the memory.
  • Mechanism: For each detected person, the Tx head uses their features to query the video. The attention mechanism identifies relevant regions (e.g., an object being held or a person being spoken to) and aggregates their features to augment the primary person's representation.
Detailed architecture of the Action Transformer Network, illustrating the I3D trunk, RPN, and the internal structure of the multi-head Transformer unit.

Datasets and Evaluation

The model was primarily evaluated on the Atomic Visual Actions (AVA) v2.1 dataset, which contains 211k training clips. AVA is particularly challenging because it features multiple people performing multiple simultaneous actions, labeled at 1-second intervals. The I3D trunk was pre-trained on the Kinetics-400 dataset to provide a robust starting point for action classification.

Key Insights

  • Implicit Semantic Focus: Without explicit supervision, the attention maps show the model focusing on hands and faces—the most discriminative regions for human actions. It also learns to "track" individuals across the temporal window.
  • Contextual Reasoning: The model successfully learns to attend to objects of interaction (e.g., tools, furniture) and other people, confirming the effectiveness of the Transformer architecture for relational tasks.
  • Efficiency of RGB: The Action Transformer achieves state-of-the-art results using only raw RGB frames, outperforming previous methods that required complex multi-modal ensembles (e.g., optical flow and audio).

Results

The Action Transformer achieved a significant performance leap on the AVA v2.1 test set, reaching 25.0% mAP, compared to the previous state-of-the-art of 17.4%. Ablation studies showed that replacing a standard I3D classification head with the Tx head provided a ~5% absolute boost in performance. Furthermore, the Tx head is computationally efficient, adding minimal overhead to the base trunk.

Conclusion and Future Work

While the Action Transformer sets a new benchmark, human action recognition remains a difficult problem. Current limitations include confusing similar gestures (e.g., "smoking" vs. "holding an object") and difficulty in precisely defining temporal boundaries of actions. Future work may involve incorporating additional modalities like audio or motion flow to further enhance the model's contextual understanding.

Summary updated

BibTeX
@inproceedings{girdhar2018video,
  author = {Rohit Girdhar and João Carreira and Carl Doersch and Andrew Zisserman},
  title = {{Video Action Transformer Network}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  doi = {10.1109/cvpr.2019.00033},
}
Figure