Skip to main content
QUICK REVIEW

[Paper Review] Few-shot Action Recognition with Permutation-invariant Attention

Hongguang Zhang, Li Zhang|arXiv (Cornell University)|Jan 12, 2020
Human Pose and Action RecognitionComputer Science58 references17 citations
TL;DR

This paper proposes a few-shot action recognition framework using permutation-invariant attention to handle variable-length video clips and temporal distribution shifts. By applying augmentation-guided attention via block permutation and self-supervision, the model learns robust, invariant representations that outperform SOTA on HMDB51, UCF101, and miniMIT.

ABSTRACT

Many few-shot learning models focus on recognising images. In contrast, we tackle a challenging task of few-shot action recognition from videos. We build on a C3D encoder for spatio-temporal video blocks to capture short-range action patterns. Such encoded blocks are aggregated by permutation-invariant pooling to make our approach robust to varying action lengths and long-range temporal dependencies whose patterns are unlikely to repeat even in clips of the same class. Subsequently, the pooled representations are combined into simple relation descriptors which encode so-called query and support clips. Finally, relation descriptors are fed to the comparator with the goal of similarity learning between query and support clips. Importantly, to re-weight block contributions during pooling, we exploit spatial and temporal attention modules and self-supervision. In naturalistic clips (of the same class) there exists a temporal distribution shift--the locations of discriminative temporal action hotspots vary. Thus, we permute blocks of a clip and align the resulting attention regions with similarly permuted attention regions of non-permuted clip to train the attention mechanism invariant to block (and thus long-term hotspot) permutations. Our method outperforms the state of the art on the HMDB51, UCF101, miniMIT datasets.

Motivation & Objective

  • Address the challenge of few-shot video action recognition, where labeled video data is scarce and action patterns vary significantly in temporal location.
  • Overcome temporal distribution shift—where discriminative action segments appear at different times across clips of the same class—by enabling attention mechanisms to be invariant to block permutations.
  • Improve representation learning in low-data regimes by combining C3D-based spatio-temporal encoding with permutation-invariant pooling and self-supervised pretraining.
  • Develop a relation-based comparator that learns similarity between query and support clips using attention-weighted, pooled representations.

Proposed method

  • Use a C3D backbone to extract spatio-temporal features from video clips, capturing short-range action patterns in 3D convolutions.
  • Apply permutation-invariant pooling to aggregate variable-length clip representations into fixed-length vectors, discarding long-term non-repetitive dependencies.
  • Introduce an augmentation-guided attention mechanism: during training, clip blocks are permuted and attention weights from permuted and non-permuted passes are aligned via a contrastive loss.
  • Leverage self-supervision via jigsaw and rotation augmentations to pretrain the encoder, comparator, and attention modules, improving robustness under low-shot conditions.
  • Construct relation descriptors by combining query and support clip representations using attention-weighted features, followed by a similarity comparator for few-shot classification.
  • Train the entire pipeline end-to-end with a contrastive loss that encourages high similarity between matching query-support pairs and low similarity between non-matching pairs.

Experimental results

Research questions

  • RQ1Can attention mechanisms be made invariant to temporal and spatial permutations of video blocks to improve robustness in few-shot action recognition?
  • RQ2How does permutation-invariant pooling combined with attention improve generalization when action segments are non-repetitive and temporally variable across clips of the same class?
  • RQ3To what extent does self-supervised pretraining via jigsaw and rotation augmentations enhance feature representation quality in low-data video recognition?
  • RQ4Can a relation-based comparator effectively learn similarity between query and support clips when trained with attention-regularized, pooled representations?
  • RQ5Does the proposed method achieve state-of-the-art performance on standard few-shot action recognition benchmarks like HMDB51, UCF101, and miniMIT?

Key findings

  • The proposed method achieves state-of-the-art performance on the HMDB51 dataset, outperforming prior methods in few-shot action recognition under standard few-shot evaluation protocols.
  • On the UCF101 dataset, the model achieves a significant improvement over existing baselines, particularly in few-shot settings with limited support samples.
  • The method demonstrates strong generalization on the miniMIT dataset, achieving higher accuracy than prior approaches despite the dataset's high class diversity and complex action variations.
  • Ablation studies show that the combination of permutation-invariant attention and self-supervision reduces alignment errors in attention maps, especially under temporal distribution shift.
  • The use of augmentation-guided attention—where attention weights are aligned across permuted and non-permuted clip views—leads to more stable and discriminative feature learning.
  • The model's performance is robust across different few-shot settings, with consistent gains in accuracy when using self-supervised pretraining and attention regularization.

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.