betaFeedback

WorksComputer Science

Revisiting Natural Language Prompts from Large Language Models for Open-Vocabulary Video Recognition

Abstract

Vision-language models (VLMs) like CLIP have shown great success in image tasks, however, applying CLIP to open-vocabulary video recognition poses challenges. Due to the limited text information, directly fine-tuning CLIP on video recognition datasets may lead to overfitting and hinder its generalizability. A prevalent method is to enrich text information by generating prompts using Large Language Models (LLMs). However, limited efforts have been made to explore how to generate higher-quality prompts that can contribute to classify unseen categories, and how to further enhance vision-text alignment based on these prompts. In this paper, we propose P2CLIP (Prompt-guided CLIP), which aims to bridge this gap by exploring the impact of prompts across three aspects: category, video, and frame. At the category level, we argue that LLM-generated prompts under simple instructions may suffer from semantic overgeneralization, which can blur the category boundaries and hinder the performance of the model. To address this issue, we design Generic-Discriminative Prompt using LLMs to obtain discriminative category embeddings with rich semantic information. At the video and frame levels, we first use VLM and LLM to generate frame and video descriptions for enhancing vision-text alignment. Then we propose a Knowledge-Guided Temporal Aggregation mechanism, which leverages the expert knowledge derived from LLMs to guide the temporal modeling of videos and encourage a better construction of the joint visual-textual feature space. Extensive experiments across various benchmarks, including zero-shot and few-shot settings, demonstrate the effectiveness of our method.

Introduction

Open-vocabulary learning requires the model to recognize categories beyond a predefined closed-set, which holds significant value in real-world applications. Recently, Vision-Language Models (VLMs) [10, 26, 45, 46] such as CLIP [26], have shown great success due to its remarkable generalization capability, enabling image recognition under open-vocabulary settings. However, applying CLIP to open-vocabulary video recognition poses challenges. Due to the limited text information in the category names, (e.g., only 400 category names in Kinetics-400 [4] and all are words or phrases), directly finetuning CLIP on the video recognition datasets may lead to overfitting and hinder its inherent generalizability.

To enrich the text information, a recently emerging method is utilizing Large Language Models (LLMs) to generate detailed and context-rich text descriptions. FROSTER [9] adopts GPT-3.5 to generate descriptions of category names using the instruction: *“Please describe this action in the video {}.” Open-VCLIP++ [40] uses BLIP-2 [16] and Llama-2 [30] to generate video caption for each video. Although using LLMs to generate detailed text descriptions has shown promise, limited efforts have been made to explore how to generate higher-quality prompts which can contribute to classify unseen categories, and how to further enhance vision-text alignment based on these prompts. In this paper, we propose P2CLIP (Prompt-guided CLIP), which aims to bridge this gap by exploring the impact of natural language prompts across three aspects: category, video, and frame.

At the category level, we argue that LLM-generated prompts under simple instructions (i.e., simply ask LLMs to describe a word) may suffer from semantic overgeneralization, which can blur the category boundaries. We conduct experiment to validate this hypothesis, as shown in Figure 1. We adopt the Interpolated Weight Optimization (IWR) and Stochastic Weight Averaging (SWA) techniques in [40] and the Hand-crafted prompt “A video about {}.” to transform CLIP into a strong baseline. Then, we employ the prompts in [39] as Generic prompt, which are generated by GPT-4 using simple instructions and contain a lot of detailed information. We observe that the model using Generic prompt improves Top-5 accuracy by 1.7% over baseline, but the Top-1 accuracy improved by only 0.1%. The reason is that the detailed information in the Generic prompt expands the text space and mitigates overfitting, resulting in the improved prediction results across the entire category set. However, the semantic overgeneralization of the Generic prompt leads to more blurred semantic boundary between the semantically similar categories, resulting in very limited Top-1 accuracy improvement. To further validate, we use the textual encoder of CLIP to extract the text embeddings of 10 semantically similar categories with different prompts and calculate the correlation between them. The plot is shown in Figure 2. Generic prompt significantly increases the inter-class similarities, blurring the semantic boundary between categories.

Performance comparison chart

Figure 1. Performance comparison (Top-1 and Top-5 accuracy (%)) under open-vocabulary setting where the model is tuned on Kinetics-400 [4], but evaluated on UCF-101 [28].

Inter-class correlation maps

Figure 2. Inter-class correlation maps of 10 semantically similar categories in Kinetics-400. The darker the color, the lower the similarity. (a) Hand-crafted prompt. (b) Generic prompt. (c) Discriminative prompt. (d) GD-prompt.

Therefore, we suppose that the LLM-generated prompts should contain rich detailed information, while increase the discriminability of the categories. Following this motivation, we employ LLMs to devise Discriminative prompt, which significantly decreases the inter-class similarities, as shown in Figure 2 (c). Results in Figure 1 show that Discriminative prompt increases the Top-5 accuracy by 2.6%, and Top-1 accuracy by 3.0%. Finally, we combine the Generic prompt and Discriminative prompt to propose GD-prompt, which is used in our method. As we can see in Figure 1, GD-prompt increases Top-1 accuracy further by 0.4%.

We further explore the impact of natural language prompt at video and frame levels. Aligning the video feature with its corresponding video description has shown effectiveness for vision-text alignment in [40]. In this paper, we improve the description generation method by using higher-performance VLM and LLM to generate fine-grained frame descriptions and video description for each input video. Furthermore, we note the limitations of video-description aligning process in [40]: i) It only treats frame descriptions as intermediate results, overlooking the greater potential of the rich semantic information of them. ii) Aligning the video feature obtained through meanpooling with its corresponding video description can lead to a suboptimal alignment of visual and textual knowledge.

To address these limitations, we propose the Knowledge-Guided Temporal Aggregation mechanism (KGTA) to further enhance vision-text alignment leveraging the knowledge derived from LLMs. As illustrated in Figure 3, the relationship between each frame description and the video description should be consistent with the relationship between the corresponding frame and the video. Therefore, based on the expert knowledge of LLMs, we can leverage the reasoning process of LLMs in generating the video description as a guidance signal for the aggregation of frames. Specifically, we use the similarity between the frame description and video description as the temporal saliency of the corresponding frame. By aligning the knowledge-guided video feature with the LLM-generated video description, we can encourage a better construction of the joint visual-textual feature space.

Visualization of the TGTA

Figure 3. Visualization of the TGTA. We leverage the expert knowledge derived from LLMs to guide the temporal modeling of videos.

Our contributions can be summarized as follows:

  • We propose Generic-Discriminative prompt using LLMs to generate text descriptions of categories which contain rich detailed information while increase the discriminability of the categories.

  • We use VLM and LLM to generate fine-grained frame and video descriptions. Building upon this, we propose Knowledge-Guided Temporal Aggregation mechanism leveraging the expert knowledge derived from LLM to guide the temporal modeling of videoS, thereby further enhancing vision-text alignment.

  • We conduct extensive experiments on three popular video datasets, including UCF-101, HMDB-51, and Kinetics-600, to demonstrate the effectiveness of our method across various benchmarks including zero-shot and few-shot settings.

Related Work

CLIP-based Video Recognition The rise of Vision-Language Models (VLMs) [10, 26, 45, 46], such as CLIP[26], have significantly advanced video recognition task due to its strong generalization capability. CLIP-based video recognition methods can be divided into two categories: full finetuning and efficient finetuning. Full finetuning methods [32, 21, 38, 37, 31] update all parameters of the pre-trained CLIP model on the target dataset. Efficient finetuning methods [13, 22, 41, 17, 18, 35, 33, 23, 25] focus on tuning only a small number of parameters or adding lightweight modules to the pre-trained CLIP, aiming to reduce computational costs and prevent overfitting, while still achieving competitive results. Although these methods have achieved notable progress, they often struggle in open-vocabulary tasks, where the model needs to recognize unseen categories during training.

Recently, researchers have begun to focus on the CLIP-based open-vocabulary video recognition. FROSTER [9] uses frozen CLIP as the teacher model and designs a residual feature distillation module to supervise the feature learning process of the student model. Open-VCLIP [36] treats the task as a continual learning problem without historical data and extends CLIP into an excellent zero-shot video classifier through the IWR and SWA techniques. As its follow-up work, Open-VCLIP++ [40] utilizes BLIP-2 [16] and Llama-2 [30] to generate video descriptions, enhancing the vision-text alignment. AP-CLIP [11] generates action-conditioned prompts using LLMs and aligns videos with textual knowledge within the prompts. In this paper, we propose to generate context-rich and discriminative prompts using LLMs and leverage the expert knowledge embedded in LLMs to guide the aggregation of frames.

Prompt Learning is a parameter-efficient yet effective framework to finetune CLIP into downstream tasks. Prompt learning methods can be divided into soft prompt and hard prompt. Most soft prompt learning methods [49, 48, 8, 13, 44, 50, 3] learn text prompt vectors. Other methods show the possibility of learning prompts in the visual space [12, 1] or in both visual and text space [14, 47, 35].

