Is Temporal Prompting All We Need For Limited Labeled Action Recognition?

Shreyank N. Gowda, Boyan Gao, Xiao Gu, Xiao-Bo Jin

Abstract

TP-CLIP is a highly efficient adaptation of the CLIP vision-language model designed for video action recognition. By introducing "Temporal Visual Prompting"—a lightweight mechanism that uses 1D convolutions to capture motion—the researchers achieved state-of-the-art results in zero-shot and few-shot learning while using only 1/3 the computational power (GFLOPs) and 1/28 the tunable parameters of previous leading models.

Introduction

Large-scale vision-language models like CLIP have revolutionized image understanding, but adapting them for video is surprisingly difficult. Videos aren't just stacks of images; they contain temporal dynamics (motion) that static models can't inherently "see."

Existing solutions usually take one of two paths: they either add heavy 3D convolutional layers and self-attention mechanisms, which are computationally expensive, or they perform "full fine-tuning," which often destroys the model's ability to generalize to new, unseen tasks (the "zero-shot" capability). The authors of this paper ask a fundamental question: Can we give CLIP temporal "common sense" using only simple prompts, without breaking the underlying architecture?

Methodology

The authors introduce TP-CLIP (Temporal Prompting CLIP). The core philosophy is to keep the massive, pre-trained CLIP backbone frozen and add tiny, learnable components to handle the "video" part of the task.

  1. Temporal Visual Prompting (TVP): Instead of changing how the model looks at individual frames, the researchers added a dedicated Temporal Encoder. This encoder uses 1D convolutional layers to look across a sequence of frames and detect local temporal patterns.
  2. Prompt Concatenation: The output of this temporal encoder is a "temporal context vector." This vector is concatenated with the standard spatial embeddings of each frame. This creates a "composite representation" that tells the model both what is in the frame and how it is moving relative to other frames.
  3. Tunable Adapters: To allow the model to specialize for specific datasets without retraining everything, they inserted small "adapter" modules (bottleneck layers) into the Transformer blocks. These are the only parts of the vision backbone that get updated during training.
  4. LLM-Enhanced Text: For the text side of the CLIP model, they used a Large Language Model (LLM) to generate richer, more descriptive action labels, providing the model with better linguistic context than simple one-word class names.
Overview of the TP-CLIP architecture featuring Temporal Visual Prompting and Adapters.

Experimental Setup

The model was evaluated on five major action recognition benchmarks:

  • Kinetics-400 & Kinetics-600: The "gold standard" for general action recognition.
  • UCF-101 & HMDB-51: Classic, smaller benchmarks used to test how well a model generalizes to different video styles.
  • Something Something V2 (SSv2): A particularly difficult dataset where the background doesn't matter, and the model must understand motion (e.g., "pushing something from left to right") to succeed.
  • TruZe: A specific split designed to test "true" zero-shot performance by ensuring no overlap between training and testing classes.

Results and Discussion

TP-CLIP set new benchmarks across several categories:

  • Zero-Shot Performance: On UCF-101, it achieved 81.1% accuracy, surpassing the previous state-of-the-art (EZ-CLIP) by 1.7%. On HMDB-51, it reached 54.1%, a 1.2% improvement.
  • Kinetics-600: It set a new zero-shot benchmark of 71.1% top-1 accuracy, beating the prior best by 2.3%.
  • Efficiency: Compared to ActionCLIP, TP-CLIP uses roughly 6x fewer GFLOPs and has a significantly higher throughput (337.1 views/sec vs 67.7).
  • Few-Shot Robustness: In scenarios with very limited data (e.g., only 2 or 4 examples per class), TP-CLIP consistently outperformed competitors, showing it learns much faster from limited labels.
Comparison of TP-CLIP against other models in terms of accuracy and tunable parameters.

Key Insights

The most striking insight is that you don't need complex 3D architectures to achieve SOTA results. A simple 1D convolution over frame features provides enough temporal context for most action recognition tasks. By keeping the CLIP weights frozen, TP-CLIP retains the massive amount of visual knowledge learned during its original training on billions of images. This is why it outperforms models that are fully fine-tuned on smaller video datasets.

Conclusion

While TP-CLIP is highly efficient, the authors primarily tested it using 8-frame sequences. While this is standard for efficiency, some complex actions might require longer-range temporal modeling that 8 frames cannot capture. Additionally, while the 1D convolutional approach works excellently for action recognition, the authors suggest that future work could explore even more minimal prompting strategies or apply this "temporal prompting" logic to other multimodal tasks, such as video question answering or automated video captioning.

Summary updated

BibTeX
@inproceedings{gowda2025is,
  author = {Shreyank N. Gowda and Boyan Gao and Xiao Gu and Xiao-Bo Jin},
  title = {{Is Temporal Prompting All We Need For Limited Labeled Action Recognition?}},
  booktitle = {Workshops @ CVPR},
  year = {2025},
}
Figure