Skip to main content
QUICK REVIEW

[Paper Review] Few-Shot Video Classification via Temporal Alignment

Kaidi Cao, Jingwei Ji|arXiv (Cornell University)|Jun 27, 2019
Human Pose and Action RecognitionComputer Science46 references16 citations
TL;DR

This paper proposes Temporal Alignment Module (TAM), a few-shot video classification framework that explicitly models long-term temporal ordering by learning adaptive alignment paths between query videos and support set proxies. By using continuous relaxation to enable end-to-end training, TAM achieves state-of-the-art performance, improving top-1 accuracy by ~8% over mean pooling baselines on Kinetics and Something-Something-V2 with only one labeled example per class.

ABSTRACT

There is a growing interest in learning a model which could recognize novel classes with only a few labeled examples. In this paper, we propose Temporal Alignment Module (TAM), a novel few-shot learning framework that can learn to classify a previous unseen video. While most previous works neglect long-term temporal ordering information, our proposed model explicitly leverages the temporal ordering information in video data through temporal alignment. This leads to strong data-efficiency for few-shot learning. In concrete, TAM calculates the distance value of query video with respect to novel class proxies by averaging the per frame distances along its alignment path. We introduce continuous relaxation to TAM so the model can be learned in an end-to-end fashion to directly optimize the few-shot learning objective. We evaluate TAM on two challenging real-world datasets, Kinetics and Something-Something-V2, and show that our model leads to significant improvement of few-shot video classification over a wide range of competitive baselines.

Motivation & Objective

  • To address the challenge of few-shot video classification where labeled data for novel classes is extremely limited.
  • To explicitly model long-term temporal ordering in videos, which is often neglected in prior methods.
  • To develop a differentiable framework that can learn alignment paths end-to-end to improve data efficiency.
  • To overcome non-linear temporal variations across videos that hinder accurate few-shot classification.
  • To outperform existing baselines on real-world video datasets with minimal supervision.

Proposed method

  • TAM computes a temporal alignment score by averaging per-frame cosine distances along a learned alignment path between query and support video features.
  • The alignment path is determined via dynamic programming with continuous relaxation, enabling end-to-end backpropagation.
  • A smoothing parameter λ is introduced to balance gradient flow and stabilize optimization during training.
  • The model uses a Siamese-like backbone to extract deep video features, followed by the TAM module for classification.
  • The final prediction is made by computing the minimum alignment score across all support proxies for each class.
  • The framework is trained end-to-end using a meta-learning objective to optimize few-shot generalization.

Experimental results

Research questions

  • RQ1Can explicit modeling of temporal ordering improve few-shot video classification performance?
  • RQ2How does adaptive temporal alignment compare to fixed or heuristic alignment strategies in few-shot video learning?
  • RQ3To what extent does continuous relaxation enable effective end-to-end training of a temporal alignment module?
  • RQ4How robust is the model to non-linear temporal variations in video sequences?
  • RQ5Does the proposed method generalize across diverse video datasets with varying visual complexity?

Key findings

  • TAM achieves a top-1 accuracy of 73.0% on Kinetics and 85.8% on Something-Something-V2 under the 1-shot setting, outperforming the mean pooling baseline by approximately 8%.
  • On the 5-shot setting, TAM achieves 85.8% top-1 accuracy on Something-Something-V2, significantly exceeding the next best baseline.
  • The ablation study shows that adaptive alignment via TAM improves performance by over 3% across both 1-shot and 5-shot settings compared to baselines like Min, Mean, and Diagonal.
  • The model is robust to the choice of smoothing parameter λ, with optimal performance observed in the range [0.05, 0.1] on both datasets.
  • Qualitative analysis confirms that TAM learns meaningful, temporally coherent alignment paths between query and support videos in an end-to-end manner.
  • The continuous relaxation technique enables effective backpropagation through the alignment path, allowing direct optimization of the few-shot learning objective.

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.