Early hard prompt learning methods [32, 38] use Hand-crafted prompts, such as “A video about {}.” Recently, some studies have explored to generate prompts using LLMs [19, 20, 24, 42, 29, 43, 24], which effectively align the visual feature with the rich textual knowledge embedded in LLMs. Inspired by the success of LLM-generated prompts in image tasks, there are also some works [9, 36, 40, 39, 11] in video recognition task that use LLMs to generate prompts. Most previous works directly use LLM-generated prompts under simple instructions, yet pay little attention to what kind of prompts can truly aid in classifying unseen categories, or how to further enhance vision-text alignment based on them. In this paper, we approach these problems by deeply exploring their impact across different tasks and how they can be further utilized to improve vision-text alignment.

Method

An overview of our method for open-vocabulary video recognition is shown in Figure 4. We elaborate on each component in this section. We begin with the typical CLIP-based video recognition pipeline in § 3.1. We then describe the Generic-Discriminative prompt (GD-prompt) generation in § 3.2, the frame and video description generator in § 3.3. Next, we propose the Knowledge-Guided Temporal Aggregation mechanism (KGTA) in § 3.4 and the total loss function in § 3.5.

Overview of P2CLIP for open-vocabulary video recognition

Figure 4. Overview of P2CLIP for open-vocabulary video recognition. We use the typical CLIP-based video recognition pipeline. We employ GPT4 to generate Generic prompt and Discriminative prompt for each category name and encode them to obtain GD-prompt embeddings. For each input video, we employ CogVLM2 and Llama-3.1 to generate frame and video descriptions, respectively, then we encode them into textual embeddings. We calculate the similarities between frame description embeddings and video description embedding as the temporal saliency of the corresponding frame.

CLIP-based Video Recognition

Given a video clip V∈RT×H×W×3V \in\mathbb{R}^{T \times H \times W \times3} of spatial size H×WH \times W with TT sampled frames and a category name CC, where VV and CC are sampled from a set of videos and a collection of category names respectively. We feed the video VV into the visual encoder f(⋅∣θv)f(\cdot|\theta_v) and the category name CC into the textual encoder f(⋅∣θt)f(\cdot|\theta_t) to obtain the visual embedding v\mathbf{v} and the category embedding c\mathbf{c}, respectively.

v=f(V∣θv), c=f(C∣θt)(1)\mathbf{v}=f(V|\theta_v),\ \mathbf{c}=f(C|\theta_t) \tag*{(1)}

Then, we can use the cosine similarity to calculate the similarity score of v\mathbf{v} and c\mathbf{c} as follows:

sim⁡(v,c)=⟨v,c⟩∥v∥⋅∥c∥(2)\operatorname{sim}(\mathbf{v},\mathbf{c})=\frac{\langle\mathbf{v},\mathbf{c}\rangle}{\lVert\mathbf{v}\rVert\cdot\lVert\mathbf{c}\rVert} \tag*{(2)}

During training, our objective is maximizing the similarity score of v\mathbf{v} and c\mathbf{c} if VV and CC are matched, and otherwise minimizing it. The parameters θv\theta_v and θt\theta_t are initialized with weights from the pre-trained CLIP. During inference, we compute the similarity score between the give video and each category name, and choose the category with the highest similarity score as the top-1 prediction.

Generic-Discriminative Prompt Generation

Due to the limited text information, directly finetuning CLIP on the video recognition datasets may lead to overfitting and catastrophic forgetting. To expand the text space for improving results, some works use the Large Language Models (LLMs) to generate detailed text descriptions of category names, which has been demonstrated effective. We start by instructing LLMs to generate descriptive sentences as Generic prompt, which can describe the generic attributes of action categories. During actual operation, we employ the prompts of category names generated by GPT4 in [39] as Generic prompt. See appendix A for more generation details and examples.

For category name “ice climbing”, its Generic prompt has 10 sentences with rich semantic information. However, as discussed in Sec. 1, only using Generic prompt leads to a lack of discriminability between semantically similar categories, which is unsuitable for distinguishing a category from its semantic neighbor. Inspired by this, we propose to generate Discriminative prompt to obtain more discriminative category embeddings. First, we encode all category names into embeddings using CLIP’s textual encoder. Then, we use cosine similarity to obtain its top-5 semantically similar categories, i.e., {rock climbing, abseiling, ice fishing, snowboarding, climbing a rope}. Next, we generate its Discriminative prompt which can help to distinguish it from its semantic neighbor using GPT4. We present the instruction alongside GPT4’s response in Figure 5. See appendix B for more examples.

Instruction to generate Discriminative prompt and GPT4’s response

Figure 5. Instruction to generate Discriminative prompt and GPT4’s response.

Then, we concatenate it with the Hand-crafted prompt “A video about ice climbing.” and encode it using CLIP’s textual encoder to get Discriminative prompt embedding cdc^{d} while the Generic prompt is also encoded and meanpooled to get cgc^{g}. Then we can obtain the GD-prompt embedding as follows:

cgd=(cg+cd)/2(3)c^{gd} = (c^{g} + c^{d}) / 2 \tag*{(3)}

GD-prompt contains detailed text information and increases discriminability between semantically similar categories. During training, we employ the cross-entropy loss to maximize the similarity score of cgdc^{gd} and the meanpooled video embedding vˉ\bar{v} if they are matched, and otherwise minimize it. The loss function is as follows:

L1=−1B∑i=1Blog⁡exp⁡(sim⁡(vˉi,ctruegd)/τ)∑j=1Mexp⁡(sim⁡(vˉi,cjgd)/τ)(4)\mathcal{L}_{1} = -\frac{1}{B}\sum_{i=1}^{B}\log\frac{\exp\left(\operatorname{sim}\left(\bar{v}_{i},c^{gd}_{true}\right)/\tau\right)}{\sum_{j=1}^{M}\exp\left(\operatorname{sim}\left(\bar{v}_{i},c^{gd}_{j}\right)/\tau\right)} \tag*{(4)}

where BB is batchsize, MM is the number of categories, ctruegdc^{gd}_{true} is the GD-prompt embedding of the ground-truth category of vˉi\bar{v}_{i}, τ\tau is temperature hyperparameter.

Frame and Video Description Generator

To align the visual content with more detailed text descriptions to combat overfitting, we generate fine-grained frame descriptions and video description for each input video using VLM and LLM which have excellent expert knowledge.

For video clip VV with TT sampled frames {v1,v2,...,vT}\{v_{1},v_{2},...,v_{T}\}, we employ a powerful VLM, i.e., CogVLM2 [34], as the frame description generator to get TT frame descriptions {t1f,t2f,...,tTf}\{t_{1}^{f},t_{2}^{f},...,t_{T}^{f}\} with the instruction:

“In one sentence, describe the detail and movement of objects, and the action and pose of persons in the image. Prioritize accuracy.” Then, we employ Llama-3.1 [7] as the video description generator to aggregate the frame descriptions into a complete sentence that can appropriately describe the video VV. The instruction is as follows:

“These are descriptions of the frames in temporal order of a video: {}. Please generate the description of the whole video according to the frame descriptions in one sentence. Start with “The video shows”.”

These video-specific descriptions can significantly expand text space with their detailed text information and facilitate the vision-text alignment by aligned with visual concepts. See appendix § 10 for examples.

Knowledge-Guided Temporal Aggregation

Given a video clip VV with TT sampled frames {v1,v2,…,vT}\{v_1, v_2, \ldots, v_T\}, we get TT frame descriptions {t1f,t2f,…,tTf}\{t_1^f,t_2^f,\ldots,t_T^f\} and a video description tvt^v. Then we encode them using CLIP’s textual encoder to get the frame description embeddings cf∈RT×d\mathbf{c}^f \in\mathbb{R}^{T \times d} and video description embedding cv∈Rd\mathbf{c}^v \in\mathbb{R}^{d}, where dd is the dimension of embedding. We calculate the similarity between each frame description embedding and the video description embedding to measure the relevance. Based on the expert knowledge of LLMs, we can regard the relevance as a guidance signal for the significance of each frame in the whole video. Then we perform a softmax operation to normalize the similarities and obtain the final temporal saliency for the ii-th frame:

Si=exp⁡(sim(cif,cv)/τ)∑j=1Texp⁡(sim(cjf,cv)/τ)(5)S_i = \frac{\exp\left(sim\left(\mathbf{c}_i^f,\mathbf{c}^v\right)/\tau\right)}{\sum_{j=1}^{T}\exp\left(sim\left(\mathbf{c}_j^f,\mathbf{c}^v\right)/\tau\right)} \tag*{(5)}

where τ\tau is the temperature hyperparameter. Then, we utilize the temporal saliency to aggregate the frame embeddings v∈RT×d\mathbf{v} \in\mathbb{R}^{T \times d} output from CLIP’s visual encoder to get the knowledge-guided video embedding v^\hat{\mathbf{v}} as follows:

v^∈Rd=∑i=1TviSi(6)\hat{\mathbf{v}} \in\mathbb{R}^{d} = \sum_{i=1}^{T}\mathbf{v}_iS_i \tag*{(6)}

