[论文解读] Language Models with Image Descriptors are Strong Few-Shot Video-Language Learners
VidIL 利用图像-语言模型将视频内容转换为帧字幕和视觉标记,然后用具有时间感知上下文的冻结语言模型进行提示,在无需视频预训练的情况下执行少样本的视频到文本任务。
The goal of this work is to build flexible video-language models that can generalize to various video-to-text tasks from few examples, such as domain-specific captioning, question answering, and future event prediction. Existing few-shot video-language learners focus exclusively on the encoder, resulting in the absence of a video-to-text decoder to handle generative tasks. Video captioners have been pretrained on large-scale video-language datasets, but they rely heavily on finetuning and lack the ability to generate text for unseen tasks in a few-shot setting. We propose VidIL, a few-shot Video-language Learner via Image and Language models, which demonstrates strong performance on few-shot video-to-text tasks without the necessity of pretraining or finetuning on any video datasets. We use the image-language models to translate the video content into frame captions, object, attribute, and event phrases, and compose them into a temporal structure template. We then instruct a language model, with a prompt containing a few in-context examples, to generate a target output from the composed content. The flexibility of prompting allows the model to capture any form of text input, such as automatic speech recognition (ASR) transcripts. Our experiments demonstrate the power of language models in understanding videos on a wide variety of video-language tasks, including video captioning, video question answering, video caption retrieval, and video future event prediction. Especially, on video future event prediction, our few-shot model significantly outperforms state-of-the-art supervised models trained on large-scale video datasets. Code and resources are publicly available for research purposes at https://github.com/MikeWangWZHL/VidIL .
研究动机与目标
- 激励在不对视频数据进行微调的情况下实现灵活的少样本视频到文本学习。
- 通过图像-语言模型将视频内容转换为文本表示(帧字幕、视觉标记)。
- 让冻结语言模型能够通过上下文提示为多样化任务生成目标输出。
- 展示在字幕生成、问答、检索和事件预测等方面的广泛适用性。
提出的方法
- 将视频分解为三个文本层级:视觉标记(对象、事件、属性)、帧字幕,以及视频级表示。
- 使用 CLIP 通过与候选词汇的余弦相似度在抽样帧上检索最高的视觉标记。
- 使用语义角色标注从 Visual Genome 构建事件词汇表,并用 SentenceBERT 相似度进行修剪。
- 使用 BLIP 生成帧字幕,以捕捉帧级语义并筛除噪声。
- 为冻结语言模型(例如 InstructGPT)组装一个具有时间感知的少量示例提示(指令 + 上下文示例 + 任务查询),以产生目标输出。
- 在提示中注入时间标记(First/Then/Finally),以引导语言模型穿越对象/事件随时间的变化。
实验结果
研究问题
- RQ1在不进行视频预训练的情况下,是否有一个在图像-语言派生表示和时间提示引导下的冻结语言模型,能够在少样本设置中执行多样化的视频到文本任务?
- RQ2帧级字幕和视觉标记如何在字幕生成、问答、检索和事件预测等任务中提升性能?
- RQ3时间排序与ASR/转录文本对少样本视频-语言任务有何影响?
主要发现
- VidIL 在视频字幕生成、问答、检索和未来事件预测等任务中,在无视频预训练或微调的情况下实现了强大的少样本性能。
- 基于 SentenceBERT 和近时性(新近性)的上下文示例选择提升了少样本的鲁棒性和效率。
- 时间感知提示提升了模型捕捉时间动态的能力,在需要序列理解的任务上优于静态提示。
- 该方法更好地处理域变异(开放域视频与教学视频),并受益于诸如 ASR 转录文本等额外模态。
- 在视频-语言事件预测方面,VidIL 的 10-shot 配置优于在更大视频数据集上训练的一些全监督基线。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。