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

How can objects help action recognition?

Xingyi Zhou, Anurag Arnab, Chen Sun, Cordelia Schmid

Introduction

Modern video understanding relies heavily on Vision Transformers (ViTs), which treat a video as a massive sequence of small spatio-temporal "patches" or tokens. While powerful, this approach is computationally expensive and inherently inefficient. Most of a video is often redundant—think of a static kitchen background while someone picks up a spoon.

Previous attempts to make these models more efficient usually involved "token dropping" (discarding patches), but this often leads to a "chicken-and-egg" problem: the model needs high-quality features to know which tokens are safe to drop, but it needs to process many tokens to learn those high-quality features in the first place. Consequently, accuracy usually takes a hit. ObjectViViT addresses this by using external knowledge—specifically, object locations—to guide token selection and improve recognition.

Methods

The authors introduce ObjectViViT, which incorporates two novel components into the standard ViViT (Video Vision Transformer) architecture:

  1. Object-Guided Token Sampling (OGS): Instead of learning which tokens to drop from scratch, the model uses off-the-shelf object detectors to create "objectness" heatmaps. Tokens covering objects (foreground) are prioritized and kept. Background tokens are aggressively downsampled (around 10% sampling) to provide context without overwhelming the model with redundant data.
  2. Object-Aware Attention Module (OAM): To better model how objects interact, the authors create specific "object tokens." These are generated by pooling patch features based on an object's heatmap. These object tokens are then injected into specific transformer layers (2, 6, and 11), allowing the model to explicitly reason about object-to-patch and object-to-object relationships.
ObjectViViT architecture overview

Datasets

The model was evaluated on three major benchmarks focused on fine-grained actions and human-object interactions:

  • Something-Something v2 (SSv2): Human interactions with everyday objects.
  • SomethingElse: A compositional split of SSv2 testing generalization to unseen objects.
  • Epic-Kitchens: An egocentric dataset of cooking activities.

Key Results and Insights

ObjectViViT demonstrates that "less is more" in video recognition. By using object detections to prune redundant background data, the model achieves significant efficiency gains and accuracy boosts.

  • Efficiency Gains: ObjectViViT matches the baseline performance of a full-token ViViT using only 30% of tokens on SomethingElse, 40% on SSv2, and 60% on Epic-Kitchens.
  • Superior Accuracy: When using the same number of tokens as the baseline, ObjectViViT improves Top-1 accuracy by 0.6 to 4.2 points across the three datasets.
  • The "Oracle" Limit: If given perfect ground-truth object boxes, the model can match the baseline's performance using a mere 10% of the input tokens.
Performance vs. token budget across datasets

A key insight is that efficiency acts as a regularizer. Dropping tokens forces the model to focus on foreground objects during training, leading to more robust representations of actions.

Limitations and Future Work

The primary limitation is the computational overhead of the detector. While ObjectViViT processes fewer tokens in the Transformer backbone, it requires running an external object detector first. Future work should focus on integrating lightweight, "on-the-fly" detectors directly into the video backbone. Additionally, it remains an open question which specific detection metrics best correlate with a detector's ability to help a model recognize actions.

Summary updated

BibTeX
@inproceedings{zhou2023how,
  author = {Xingyi Zhou and Anurag Arnab and Chen Sun and Cordelia Schmid},
  title = {{How can objects help action recognition?}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
}
Figure