During training, we employ the symmetric cross-entropy loss to maximize the similarity score of the knowledge-guided video embedding v^\hat{\mathbf{v}} and the video description embedding cv\mathbf{c}^v if they are matched, and otherwise minimize it:

L2v2c=−1B∑i=1Blog⁡exp⁡(sim(v^i,civ)/τ)∑j=1Bexp⁡(sim(v^i,cjv)/τ)\mathcal{L}_2^{v2c}=-\frac{1}{B}\sum_{i=1}^{B}\log\frac{\exp\left(sim\left(\hat{\mathbf{v}}_i,\mathbf{c}_i^v\right)/\tau\right)}{\sum_{j=1}^{B}\exp\left(sim\left(\hat{\mathbf{v}}_i,\mathbf{c}_j^v\right)/\tau\right)}
L2c2v=−1B∑i=1Blog⁡exp⁡(sim(civ,v^i)/τ)∑j=1Bexp⁡(sim(civ,v^j)/τ)(7)\mathcal{L}_2^{c2v}=-\frac{1}{B}\sum_{i=1}^{B}\log\frac{\exp\left(sim\left(\mathbf{c}_i^v,\hat{\mathbf{v}}_i\right)/\tau\right)}{\sum_{j=1}^{B}\exp\left(sim\left(\mathbf{c}_i^v,\hat{\mathbf{v}}_j\right)/\tau\right)} \tag*{(7)}
L2=12(L2v2c+L2c2v)\mathcal{L}_2=\frac{1}{2}\left(\mathcal{L}_2^{v2c}+\mathcal{L}_2^{c2v}\right)

where τ\tau is the temperature hyperparameter, BB is batchsize. See appendix § 10 for visualization of temporal saliencies.

Total Loss Function

After obtaining the loss L1\mathcal{L}_1 in Eq. (4) and the loss L2\mathcal{L}_2 in Eq. (7), the total loss function during training is the combination of L1\mathcal{L}_1 and L2\mathcal{L}_2 as follows:

L=L1+λL2(8)\mathcal{L}=\mathcal{L}_1+\lambda\mathcal{L}_2 \tag*{(8)}

where λ\lambda is a weight coefficient. The loss L1\mathcal{L}_1 aligns the meanpooled video embedding with the augmented category embedding to learn the distribution of category labels. The loss L2\mathcal{L}_2 aligns the knowledge-guided video embedding with the LLM-generated video description for a better alignment of visual and textual knowledge.

Experiments

Experimental Settings

Datasets. We conduct experiments use four popular video datasets, i.e., Kinetics-400[4], UCF-101[28], HMDB-51[15] and Kinetics-600[5]. See appendix D for details of these datasets.

Implementation Details.

(i) Zero-shot setting: We adopt the IWR and SWA techniques in [40] with Hand-crafted prompt “A video about {}.” to transfer CLIP into a strong baseline. Then, we equip the baseline with GD-prompt, description generator and KGTA to build the open-vocabulary video model. We use the Kinetics-400 dataset for training and conduct testing on UCF-101, HMDB-51, along with a subset of the Kinetics-600 dataset. During training, we use all three proposed components, while during testing, we only use the GD-prompt of the target dataset. We evaluate the model following the evaluation protocols widely used in previous works. See appendix D for more details on evaluation protocols.

(ii) Few-shot setting: We begin with the model variant with frozen textual encoder in [27] as the baseline. Note that we equip the baseline with only GD-prompt, which we find more effective for few-shot tasks and we will discuss this in § 4.3. We directly perform finetuning on the target dataset, with no pre-training on Kinetics-400.

We extract 8 frames for each video and use ViT-B/16 based CLIP model for all experiments. During testing, we use three clips with one crop (“3×1 views”). The weight coefficient λ\lambda of the total loss function is 2.0. See appendix E for more training details.

Comparison with the State-of-the-art

Zero-shot Setting

In zero-shot setting, we demonstrate the capability of our method to recognize unseen categories during training, showcasing its generalizability in open-set scenarios. We compare our method with other CLIP-based methods on UCF-101 and HMDB-51 under Evaluation Protocol 1 and Evaluation Protocol 2 in Table 1, under Evaluation Protocol 3 in Table 2. Our method consistently outperforms other methods across all evaluation protocols, for example, our method surpasses Open-VCLIP++ by +1.1% on UCF-101, and +0.8% on HMDB-51 under Evaluation Protocol 1. When considering the Kinetics-600 dataset, as illustrated in Table 3, our method also outperforms most of the other CLIP-based methods by a clear margin. P2CLIP consistently achieves the best performance across all datasets and all evaluation protocols, highlighting its open-vocabulary recognizing capability.

MethodEncoderUCF-101 EP1UCF-101 EP2HMDB-51 EP1HMDB-51 EP2
ActionCLIP [32]ViT-B/16-69.5-50.5
Text4Vis [37]ViT-L/1485.8±3.379.658.1±5.7
BIKE [38]ViT-L/1486.6±3.480.861.4±3.652.8
Open-VCLIP [36]ViT-B/1689.9±1.783.564.5±4.553.2
Open-VCLIP++ [40]ViT-B/1690.0±1.784.165.8±4.354.7
FROSTER [9]ViT-B/16-85.0-54.5
P2CLIP (ours)ViT-B/1691.1±1.585.166.6±5.055.2

Table 1. Zero-shot classification performance for CLIP-based methods on UCF-101 and HMDB-51 under EP1 and EP2. The best results are bolded, and the second-best results are underlined.

MethodUCF-101HMDB-51
ActionCLIP [32]58.3±3.440.8±5.4
XCLIP [21]72.0±2.344.6±5.2
ViFi-CLIP [27]76.8±0.751.3±0.6
M²-CLIP [33]78.7±1.247.1±0.4
AP-CLIP [11]82.4±0.555.4 ± 0.8
Open-VCLIP [36]83.4±1.253.9±1.2
Open-VCLIP++ [40]83.9±0.655.6±1.4
FROSTER [9]84.8±1.154.8±1.3
P2CLIP (ours)85.1±0.155.7±1.0

Table 2. Zero-shot classification performance for CLIP-based methods on UCF-101 and HMDB-51 under EP3.

MethodK-600
Vanilla CLIP [26]59.8±0.3
ActionCLIP [32]66.7±1.1
XCLIP [21]65.2±0.4
A5 [13]55.8±0.7
ViFi-CLIP [27]71.2±1.0
AP-CLIP [11]73.4±0.8
Open-VCLIP [36]73.0±1.0
Open-VCLIP++ [40]73.4±0.8
P2CLIP (ours)74.8±0.8

Table 3. Zero-shot classification performance for CLIP-based methods on Kinetics-600.

Few-shot Setting

In few-shot setting, we extend our method to supervised scenarios where the training data is extremely limited. We compare our method to various CLIP-based methods in Table 4. As we can see, our method achieves impressive performance and consistently outperforms all other methods on both UCF-101 and HMDB-51 datasets across all shot divisions (i.e., K=2,4,8,16K = 2, 4, 8, 16). On HMDB-51 dataset, by simply adopting GD-prompt, our method gets +3.8%, +2.7%, +4.0%, +1.9% in 2, 4, 8, 16 shots, respectively. Additionally, our method tends to show greater gains when the training data is more limited, highlighting that GD-prompt can compensate for the lack of visual information by providing rich text knowledge, while also enhancing the model’s understanding of action categories by linking it textual information to the knowledge in the pre-trained model.

MethodUCF-101 K=2K=2UCF-101 K=4K=4UCF-101 K=8K=8UCF-101 K=16K=16HMDB-51 K=2K=2HMDB-51 K=4K=4HMDB-51 K=8K=8HMDB-51 K=16K=16
ActionCLIP70.671.573.091.447.557.957.359.1
XCLIP [21]48.575.683.791.453.057.362.864.0
A5 [13]71.479.985.789.939.750.756.062.4
ViFi-CLIP† [27]83.886.888.892.152.959.765.474.0
P2CLIP (ours)86.0↑2.288.1↑1.390.1↑1.393.3↑1.256.7↑3.862.9↑3.269.4↑4.075.9↑1.9

Table 4. Few-shot performance for CLIP-based methods on UCF-101 and HMDB-51. We employ the variant model of ViFi-CLIP with frozen textual encoder as a baseline and simply integrate GD-prompt into it. † denotes the results of our reproduction. Gains in green are compared to baseline.

Discussion and Ablation Studies

Effectiveness of Components. Table 5 demonstrates the effectiveness of our proposed components. With GD-prompt, we can obtain significant performance gains over baseline by +3.3%, +5.1%, +2.0% on UCF-101, HMDB-51, K-600, respectively, demonstrating that GD-prompt can effectively mitigate overfitting and aid classification with its discriminative text information. Then, aligning the meanpooled video feature not only with its augmented category label but also with its corresponding video description can further gain +0.5%, +0.9%, +0.3% on UCF-101, HMDB-51, K-600, respectively. Finally, we introduce the KGTA mechanism, by aligning the video description with the knowledge-guided video feature, rather than the meanpooled video feature, we encourage the model to construct a better joint visual-textual feature space. The KGTA mechanism brings +0.1%, +0.4%, +0.2% on UCF-101, HMDB-51, K-600, respectively, demonstrating its effectiveness.

