Skip to main content
QUICK REVIEW

[Paper Review] Few-Shot Action Recognition with Compromised Metric via Optimal Transport

Lü Su, Han-Jia Ye|arXiv (Cornell University)|Apr 8, 2021
Human Pose and Action RecognitionComputer Science45 references14 citations
TL;DR

This paper proposes Compromised Metric via Optimal Transport (CMOT), a novel metric learning framework for few-shot action recognition that jointly models semantic content and temporal ordering through optimal transport. By formulating video comparison as an optimal transport problem between segment sequences and penalizing positional misalignments, CMOT achieves state-of-the-art performance on UCF-101, HMDB-51, and SMSM-V2 by balancing content-sensitive and ordering-sensitive tasks.

ABSTRACT

Although vital to computer vision systems, few-shot action recognition is still not mature despite the wide research of few-shot image classification. Popular few-shot learning algorithms extract a transferable embedding from seen classes and reuse it on unseen classes by constructing a metric-based classifier. One main obstacle to applying these algorithms in action recognition is the complex structure of videos. Some existing solutions sample frames from a video and aggregate their embeddings to form a video-level representation, neglecting important temporal relations. Others perform an explicit sequence matching between two videos and define their distance as matching cost, imposing too strong restrictions on sequence ordering. In this paper, we propose Compromised Metric via Optimal Transport (CMOT) to combine the advantages of these two solutions. CMOT simultaneously considers semantic and temporal information in videos under Optimal Transport framework, and is discriminative for both content-sensitive and ordering-sensitive tasks. In detail, given two videos, we sample segments from them and cast the calculation of their distance as an optimal transport problem between two segment sequences. To preserve the inherent temporal ordering information, we additionally amend the ground cost matrix by penalizing it with the positional distance between a pair of segments. Empirical results on benchmark datasets demonstrate the superiority of CMOT.

Motivation & Objective

  • Address the limitation of existing few-shot action recognition methods that either ignore temporal order (aggregation-based) or overly restrict sequence alignment (matching-based).
  • Develop a unified metric learning framework that simultaneously captures semantic content and temporal structure in videos.
  • Balance discriminative power for both content-sensitive actions (e.g., pushing vs. pulling) and ordering-sensitive actions (e.g., left-to-right vs. right-to-left motion).
  • Enable effective few-shot generalization by leveraging a pre-trained 3D CNN and optimal transport to compute video-level distances.

Proposed method

  • Sample M=4 uniform segments from each video, each consisting of 16 consecutive frames, and extract their embeddings using a pre-trained C3D network.
  • Formulate the distance between two videos as an optimal transport problem between their segment sequences, using a fused cost matrix combining semantic and positional costs.
  • Construct a semantic cost matrix from the L2 distance between segment embeddings, then augment it with a positional penalty based on segment index differences.
  • Apply a smoothing hyper-parameter λ = 7×med(C) to stabilize the optimal transport computation and ensure numerical robustness.
  • Use a weighted combination of semantic and positional costs via α=0.4 (UCF-101, HMDB-51) and α=0.8 (SMSM-V2), with σ=1.2 for all datasets.
  • Train the model using SGD with separate learning rates (0.001 for C3D, 0.01 for other parameters), decaying by 0.2 every 2000 episodes.

Experimental results

Research questions

  • RQ1Can a unified metric learning framework effectively balance semantic content and temporal ordering in few-shot action recognition?
  • RQ2How does optimal transport with positional regularization improve performance on both content-sensitive and ordering-sensitive action classes?
  • RQ3To what extent does CMOT outperform aggregation-based and matching-based baselines on standard few-shot action recognition benchmarks?
  • RQ4How sensitive is CMOT’s performance to hyperparameter choices such as α and σ across different datasets?

Key findings

  • CMOT achieves state-of-the-art performance on UCF-101, HMDB-51, and SMSM-V2 under N-way K-shot settings, demonstrating superior generalization.
  • On UCF-101, CMOT achieves a 5-way 1-shot accuracy of 85.2%, outperforming prior methods that rely solely on frame aggregation or strict sequence matching.
  • On HMDB-51, CMOT achieves a 5-way 1-shot accuracy of 68.9%, showing strong robustness on more challenging, action-ambiguous videos.
  • On SMSM-V2, CMOT achieves a 5-way 1-shot accuracy of 74.1%, confirming its effectiveness on fine-grained, long-horizon action recognition.
  • Ablation studies confirm that both semantic and positional cost components are essential, with the positional penalty significantly improving performance on ordering-sensitive actions.
  • The method is robust to hyperparameter variations, with optimal performance achieved at α=0.8 for SMSM-V2 and α=0.4 for UCF-101 and HMDB-51.

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.