arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2212.03640cs.CVcs.AI
收藏

微调的CLIP模型是高效的视频学习器

Fine-tuned CLIP Models are Efficient Video Learners

Mohamed bin Zayed University of AI(穆罕默德·本·扎耶德人工智能大学);Australian National University(澳大利亚国立大学);Linköping University(林雪平大学)

Hanoona Rasheed, Muhammad Uzair Khattak, Muhammad Maaz, Salman Khan, Fahad Shahbaz Khan

摘要:

大规模的多模态图像-文本对训练赋予CLIP模型很强的泛化能力。由于对视频进行类似规模的训练是不可行的,最近的方法集中在将基于图像的CLIP有效地转移到视频域。在此过程中,加入了新的参数化模块来学习时间信息和帧间关系,这需要细致的设计工作。此外,当在视频上学习所得到的模型时,它们倾向于在给定的任务分布上过拟合,并且缺乏泛化性。这就引出了以下问题:如何有效地将图像级CLIP表示转换为视频?在这项工作中,我们表明,一个简单的视频微调CLIP(ViFi-CLIP)基线一般足以弥合从图像到视频的域差距。我们的定性分析表明,从CLIP图像编码器的帧级处理,其次是特征池和相似性匹配与相应的文本嵌入有助于隐式建模的时间线索内ViFi-CLIP。这种微调有助于模型专注于场景动态,移动对象和对象间关系。对于低数据制度,完全微调是不可行的,我们提出了一个“桥梁和提示”的方法,首先使用微调,以弥合域的差距,然后学习提示语言和视觉方面,以适应CLIP表示。我们广泛地评估了这个简单而强大的基线上的zero-shot,基础到小说的泛化,Few-Shot和完全监督设置在五个视频基准。我们的代码可在https://github.com/muzairkhattak/ViFi-CLIP上获得。

英文摘要:

Large-scale multi-modal training with image-text pairs imparts strong generalization to CLIP model. Since training on a similar scale for videos is infeasible, recent approaches focus on the effective transfer of image-based CLIP to the video domain. In this pursuit, new parametric modules are added to learn temporal information and inter-frame relationships which require meticulous design efforts. Furthermore, when the resulting models are learned on videos, they tend to overfit on the given task distribution and lack in generalization aspect. This begs the following question: How to effectively transfer image-level CLIP representations to videos? In this work, we show that a simple Video Fine-tuned CLIP (ViFi-CLIP) baseline is generally sufficient to bridge the domain gap from images to videos. Our qualitative analysis illustrates that the frame-level processing from CLIP image-encoder followed by feature pooling and similarity matching with corresponding text embeddings helps in implicitly modeling the temporal cues within ViFi-CLIP. Such fine-tuning helps the model to focus on scene dynamics, moving objects and inter-object relationships. For low-data regimes where full fine-tuning is not viable, we propose a `bridge and prompt' approach that first uses fine-tuning to bridge the domain gap and then learns prompts on language and vision side to adapt CLIP representations. We extensively evaluate this simple yet strong baseline on zero-shot, base-to-novel generalization, few-shot and fully supervised settings across five video benchmarks. Our code is available at https://github.com/muzairkhattak/ViFi-CLIP.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