MethodUCFHMDBK600
baseline81.248.872.3
+ GD-prompt84.5↑3.353.9↑5.174.3↑2.0
+ Video description85.0↑3.854.8↑6.074.6↑2.3
+ KGTA85.1↑3.955.2↑6.474.8↑2.5

Table 5. Ablations for component.

Ablations for Different Text Prompts. Table 6 shows the effect of different text prompts. As we discussed in § 1, Generic-prompt brings limited Top-1 accuracy improvements, especially on UCF-101 (only +0.1%). When using Discriminative prompt, the model outperforms the baseline by a significant margin, demonstrating the effectiveness of the discriminative text descriptions, which are beneficial for classification. When using GD-prompt, we combine the generic attributes of actions with the discriminative descriptions, and obtain +3.3%, +5.1%, +2.0% on UCF-101, HMDB-51, K-600, respectively, highlighting the effectiveness of the prompt strategy we propose. See appendix F for more visualizations of inter-class correlation maps for different text prompts.

PromptUCFHMDBK600
Hand-crafted prompt81.248.872.3
Generic prompt81.3↑0.149.5↑0.872.8↑0.5
Discriminative prompt84.2↑3.052.3↑3.573.5↑1.2
GD-prompt84.5↑3.353.9↑5.174.3↑2.0

Table 6. Ablations for different text prompts.

Ablations for Different Description Generators. Table 7 shows the effect of different frame and video description generators on the UCF-101 dataset. We use Open-VCLIP[36] as a baseline. Building upon it, Open-VCLIP++[40] uses BILP-2 and Llama2 as the frame and video description generator, respectively. By aligning the visual feature with its corresponding video description, Open-VCLIP++ gains +0.6% on UCF-101. Instead, we use CogVLM2 and Llama3.1 as the frame and video description generator respectively, and gains +1.1%, highlighting the effectiveness of using higher-performance VLM and LLM.

MethodTop-1.(%)
Open-VCLIP[36]83.5
+BLIP2/Llama2 (Open-VCLIP++[40])84.1↑0.6
+CogVLM2/Llama3.184.6↑1.1

Table 7. Ablations for different description generators on UCF-101.

Parameter Analysis of λ\lambda under Zero-shot Setting. Figure 6 shows the effect of different values of λ\lambda (0.8, 1, 2, 4), which is the weight coefficient of the total loss function in Eq. (8). A larger λ\lambda indicates that the model is encouraged to receive more supervision from video descriptions during training. On UCF-101 and K-600, the model achieves the best performance (85.2% and 74.9%) when λ\lambda is 1.0, as it getting larger, the performance begins to drop. On HMDB-51, as λ\lambda getting larger, the performance of the model tends to increase (54.8%, 55.0%, 55.2%, 55.3%). We choose 2.0 as the final value of λ\lambda in our method, which achieves 85.1%, 55.2%, 74.8% on UCF-101, HMDB-51, K-600, respectively.

Analysis for λ under zero-shot setting

Figure 6. Analysis for λ\lambda under zero-shot setting.

Effect of Components under Few-shot Setting. Figure 7 shows the effect of proposed components on UCF-101 and HMDB-51 under few-shot setting. Using GD-prompt brings consistent performance improvements across all shot divisions. When we further introduce the video descriptions and KGTA, the performance of the model degrades by varying degrees. We hypothesize there are two reasons. First, in closed-set tasks, the core objective of the model is to learn the joint distribution of category labels, rather than the vision-text alignment information provided by video descriptions, which may distract the model’s attention. Second, in few-shot setting, the model’s learning capacity is limited, preventing it from fully learning the vision-text alignment knowledge from such a small number of video-text pairs. As a result, it struggles to generalize well to other video data, especially when the LLM-generated descriptions do not fully match the data distribution or are complex, which could introduce noise and negatively affect the model’s performance. Based on the above analysis, we only use GD-prompt in few-shot setting, which can still achieve impressive performance.

Ablations for components on UCF-101 and HMDB-51 under few-shot setting

Figure 7. Ablations for components on UCF-101 (Left) and HMDB-51 (Right) under few-shot setting.

Conclusion

In this paper, we conduct extensive exploration of the LLM-generated natural language prompts across different tasks. First, we propose to generate Generic-Discriminative prompt which contains both context-rich and discriminative information that aids classification. Next, we generate high-quality frame and video descriptions for each video, enhancing vision-text alignment by aligning visual concepts with detailed descriptions. Based on these video-specific descriptions, we propose the Knowledge-Guided Temporal Aggregation mechanism, leveraging the expert knowledge embedded in LLMs to help temporal modeling and build a better joint visual-textual feature space. Extensive experiments demonstrate the effectiveness of our method.

Limitations. Although our method achieves good performance across all datasets, the impact of the parameter λ\lambda varies when the test data has different domain gaps from the training data, which dedicates that different test data may have varying needs for supervision derived from video descriptions. Thus, a promising future research direction is to build a cross-domain open-vocabulary video classifier that can effectively adapt to the test data with different gaps from the training data.

Acknowledgement

This research is supported by the Beijing Natural Science Foundation (No. L231005).

Appendix

This appendix offers extensive additional details and more qualitative analysis complementing the main paper. The content is organized as follows:

  • Generic prompts in GPT4Vis (Appendix A)

  • More examples of Discriminative prompt (Appendix B)

  • Examples of frame and video descriptions with temporal saliency in KGTA (Appendix C)

  • Details of datasets and evaluation protocols in zero-shot setting (Appendix D)

  • More training details (Appendix E)

  • More visualizations of inter-class correlation maps for different text prompts(Appendix F)

Generic prompts in GPT4Vis

GPT4Vis [39] centers on the evaluation of GPT4’s linguistic and visual capabilities in zero-shot visual recognition tasks. Specifically, it explores the potential of GPT4’s generated rich textual descriptions of categories to enhance recognition performance without any training across 16 images, videos and point clouds datasets. For the video recognition datasets, an example of the instruction and GPT4’s response is as follows:

Q: I want you to act as a human action expert. I will give you a word and your task is to give me KK sentences to describe the word. Your description must accurately revolve around this word and be as objective, detailed and diverse as possible. In addition, the subject of your description is a human action video. Do not provide any explanations. The word is “climbing a rope".

A: “Gripping the rope tightly, they began the ascent with determination etched on their face.", “Wrapping their legs around the rope, they pushed upward using the strength of their thighs.", “They reached for the next section of rope, pulling themselves higher with steady breaths.", “Muscles flexed and tensed as each hand-over-hand movement brought them closer to the top.", “A bead of sweat trickled down their forehead, a testament to the effort of climbing the rope.", “Exhaling sharply, they conquered another segment of the vertical challenge, not looking down.", “Their arms ached from the exertion, yet they persisted in climbing the rope with unwavering resolve.", “The rough texture of the rope grazed their palms, each grasp bringing a slight sting.", “They paused momentarily to catch their breath, hanging from the rope with practiced ease.", “With each upward motion, they felt the burn in their shoulders intensify, driving them forward.

It generates KK descriptive sentences for each category, with KK defaulting to be 20. In our paper, we sampled 10 sentences for each category as its Generic prompt.

More examples of Discriminative prompt

Using climbing a rope as an example, its top-5 semantically similar neighbor is {rock climbing, climbing ladder, abseiling, climbing tree, swinging on something}, and the Discriminative prompt is as follows:

“A person tightly grips a vertically suspended rope with both hands and feet, using coordinated pulling and pushing movements to ascend the rope steadily, without interacting with any rigid structures like rocks, ladders, or trees.”

Using diving cliff as an example, its top-5 semantically similar neighbor is {springboard diving, scuba diving, rock climbing, skydiving, surfing water}, and the Discriminative prompt is as follows:

“A video showcasing cliff diving would depict an individual leaping from a high rock or natural formation into a body of water, focusing on the aerial descent, the body posture during freefall, and the splash upon entry, with no use of diving boards, equipment, or parachutes."

Using yoga as an example, its top-5 semantically similar neighbor is {tai chi, stretching leg, bending back, doing aerobics, dancing ballet}, and the Discriminative prompt is as follows:

“A person holds a balanced, stationary pose such as a downward-facing dog or tree pose, with deliberate breathing patterns, slow and controlled transitions between postures, and a calm, focused demeanor, avoiding rapid or rhythmic movements.”

Examples of frame and video descriptions with temporal saliency in KGTA

We present some examples of the CogVLM2-generated frame descriptions and Llama-3.1-generated video descriptions in Figure 8, where the temporal saliency calculated from the similarities between the frame descriptions and video description in KGTA is labeled above the frame sequence.

Examples of frame descriptions and video descriptions, along with the temporal saliencies

