Trajectory-aligned Space-time Tokens for Few-shot Action Recognition
Pulkit Kumar, Namitha Padmanabhan, Luke Luo, Sai Saketh Rambhatla, Abhinav Shrivastava
TL;DR
This work tackles few-shot action recognition by decoupling motion and appearance. It introduces Trajectory-aligned Tokens (TATs) that fuse point trajectories from tracking with self-supervised DINOv2 patch tokens, aligned via a grid sampler and fed to a Masked Space-Time Transformer. A Bi-MHM-based set matching and cross-entropy loss drive episode-based learning, achieving state-of-the-art results across multiple benchmarks with reduced data and training requirements. The approach emphasizes efficiency—training only the transformer while leveraging offline trackers and self-supervised features—making it practical for real-world few-shot action recognition.
Abstract
We propose a simple yet effective approach for few-shot action recognition, emphasizing the disentanglement of motion and appearance representations. By harnessing recent progress in tracking, specifically point trajectories and self-supervised representation learning, we build trajectory-aligned tokens (TATs) that capture motion and appearance information. This approach significantly reduces the data requirements while retaining essential information. To process these representations, we use a Masked Space-time Transformer that effectively learns to aggregate information to facilitate few-shot action recognition. We demonstrate state-of-the-art results on few-shot action recognition across multiple datasets. Our project page is available at https://www.cs.umd.edu/~pulkit/tats
