SITAR: Semi-supervised Image Transformer for Action Recognition

Owais Iqbal, Omprakash Chakraborty, Aftab Hussain, Rameswar Panda, Abir Das

Abstract

Video Action Recognition (VAR) is traditionally constrained by the high cost of temporal annotations and the immense computational requirements of 3D modeling. This paper introduces SITAR (Semi-supervised Image Transformer for Action Recognition), a framework that leverages 2D Image Transformers for video tasks by restructuring video frames into "super images." By employing a dual-pathway contrastive learning strategy—incorporating both instance-level and group-level losses—SITAR achieves state-of-the-art performance in semi-supervised settings. Notably, SITAR reduces parameter counts by up to 28% and FLOPs by 45% compared to existing 3D-based models, offering a 5x speedup in inference.

1. Introduction

The field of Video Action Recognition (VAR) has seen significant progress, yet it remains bottlenecked by two primary factors: the "Annotation Bottleneck" and "Computational Complexity." Labeling video data is inherently more labor-intensive than labeling static images, requiring precise temporal boundary identification. Furthermore, the transition from 2D to 3D architectures (e.g., 3D CNNs or 3D Transformers) to capture spatio-temporal dynamics has led to models that are computationally expensive and slow to deploy.

SITAR addresses these challenges by reimagining video processing through a 2D lens. By utilizing semi-supervised learning (SSL), the framework effectively utilizes large volumes of unlabeled data, reducing the reliance on exhaustive manual annotations while maintaining high efficiency.

2. Methodology

SITAR’s architecture is built upon three core innovations: Super Image Construction, a Two-Pathway Contrastive Learning framework, and a Dual Loss objective.

2.1 Super Image Construction

Rather than processing videos as 3D volumes, SITAR rearranges multiple frames into a single 2D grid, termed a "super image." For instance, a sequence of frames can be tiled into a $3 \times 3$ or $4 \times 4$ layout. This transformation allows the model to utilize highly optimized 2D Image Transformers, such as the Swin Transformer. In this configuration, temporal changes are represented as spatial patterns across the grid, which the 2D transformer can learn to interpret as motion.

2.2 Dual-Pathway Contrastive Learning

To capture the temporal nuances of video, SITAR processes unlabeled data through two distinct pathways:

  • Primary (Fast) Pathway: This pathway samples a higher number of frames to capture fine-grained motion details.
  • Secondary (Slow) Pathway: This pathway uses fewer frames to capture the broader temporal context.

The underlying hypothesis is that the semantic content of an action (e.g., "walking") remains invariant regardless of the sampling rate.

2.3 Dual Loss Functions

To optimize the representations learned from these pathways, SITAR employs two types of contrastive loss:

  1. Instance-Contrastive Loss: This ensures that different temporal views (fast vs. slow) of the same video are mapped to similar points in the feature space, while distinct videos are pushed apart.
  2. Group-Contrastive Loss: A common failure mode in contrastive learning is the "push-apart" problem, where different videos of the same action class are treated as negatives. SITAR uses pseudo-labels to group similar actions together, encouraging the model to learn category-level features rather than just individual video signatures.

3. Experiments and Results

The researchers evaluated SITAR across three major benchmarks: Kinetics-400, UCF-101, and HMDB-51, focusing on low-data regimes (e.g., 1% and 10% labeled data).

3.1 Performance Benchmarks

On the UCF-101 dataset with only 1% labeled data, SITAR-S achieved a top-1 accuracy of 37.9%, representing a 6.5% improvement over the previous state-of-the-art, SVFormer. While SITAR-B was slightly outperformed by SVFormer-B on the Kinetics-400 10% benchmark (66.5% vs 69.4%), the larger SITAR-L variant successfully reclaimed the performance lead.

3.2 Efficiency and Inference

The most striking results lie in SITAR’s efficiency. Compared to SVFormer-B, SITAR-B utilizes 28% fewer parameters and requires 45.9% fewer FLOPs. This efficiency translates directly to real-world performance: SITAR-B achieves an inference time of 0.1 seconds per video, a 5x speedup over the 0.5 seconds required by SVFormer-B.

4. Discussion and Limitations

SITAR demonstrates that 3D convolutions are not a prerequisite for effective video understanding. By treating time as a spatial dimension within a 2D grid, the model inherits the maturity and speed of 2D transformer architectures.

However, the approach is sensitive to the grid layout configuration. The trade-off between the number of frames and the resolution of each frame within the "super image" is a critical hyperparameter. Additionally, while the model is highly efficient, its performance is somewhat dependent on the underlying backbone architecture.

5. Conclusion

SITAR represents a significant step toward making video action recognition more accessible and deployable. By combining the efficiency of 2D transformers with a robust semi-supervised contrastive learning framework, it overcomes the dual hurdles of data scarcity and computational cost. Future work will likely explore the application of the "super image" concept to broader video tasks, such as temporal localization and summarization.

Summary updated

BibTeX
@inproceedings{iqbal2024sitar,
  author = {Owais Iqbal and Omprakash Chakraborty and Aftab Hussain and Rameswar Panda and Abir Das},
  title = {{SITAR: Semi-supervised Image Transformer for Action Recognition}},
  booktitle = {ICPR},
  year = {2024},
  doi = {10.1007/978-3-031-78192-6\_8},
}
Figure