Figure 8. Category: “egg hunting”. Frame 1: A child in a pink shirt and jeans bends over, reaching for an object on the grass with a purple bucket in hand, while blonde hair observes, all against a backdrop of green grass and a clear sky. Frame 2: Children are actively engaged in an outdoor egg hunt, with some running across the grassy field, others standing still, and a few holding colorful baskets, while adults are either watching over the children or participating in the hunt, and a person in the foreground is holding a purple egg. Frame 3: Children and adults are scattered across a grassy park, with some running, others walking, and a few standing, while a child in a stroller looks up, and a woman pushes the stroller with a basket in hand. Frame 4: Children and adults are scattered across a grassy park, with some children actively participating in an egg hunt, while others are either watching or assisting, and a woman in a purple jacket is pushing a stroller with a child inside. Frame 5: Children and adults are scattered across a grassy park, with some children bending down to pick up colorful Easter eggs, while adults stand or walk nearby, and a child in a stroller is being pushed by an adult. Frame 6: A man in a gray shirt stands in a grassy park with trees in the background, speaking into a microphone, while the lower third of the screen displays text about a 'WVI STUDENTS HUNT FOR BEEPER EGGS AT LOOSE PARK'. Frame 7: A man in a gray polo shirt stands in a grassy park with trees in the background, looking slightly to his left, while a news banner at the bottom of the image reports on a student event at Loose Park. Frame 8: A man stands in a grassy park with trees in the background, speaking into a microphone, while the lower third of the image displays text about a 'Students Hunt for Beeper Eggs at Loose Park'. Video: The video shows children participating in an outdoor Easter egg hunt in a grassy park, with adults watching over or assisting them, and a news reporter speaking into a microphone in the background, providing context about the event. Category: “ice fishing”. Frame 1: An elderly man in a brown jacket and red beanie stands still in a snowy landscape, looking downward, with a backdrop of a snow-covered hill and evergreen trees. Frame 2: A man in a camouflage jacket and red beanie stands contemplatively against a backdrop of snow-covered ground and a forested hill. Frame 3: A person wearing a red beanie and a brown jacket stands outdoors on a snowy day, with the background showing a snow-covered hill and trees. Frame 4: A person in black boots stands cautiously near a circular hole in the icy surface, with a fishing line extending from the hole into the water below. Frame 5: A person in black boots stands cautiously near a circular hole in the icy surface, with a fishing line extending into the dark void. Frame 6: A man in a red beanie and brown jacket sits on a white object in a snowy landscape, holding a fishing rod and a small black object, possibly a camera or phone. Frame 7: A man in a red beanie and brown jacket sits on a white object in a snowy landscape, holding a black object in his right hand, with a backdrop of snow-covered ground and trees. Frame 8: An elderly man in a brown jacket and red beanie sits on an ice-covered surface, holding a fishing rod with a reel attached. Video: The video shows an elderly man in a brown jacket and red beanie sits in a snowy landscape, holding a fishing rod, cautiously fishing through a hole in the icy surface. Examples of frame descriptions and video descriptions, along with the temporal saliencies.

Details of datasets and evaluation protocols in zero-shot setting

Details of datasets

We describe the video datasets used in our experiments:

  • Kinetics-400 is a large scale video dataset that includes 240,000 training videos and 20,000 validation videos across 400 different action categories from YouTube. Each video clip is roughly 10 seconds in length, capturing a concise action moment.

  • Kinetics-600 builds upon the foundation set by Kinetics-400, introducing an additional 220 action categories that enrich the dataset, particularly for evaluating zero-shot learning capabilities.

  • UCF-101 is an action recognition dataset that contains 13,320 videos from 101 realistic action categories, collected from YouTube. Each video clip is a succinct representation of an action, averaging 7.21 seconds in length.

  • HMDB-51 is a video recognition dataset that contains 7,000 video clips from 51 action categories. It is a collection of realistic videos from various sources, including movies and web videos.

Evaluation protocols in zero-shot setting

We employ the Kinetics-400 pre-trained model to evaluate on UCF-101, HMDB-51 and Kinetics-600 datasets, following the evaluation protocols that are widely used.

UCF-101&HMDB-51:

  • Evaluation Protocol 1 (EP1): We first randomly choose half of the classes in the test dataset, i.e., 50 for UCF-101 and 25 for HMDB-51, and repeat ten times and report averaged result and standard deviation for each datasets. [2]

  • Evaluation Protocol 2 (EP2): We test the pre-trained model on full UCF-101 and HMAB-51, i.e., evaluating on all 101 UCF classes and all 51 HMDB classes. [2]

  • Evaluation Protocol 3 (EP3): We perform testing using three official splits and average the results of each split. The average top-1 accuracy and standard deviation are reported. [21]

Kinetics-600:

  • [6] randomly divided the 220 new classes in Kinetics-600 into 60 validation classes and 160 testing classes, repeating this process three times. We conduct test on the three splits provided in [6] and report the average top-1 accuracy and the standard deviation.

More training details

In zero-shot setting, we use 2 epochs to warm up the training and another 20 epochs for fine-tuning on Kinetics-400. In few-shot setting, we use 2 epochs to warm up the training and another 8 epochs for fine-tuning on the target datasets, with no pre-training on Kinetics-400. For both zero-shot and few-shot settings, the learning rate for warm up is 3.33×10−83.33 \times10^{-8}. The initial learning rate is 3.33×10−63.33 \times10^{-6} and is decayed to 3.33×10−83.33 \times10^{-8} following a cosine schedule. We use ViT-B/16 based CLIP model for all experiments and extract 8 frames for each video and the spatial resolution of the input frame is 224×224224 \times224. We use the pre-trained CogVLM2-llama3-chat-19B-int4 version for generating frame descriptions, and use Llama-3.1-8B-Instruct version for aggregating them into video description. The experiments are conducted on 8×8 \times A6000GPUs. Training the model requires almost a day.

More visualizations of inter-class correlation maps

We provide more visualizations of inter-class correlation maps of UCF-101 and HMDB-51 with different prompts in Figure 9–Figure 16. The darker the color, the lower the similarity.

Inter-class correlation map of 51 categories of HMDB-51 with Hand-crafted prompt.

Figure 9. Inter-class correlation map of 51 categories of HMDB-51 with Hand-crafted prompt.

Inter-class correlation map of 101 categories of UCF-101 with GD-prompt

Figure 16. Inter-class correlation map of 101 categories of UCF-101 with GD-prompt.

Inter-class correlation map of 51 categories of HMDB-51 with Generic prompt.

Figure 10. Inter-class correlation map of 51 categories of HMDB-51 with Generic prompt.

Inter-class correlation map of 51 categories of HMDB-51 with Discriminative prompt.

Figure 11. Inter-class correlation map of 51 categories of HMDB-51 with Discriminative prompt.

Inter-class correlation map of 51 categories of HMDB-51 with GD-prompt.

Figure 12. Inter-class correlation map of 51 categories of HMDB-51 with GD-prompt.

Inter-class correlation map of 101 categories of UCF-101 with Hand-crafted prompt

Figure 13. Inter-class correlation map of 101 categories of UCF-101 with Hand-crafted prompt.

Inter-class correlation map of 101 categories of UCF-101 with gENERIC prompt

Figure 14. Inter-class correlation map of 101 categories of UCF-101 with gENERIC prompt.

Inter-class correlation map of 101 categories of UCF-101 with Discriminative prompt

Figure 15. Inter-class correlation map of 101 categories of UCF-101 with Discriminative prompt.

NeurIPS Paper Checklist

  1. Claims

Question: Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope?

Answer: [Yes]

Justification: See abstract and Sec. 1

Guidelines:

  • The answer NA means that the abstract and introduction do not include the claims made in the paper.

  • The abstract and/or introduction should clearly state the claims made, including the contributions made in the paper and important assumptions and limitations. A No or NA answer to this question will not be perceived well by the reviewers.

  • The claims made should match theoretical and experimental results, and reflect how much the results can be expected to generalize to other settings.

  • It is fine to include aspirational goals as motivation as long as it is clear that these goals are not attained by the paper.

  1. Limitations

Question: Does the paper discuss the limitations of the work performed by the authors?

Answer: [Yes]

Justification: See Sec. 5

Guidelines:

  • The answer NA means that the paper has no limitation while the answer No means that the paper has limitations, but those are not discussed in the paper.

  • The authors are encouraged to create a separate "Limitations" section in their paper.

  • The paper should point out any strong assumptions and how robust the results are to violations of these assumptions (e.g., independence assumptions, noiseless settings, model well-specification, asymptotic approximations only holding locally). The authors should reflect on how these assumptions might be violated in practice and what the implications would be.

  • The authors should reflect on the scope of the claims made, e.g., if the approach was only tested on a few datasets or with a few runs. In general, empirical results often depend on implicit assumptions, which should be articulated.

  • The authors should reflect on the factors that influence the performance of the approach. For example, a facial recognition algorithm may perform poorly when image resolution is low or images are taken in low lighting. Or a speech-to-text system might not be used reliably to provide closed captions for online lectures because it fails to handle technical jargon.

  • The authors should discuss the computational efficiency of the proposed algorithms and how they scale with dataset size.

  • If applicable, the authors should discuss possible limitations of their approach to address problems of privacy and fairness.

  • While the authors might fear that complete honesty about limitations might be used by reviewers as grounds for rejection, a worse outcome might be that reviewers discover limitations that aren’t acknowledged in the paper. The authors should use their best judgment and recognize that individual actions in favor of transparency play an important role in developing norms that preserve the integrity of the community. Reviewers will be specifically instructed to not penalize honesty concerning limitations.

  1. Theory assumptions and proofs

