Temporal-Relational CrossTransformers for Few-Shot Action Recognition

Toby Perrett, Alessandro Masullo, Tilo Burghardt, Majid Mirmehdi, Dima Damen
1/15/2021
231 citations
cs.CV

Official code: tobyperrett/trx (113 stars, Python, last commit 2021-03-31).

Abstract

We propose a novel approach to few-shot action recognition, finding temporally-corresponding frame tuples between the query and videos in the support set. Distinct from previous few-shot works, we construct class prototypes using the CrossTransformer attention mechanism to observe relevant sub-sequences of all support videos, rather than using class averages or single best matches.

Show full abstract

Video representations are formed from ordered tuples of varying numbers of frames, which allows sub-sequences of actions at different speeds and temporal offsets to be compared. Our proposed Temporal-Relational CrossTransformers (TRX) achieve state-of-the-art results on few-shot splits of Kinetics, Something-Something V2 (SSv2), HMDB51 and UCF101. Importantly, our method outperforms prior work on SSv2 by a wide margin (12%) due to the its ability to model temporal relations. A detailed ablation showcases the importance of matching to multiple support set videos and learning higher-order relational CrossTransformers.

View on arXivView PDF

Code Implementations(1)

tobyperrett/trxOfficial100%

Temporal-Relational CrossTransformers (CVPR 2021)

11319PythonJan 15, 20215 years ago

Similar Papers

Cite this paper

@article{perrett2021temporalrelational,
  title  = {Temporal-Relational CrossTransformers for Few-Shot Action Recognition},
  author = {Toby Perrett and Alessandro Masullo and Tilo Burghardt and Majid Mirmehdi and Dima Damen},
  year   = {2021},
  eprint = {2101.06184},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2101.06184}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2101.06184.svg)](https://codeofpaper.com/paper/2101.06184)

Discussion