Question: For each theoretical result, does the paper provide the full set of assumptions and a complete (and correct) proof?

Answer: [NA] Justification: This paper does not include theoretical results.

Guidelines:

  • The answer NA means that the paper does not include theoretical results.

  • All the theorems, formulas, and proofs in the paper should be numbered and cross-referenced.

  • All assumptions should be clearly stated or referenced in the statement of any theorems.

  • The proofs can either appear in the main paper or the supplemental material, but if they appear in the supplemental material, the authors are encouraged to provide a short proof sketch to provide intuition.

  • Inversely, any informal proof provided in the core of the paper should be complemented by formal proofs provided in appendix or supplemental material.

  • Theorems and Lemmas that the proof relies upon should be properly referenced.

Experimental result reproducibility

Question: Does the paper fully disclose all the information needed to reproduce the main experimental results of the paper to the extent that it affects the main claims and/or conclusions of the paper (regardless of whether the code and data are provided or not)?

Answer: [Yes]

Justification: We describe the experiment settings and training details in Sec. 4.1 and Appendix E

Guidelines:

  • The answer NA means that the paper does not include experiments.

  • If the paper includes experiments, a No answer to this question will not be perceived well by the reviewers: Making the paper reproducible is important, regardless of whether the code and data are provided or not.

  • If the contribution is a dataset and/or model, the authors should describe the steps taken to make their results reproducible or verifiable.

  • Depending on the contribution, reproducibility can be accomplished in various ways. For example, if the contribution is a novel architecture, describing the architecture fully might suffice, or if the contribution is a specific model and empirical evaluation, it may be necessary to either make it possible for others to replicate the model with the same dataset, or provide access to the model. In general. releasing code and data is often one good way to accomplish this, but reproducibility can also be provided via detailed instructions for how to replicate the results, access to a hosted model (e.g., in the case of a large language model), releasing of a model checkpoint, or other means that are appropriate to the research performed.

  • While NeurIPS does not require releasing code, the conference does require all submissions to provide some reasonable avenue for reproducibility, which may depend on the nature of the contribution. For example (a) If the contribution is primarily a new algorithm, the paper should make it clear how to reproduce that algorithm. (b) If the contribution is primarily a new model architecture, the paper should describe the architecture clearly and fully. (c) If the contribution is a new model (e.g., a large language model), then there should either be a way to access this model for reproducing the results or a way to reproduce the model (e.g., with an open-source dataset or instructions for how to construct the dataset). (d) We recognize that reproducibility may be tricky in some cases, in which case authors are welcome to describe the particular way they provide for reproducibility. In the case of closed-source models, it may be that access to the model is limited in some way (e.g., to registered users), but it should be possible for other researchers to have some path to reproducing or verifying the results.

Open access to data and code

Question: Does the paper provide open access to the data and code, with sufficient instructions to faithfully reproduce the main experimental results, as described in supplemental material? Answer: [Yes]

Justification: Code will be released after blind review.

Guidelines:

  • The answer NA means that paper does not include experiments requiring code.

  • Please see the NeurIPS code and data submission guidelines (https://nips.cc/public/guides/CodeSubmissionPolicy) for more details.

  • While we encourage the release of code and data, we understand that this might not be possible, so “No” is an acceptable answer. Papers cannot be rejected simply for not including code, unless this is central to the contribution (e.g., for a new open-source benchmark).

  • The instructions should contain the exact command and environment needed to run to reproduce the results. See the NeurIPS code and data submission guidelines (https://nips.cc/public/guides/CodeSubmissionPolicy) for more details.

  • The authors should provide instructions on data access and preparation, including how to access the raw data, preprocessed data, intermediate data, and generated data, etc.

  • The authors should provide scripts to reproduce all experimental results for the new proposed method and baselines. If only a subset of experiments are reproducible, they should state which ones are omitted from the script and why.

  • At submission time, to preserve anonymity, the authors should release anonymized versions (if applicable).

  • Providing as much information as possible in supplemental material (appended to the paper) is recommended, but including URLs to data and code is permitted.

Experimental setting/details

Question: Does the paper specify all the training and test details (e.g., data splits, hyperparameters, how they were chosen, type of optimizer, etc.) necessary to understand the results?

Answer: [Yes]

Justification: See experiment settings and training details in Sec. 4.1 and Appendix E

Guidelines:

  • The answer NA means that the paper does not include experiments.

  • The experimental setting should be presented in the core of the paper to a level of detail that is necessary to appreciate the results and make sense of them.

  • The full details can be provided either with the code, in appendix, or as supplemental material.

Experiment statistical significance

Question: Does the paper report error bars suitably and correctly defined or other appropriate information about the statistical significance of the experiments?

Answer: [Yes]

Justification: Under zero-shot setting, we evaluate the model on UCF-101, HMDB-51 and K-600 using different test data splits, and report the average Top-1 accuracy and standard deviation. See Appendix D.

Guidelines:

  • The answer NA means that the paper does not include experiments.

  • The authors should answer "Yes" if the results are accompanied by error bars, confidence intervals, or statistical significance tests, at least for the experiments that support the main claims of the paper.

  • The factors of variability that the error bars are capturing should be clearly stated (for example, train/test split, initialization, random drawing of some parameter, or overall run with given experimental conditions).

  • The method for calculating the error bars should be explained (closed form formula, call to a library function, bootstrap, etc.).

  • The assumptions made should be given (e.g., Normally distributed errors).

  • It should be clear whether the error bar is the standard deviation or the standard error of the mean.

  • It is OK to report 1-sigma error bars, but one should state it. The authors should preferably report a 2-sigma error bar than state that they have a 96% CI, if the hypothesis of Normality of errors is not verified.

  • For asymmetric distributions, the authors should be careful not to show in tables or figures symmetric error bars that would yield results that are out of range (e.g. negative error rates).

  • If error bars are reported in tables or plots, The authors should explain in the text how they were calculated and reference the corresponding figures or tables in the text.

Experiments compute resources

Question: For each experiment, does the paper provide sufficient information on the computer resources (type of compute workers, memory, time of execution) needed to reproduce the experiments?

Answer: [Yes]

Justification: See Appendix E

Guidelines:

  • The answer NA means that the paper does not include experiments.

  • The paper should indicate the type of compute workers CPU or GPU, internal cluster, or cloud provider, including relevant memory and storage.

  • The paper should provide the amount of compute required for each of the individual experimental runs as well as estimate the total compute.

  • The paper should disclose whether the full research project required more compute than the experiments reported in the paper (e.g., preliminary or failed experiments that didn’t make it into the paper).

Code of ethics

Question: Does the research conducted in the paper conform, in every respect, with the NeurIPS Code of Ethics https://neurips.cc/public/EthicsGuidelines?

Answer: [Yes]

Justification: The research in this paper conforms the NeurIPS Code of Ethics.

Guidelines:

  • The answer NA means that the authors have not reviewed the NeurIPS Code of Ethics.

  • If the authors answer No, they should explain the special circumstances that require a deviation from the Code of Ethics.

  • The authors should make sure to preserve anonymity (e.g., if there is a special consideration due to laws or regulations in their jurisdiction).

Broader impacts

Question: Does the paper discuss both potential positive societal impacts and negative societal impacts of the work performed?

Answer: [NA]

Justification: This paper focus on a classification task, with no privacy considerations, and security considerations.

Guidelines:

  • The answer NA means that there is no societal impact of the work performed.

  • If the authors answer NA or No, they should explain why their work has no societal impact or why the paper does not address societal impact.

  • Examples of negative societal impacts include potential malicious or unintended uses (e.g., disinformation, generating fake profiles, surveillance), fairness considerations (e.g., deployment of technologies that could make decisions that unfairly impact specific groups), privacy considerations, and security considerations.

  • The conference expects that many papers will be foundational research and not tied to particular applications, let alone deployments. However, if there is a direct path to any negative applications, the authors should point it out. For example, it is legitimate to point out that an improvement in the quality of generative models could be used to generate deepfakes for disinformation. On the other hand, it is not needed to point out that a generic algorithm for optimizing neural networks could enable people to train models that generate Deepfakes faster.

  • The authors should consider possible harms that could arise when the technology is being used as intended and functioning correctly, harms that could arise when the technology is being used as intended but gives incorrect results, and harms following from (intentional or unintentional) misuse of the technology.

  • If there are negative societal impacts, the authors could also discuss possible mitigation strategies (e.g., gated release of models, providing defenses in addition to attacks, mechanisms for monitoring misuse, mechanisms to monitor how a system learns from feedback over time, improving the efficiency and accessibility of ML).

Safeguards

Question: Does the paper describe safeguards that have been put in place for responsible release of data or models that have a high risk for misuse (e.g., pretrained language models, image generators, or scraped datasets)?

Answer: [NA]

Justification: This paper poses no such risks.

Guidelines:

  • The answer NA means that the paper poses no such risks.

  • Released models that have a high risk for misuse or dual-use should be released with necessary safeguards to allow for controlled use of the model, for example by requiring that users adhere to usage guidelines or restrictions to access the model or implementing safety filters.

  • Datasets that have been scraped from the Internet could pose safety risks. The authors should describe how they avoided releasing unsafe images.

  • We recognize that providing effective safeguards is challenging, and many papers do not require this, but we encourage authors to take this into account and make a best faith effort.

Licenses for existing assets

Question: Are the creators or original owners of assets (e.g., code, data, models), used in the paper, properly credited and are the license and terms of use explicitly mentioned and properly respected?

Answer: [Yes]

Justification: All data and models are mentioned.

Guidelines:

  • The answer NA means that the paper does not use existing assets.

  • The authors should cite the original paper that produced the code package or dataset.

  • The authors should state which version of the asset is used and, if possible, include a URL.

  • The name of the license (e.g., CC-BY 4.0) should be included for each asset.

  • For scraped data from a particular source (e.g., website), the copyright and terms of service of that source should be provided.

  • If assets are released, the license, copyright information, and terms of use in the package should be provided. For popular datasets, paperswithcode.com/datasets has curated licenses for some datasets. Their licensing guide can help determine the license of a dataset.

  • For existing datasets that are re-packaged, both the original license and the license of the derived asset (if it has changed) should be provided.

  • If this information is not available online, the authors are encouraged to reach out to the asset’s creators.

New assets

Question: Are new assets introduced in the paper well documented and is the documentation provided alongside the assets?

Answer: [No]

Justification: This paper does not release new assets.

Guidelines:

  • The answer NA means that the paper does not release new assets.

  • Researchers should communicate the details of the dataset/code/model as part of their submissions via structured templates. This includes details about training, license, limitations, etc.

  • The paper should discuss whether and how consent was obtained from people whose asset is used.

  • At submission time, remember to anonymize your assets (if applicable). You can either create an anonymized URL or include an anonymized zip file.

Crowdsourcing and research with human subjects

Question: For crowdsourcing experiments and research with human subjects, does the paper include the full text of instructions given to participants and screenshots, if applicable, as well as details about compensation (if any)?

Answer: [No]

Justification: This paper does not involve crowdsourcing nor research with human subjects.

Guidelines:

  • The answer NA means that the paper does not involve crowdsourcing nor research with human subjects.

  • Including this information in the supplemental material is fine, but if the main contribution of the paper involves human subjects, then as much detail as possible should be included in the main paper.

  • According to the NeurIPS Code of Ethics, workers involved in data collection, curation, or other labor should be paid at least the minimum wage in the country of the data collector.

Institutional review board (IRB) approvals or equivalent for research with human subjects

Question: Does the paper describe potential risks incurred by study participants, whether such risks were disclosed to the subjects, and whether Institutional Review Board (IRB) approvals (or an equivalent approval/review based on the requirements of your country or institution) were obtained?

Answer: [NA]

Justification: This paper does not involve crowdsourcing nor research with human subjects.

Guidelines:

  • The answer NA means that the paper does not involve crowdsourcing nor research with human subjects.

  • Depending on the country in which research is conducted, IRB approval (or equivalent) may be required for any human subjects research. If you obtained IRB approval, you should clearly state this in the paper.

  • We recognize that the procedures for this may vary significantly between institutions and locations, and we expect authors to adhere to the NeurIPS Code of Ethics and the guidelines for their institution.

  • For initial submissions, do not include any information that would break anonymity (if applicable), such as the institution conducting the review.

Declaration of LLM usage

Question: Does the paper describe the usage of LLMs if it is an important, original, or non-standard component of the core methods in this research? Note that if the LLM is used only for writing, editing, or formatting purposes and does not impact the core methodology, scientific rigorousness, or originality of the research, declaration is not required.

Answer: [Yes]

LLMs are used as an important component of this research to generate natural language prompts.

Guidelines:

  • The answer NA means that the core method development in this research does not involve LLMs as any important, original, or non-standard components.

  • Please refer to our LLM policy (https://neurips.cc/Conferences/2025/LLM) for what should or should not be described.

References

  1. [1]Hyoyin Bahng, Ali Jahanian, Swami Sankaranarayanan, and Phillip Isola. Exploring visual prompts for adapting large-scale models. arXiv preprint arXiv:2203.17274, 2022.arxiv.org/abs/2203.17274
  2. [2]Biagio Brattoli, Joseph Tighe, Fedor Zhdanov, Pietro Perona, and Krzysztof Chalupka. Rethinking zero-shot video classification: End-to-end training for realistic applications. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 4613–4623, 2020.arxiv.org/abs/2003.01455
  3. [3]Adrian Bulat and Georgios Tzimiropoulos. Lasp: Text-to-text optimization for language-aware soft prompting of vision & language models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 23232–23241, 2023.arxiv.org/abs/2210.01115
  4. [4]Joao Carreira and Andrew Zisserman. Quo vadis, action recognition? a new model and the kinetics dataset. In proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 6299–6308, 2017.arxiv.org/abs/1705.07750
  5. [5]Joao Carreira, Eric Noland, Andras Banki-Horvath, Chloe Hillier, and Andrew Zisserman. A short note about kinetics-600. arXiv preprint arXiv:1808.01340, 2018.arxiv.org/abs/1808.01340
  6. [6]Shizhe Chen and Dong Huang. Elaborative rehearsal for zero-shot action recognition. In Proceedings of the IEEE/CVF international conference on computer vision, pages 13638–13647, 2021.arxiv.org/abs/2108.02833
  7. [7]Abhimanyu Dubey, Abhinav Jauhri, Abhinav Pandey, Abhishek Kadian, Ahmad Al-Dahle, Aiesha Letman, Akhil Mathur, Alan Schelten, Amy Yang, Angela Fan, et al. The llama 3 herd of models. arXiv preprint arXiv:2407.21783, 2024.arxiv.org/abs/2407.21783
  8. [8]Koustava Goswami, Srikrishna Karanam, Prateksha Udhayanan, KJ Joseph, and Balaji Vasan Srinivasan. Copl: Contextual prompt learning for vision-language understanding. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 38, pages 18090–18098, 2024.arxiv.org/abs/2307.00910
  9. [9]Xiaohu Huang, Hao Zhou, Kun Yao, and Kai Han. Froster: Frozen clip is a strong teacher for open-vocabulary action recognition. arXiv preprint arXiv:2402.03241, 2024.arxiv.org/abs/2402.03241
  10. [10]Chao Jia, Yinfei Yang, Ye Xia, Yi-Ting Chen, Zarana Parekh, Hieu Pham, Quoc Le, Yun-Hsuan Sung, Zhen Li, and Tom Duerig. Scaling up visual and vision-language representation learning with noisy text supervision. In International conference on machine learning, pages 4904–4916. PMLR, 2021.arxiv.org/abs/2102.05918
  11. [11]Chengyou Jia, Minnan Luo, Xiaojun Chang, Zhuohang Dang, Mingfei Han, Mengmeng Wang, Guang Dai, Sizhe Dang, and Jingdong Wang. Generating action-conditioned prompts for open-vocabulary video action recognition. In Proceedings of the 32nd ACM International Conference on Multimedia, pages 4640–4649, 2024.arxiv.org/abs/2312.02226
  12. [12]Menglin Jia, Luming Tang, Bor-Chun Chen, Claire Cardie, Serge Belongie, Bharath Hariharan, and Ser-Nam Lim. Visual prompt tuning. In European Conference on Computer Vision, pages 709–727. Springer, 2022.arxiv.org/abs/2203.12119
  13. [13]Chen Ju, Tengda Han, Kunhao Zheng, Ya Zhang, and Weidi Xie. Prompting visual-language models for efficient video understanding. In European Conference on Computer Vision, pages 105–124. Springer, 2022.arxiv.org/abs/2112.04478
  14. [14]Muhammad Uzair Khattak, Hanoona Rasheed, Muhammad Maaz, Salman Khan, and Fahad Shahbaz Khan. Maple: Multi-modal prompt learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 19113–19122, 2023.arxiv.org/abs/2210.03117
  15. [15]Hildegard Kuehne, Hueihan Jhuang, Estíbaliz Garrote, Tomaso Poggio, and Thomas Serre. Hmdb: a large video database for human motion recognition. In 2011 International conference on computer vision, pages 2556–2563. IEEE, 2011.DOI
  16. [16]Junnan Li, Dongxu Li, Silvio Savarese, and Steven Hoi. Blip-2: Bootstrapping language-image pre-training with frozen image encoders and large language models. In International conference on machine learning, pages 19730–19742. PMLR, 2023.arxiv.org/abs/2301.12597
  17. [17]Ziyi Lin, Shijie Geng, Renrui Zhang, Peng Gao, Gerard De Melo, Xiaogang Wang, Jifeng Dai, Yu Qiao, and Hongsheng Li. Frozen clip models are efficient video learners. In European Conference on Computer Vision, pages 388–404. Springer, 2022.arxiv.org/abs/2208.03550
  18. [18]Ruyang Liu, Jingjia Huang, Ge Li, Jiashi Feng, Xinglong Wu, and Thomas H Li. Revisiting temporal modeling for clip-based image-to-video knowledge transferring. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 6555–6564, 2023.arxiv.org/abs/2301.11116
  19. [19]Mayug Maniparambil, Chris Vorster, Derek Molloy, Noel Murphy, Kevin McGuinness, and Noel E O’Connor. Enhancing clip with gpt-4: Harnessing visual descriptions as prompts. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 262–271, 2023.arxiv.org/abs/2307.11661
  20. [20]Sachit Menon and Carl Vondrick. Visual classification via description from large language models. arXiv preprint arXiv:2210.07183, 2022.arxiv.org/abs/2210.07183
  21. [21]Bolin Ni, Houwen Peng, Minghao Chen, Songyang Zhang, Gaofeng Meng, Jianlong Fu, Shiming Xiang, and Haibin Ling. Expanding language-image pretrained models for general video recognition. In European Conference on Computer Vision, pages 1–18. Springer, 2022.
  22. [22]Junting Pan, Ziyi Lin, Xiatian Zhu, Jing Shao, and Hongsheng Li. St-adapter: Parameter-efficient image-to-video transfer learning. Advances in Neural Information Processing Systems, 35:26462–26477, 2022.arxiv.org/abs/2206.13559
  23. [23]Jungin Park, Jiyoung Lee, and Kwanghoon Sohn. Dual-path adaptation from image to video transformers. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 2203–2213, 2023.arxiv.org/abs/2303.09857
  24. [24]Sarah Pratt, Ian Covert, Rosanne Liu, and Ali Farhadi. What does a platypus look like? generating customized prompts for zero-shot image classification. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 15691–15701, 2023.
  25. [25]Zhiwu Qing, Shiwei Zhang, Ziyuan Huang, Yingya Zhang, Changxin Gao, Deli Zhao, and Nong Sang. Disentangling spatial and temporal learning for efficient image-to-video transfer learning. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 13934–13944, 2023.
  26. [26]Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. Learning transferable visual models from natural language supervision. In International conference on machine learning, pages 8748–8763. PMLR, 2021.
  27. [27]Hanoona Rasheed, Muhammad Uzair Khattak, Muhammad Maaz, Salman Khan, and Fahad Shahbaz Khan. Fine-tuned clip models are efficient video learners. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 6545–6554, 2023.arxiv.org/abs/2212.03640
  28. [28]K Soomro. Ucf101: A dataset of 101 human actions classes from videos in the wild. arXiv preprint arXiv:1212.0402, 2012.
  29. [29]Yixuan Su, Tian Lan, Yahui Liu, Fangyu Liu, Dani Yogatama, Yan Wang, Lingpeng Kong, and Nigel Collier. Language models can see: Plugging visual controls in text generation. arXiv preprint arXiv:2205.02655, 2022.arxiv.org/abs/2205.02655
  30. [30]Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti Bhosale, et al. Llama 2: Open foundation and fine-tuned chat models. arXiv preprint arXiv:2307.09288, 2023.
  31. [31]Shuyuan Tu, Qi Dai, Zuxuan Wu, Zhi-Qi Cheng, Han Hu, and Yu-Gang Jiang. Implicit temporal modeling with learnable alignment for video recognition. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 19936–19947, 2023.
  32. [32]Mengmeng Wang, Jiazheng Xing, and Yong Liu. Actionclip: A new paradigm for video action recognition. arXiv preprint arXiv:2109.08472, 2021.
  33. [33]Mengmeng Wang, Jiazheng Xing, Boyuan Jiang, Jun Chen, Jianbiao Mei, Xingxing Zuo, Guang Dai, Jingdong Wang, and Yong Liu. M2-clip: A multimodal, multi-task adapting framework for video action recognition. arXiv preprint arXiv:2401.11649, 2024.
  34. [34]Weihan Wang, Qingsong Lv, Wenmeng Yu, Wenyi Hong, Ji Qi, Yan Wang, Junhui Ji, Zhuoyi Yang, Lei Zhao, Xixuan Song, et al. Cogvlm: Visual expert for pretrained language models. arXiv preprint arXiv:2311.03079, 2023.
  35. [35]Syed Talal Wasim, Muzammal Naseer, Salman Khan, Fahad Shahbaz Khan, and Mubarak Shah. Vita-clip: Video and text adaptive clip via multimodal prompting. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 23034–23044, 2023.arxiv.org/abs/2304.03307
  36. [36]Zejia Weng, Xitong Yang, Ang Li, Zuxuan Wu, and Yu-Gang Jiang. Open-vclip: Transforming clip to an open-vocabulary video model via interpolated weight optimization. In International Conference on Machine Learning, pages 36978–36989. PMLR, 2023.arxiv.org/abs/2302.00624
  37. [37]Wenhao Wu, Zhun Sun, and Wanli Ouyang. Revisiting classifier: Transferring vision-language models for video recognition. In Proceedings of the AAAI conference on artificial intelligence, volume 37, pages 2847–2855, 2023.arxiv.org/abs/2207.01297
  38. [38]Wenhao Wu, Xiaohan Wang, Haipeng Luo, Jingdong Wang, Yi Yang, and Wanli Ouyang. Bidirectional cross-modal knowledge exploration for video recognition with pre-trained vision-language models. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 6620–6630, 2023.arxiv.org/abs/2301.00182
  39. [39]Wenhao Wu, Huanjin Yao, Mengxi Zhang, Yuxin Song, Wanli Ouyang, and Jingdong Wang. Gpt4vis: what can gpt-4 do for zero-shot visual recognition? arXiv preprint arXiv:2311.15732, 2023.arxiv.org/abs/2311.15732
  40. [40]Zuxuan Wu, Zejia Weng, Wujian Peng, Xitong Yang, Ang Li, Larry S Davis, and Yu-Gang Jiang. Building an open-vocabulary video clip model with better architectures, optimization and data. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2024.DOI
  41. [41]Taojiannan Yang, Yi Zhu, Yusheng Xie, Aston Zhang, Chen Chen, and Mu Li. Aim: Adapting image models for efficient video action recognition. arXiv preprint arXiv:2302.03024, 2023.arxiv.org/abs/2302.03024
  42. [42]Yue Yang, Artemis Panagopoulou, Shenghao Zhou, Daniel Jin, Chris Callison-Burch, and Mark Yatskar. Language in a bottle: Language model guided concept bottlenecks for interpretable image classification. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 19187–19197, 2023.arxiv.org/abs/2211.11158
  43. [43]Zhengyuan Yang, Zhe Gan, Jianfeng Wang, Xiaowei Hu, Yumao Lu, Zicheng Liu, and Lijuan Wang. An empirical study of gpt-3 for few-shot knowledge-based vqa. In Proceedings of the AAAI conference on artificial intelligence, volume 36, pages 3081–3089, 2022.arxiv.org/abs/2109.05014
  44. [44]Hantao Yao, Rui Zhang, and Changsheng Xu. Visual-language prompt tuning with knowledge-guided context optimization. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 6757–6767, 2023.arxiv.org/abs/2303.13283
  45. [45]Jiahui Yu, Zirui Wang, Vijay Vasudevan, Legg Yeung, Mojtaba Seyedodosseini, and Yonghui Wu. Coca: Contrastive captions are image-text foundation models. arXiv preprint arXiv:2205.01917, 2022.arxiv.org/abs/2205.01917
  46. [46]Lu Yuan, Dongdong Chen, Yi-Ling Chen, Noel Codella, Xiyang Dai, Jianfeng Gao, Houdong Hu, Xuedong Huang, Boxin Li, Chunyuan Li, et al. Florence: A new foundation model for computer vision. arXiv preprint arXiv:2111.11432, 2021.arxiv.org/abs/2111.11432
  47. [47]Yuhang Zang, Wei Li, Kaiyang Zhou, Chen Huang, and Chen Change Loy. Unified vision and language prompt learning. arXiv preprint arXiv:2210.07225, 2022.
  48. [48]Kaiyang Zhou, Jingkang Yang, Chen Change Loy, and Ziwei Liu. Conditional prompt learning for vision-language models. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 16816–16825, 2022.arxiv.org/abs/2203.05557
  49. [49]Kaiyang Zhou, Jingkang Yang, Chen Change Loy, and Ziwei Liu. Learning to prompt for vision-language models. International Journal of Computer Vision, 130(9):2337–2348, 2022.DOI
  50. [50]Beier Zhu, Yulei Niu, Yucheng Han, Yue Wu, and Hanwang Zhang. Prompt-aligned gradient for prompt tuning. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 15659–15669, 2023.arxiv.org/abs/2205.14865

Paper details

vlnc:W_9u26w2wc
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents