Skip to main content
QUICK REVIEW

[论文解读] Align and Prompt: Video-and-Language Pre-training with Entity Prompts

Dongxu Li, Junnan Li|arXiv (Cornell University)|Dec 17, 2021
Multimodal Machine Learning ApplicationsComputer Science被引用 17
一句话总结

本文提出 AlPro,一种视频与语言预训练框架,通过视频-文本对比学习和一种新颖的提示实体建模(PEM)任务,增强跨模态对齐。通过使用自监督实体提示器生成伪标签(无需目标检测器),AlPro 在文本-视频检索和视频问答任务上取得最先进性能,在 MSRVTT 数据集的零样本检索任务中实现 5.4% 的绝对性能提升。

ABSTRACT

Video-and-language pre-training has shown promising improvements on various downstream tasks. Most previous methods capture cross-modal interactions with a transformer-based multimodal encoder, not fully addressing the misalignment between unimodal video and text features. Besides, learning fine-grained visual-language alignment usually requires off-the-shelf object detectors to provide object information, which is bottlenecked by the detector's limited vocabulary and expensive computation cost. We propose Align and Prompt: an efficient and effective video-and-language pre-training framework with better cross-modal alignment. First, we introduce a video-text contrastive (VTC) loss to align unimodal video-text features at the instance level, which eases the modeling of cross-modal interactions. Then, we propose a new visually-grounded pre-training task, prompting entity modeling (PEM), which aims to learn fine-grained region-entity alignment. To achieve this, we first introduce an entity prompter module, which is trained with VTC to produce the similarity between a video crop and text prompts instantiated with entity names. The PEM task then asks the model to predict the entity pseudo-labels (i.e~normalized similarity scores) for randomly-selected video crops. The resulting pre-trained model achieves state-of-the-art performance on both text-video retrieval and videoQA, outperforming prior work by a substantial margin. Our code and pre-trained models are available at https://github.com/salesforce/ALPRO.

研究动机与目标

  • 解决视频-语言预训练中单模态视频与文本特征之间的错位问题。
  • 克服目标检测器在提供细粒度视觉-语言监督时的局限性,包括词汇约束与高计算成本。
  • 在不依赖固定离线特征的前提下,实现在稀疏采样视频帧上的有效跨模态学习。
  • 通过自监督提示机制,强化细粒度区域-实体对齐。
  • 在下游视频-语言任务(如文本-视频检索与视频问答)上实现最先进性能。

提出的方法

  • 引入视频-文本对比(VTC)损失,以实例级别对齐单模态视频与文本特征,提升跨模态交互建模能力。
  • 提出一种新颖的预训练任务——提示实体建模(PEM),通过专用的实体提示器模块学习视觉区域与文本实体之间的细粒度对齐。
  • 设计一种自监督实体提示器,通过计算视频裁剪区域与文本提示(如“{ENTITY} 的视频”)之间的相似度,生成无需真实标注的伪标签。
  • 使用多种模板(如“一段 {ENTITY} 的影像”)进行提示集成,以提升伪标签质量。
  • 在从网络获取的视频-文本对上,端到端地联合预训练视频-语言 Transformer 模型,损失函数包括 VTC、PEM、掩码语言建模(MLM)与视频-文本匹配(VTM)。
  • 从视频中稀疏采样帧,以实现视觉主干网络的高效端到端训练,避免使用固定离线特征。
Figure 1 : Generating supervision for region-entity alignment. Above : previous methods ( e.g . ActBERT [ 57 ] ) rely on object detectors with expensive computation cost and limited object categories, leaving text data unexploited. Below : AlPro generates soft entity labels with a prompter module, w
Figure 1 : Generating supervision for region-entity alignment. Above : previous methods ( e.g . ActBERT [ 57 ] ) rely on object detectors with expensive computation cost and limited object categories, leaving text data unexploited. Below : AlPro generates soft entity labels with a prompter module, w

实验结果

研究问题

  • RQ1实例级别的视频-文本特征对齐是否能提升视频-语言模型中的跨模态表示学习?
  • RQ2自监督实体提示器是否能在不依赖目标检测器的前提下,生成高质量的伪标签以实现细粒度区域-实体对齐?
  • RQ3实体数量与帧数如何影响预训练模型在下游任务上的性能表现?
  • RQ4所提出的 PEM 任务是否能在文本-视频检索与视频问答等视频-语言理解基准上带来可测量的性能提升?
  • RQ5基于提示的框架是否可有效扩展至图像-文本或纯视频表示学习任务?

主要发现

  • 在 MSRVTT 的零样本文本-视频检索任务中,AlPro 的 R1 分数相比之前最先进方法提升 5.4% 的绝对值。
  • 在 MSVD-QA 基准上,使用提示集成的 AlPro 达到 45.9% 的准确率,相比无集成的基线模型提升 0.9%。
  • 采样 8–16 帧的模型在性能与计算成本之间取得最佳平衡,MSRVTT-FT 的 R1 为 34.2%,MSRVTT-ZS 的 R1 为 24.7%。
  • 引入 PEM 任务能持续提升基线模型(MLM+VTM+VTC)的性能,使用 1,000 个高频实体时达到最佳结果。
  • 使用超过 1,000 个实体会因低频实体引入噪声,导致性能下降,表明实体选择存在最优平衡点。
  • 提示集成显著提升伪标签质量,使 MSRVTT-ZS 的 R1 从 22.6% 提升至 24.1%,MSVD-QA 的准确率从 45.0% 提升至 45.9%。
Figure 2 : AlPro pre-training framework. Left : the video-language pre-training model contains a space-time video encoder, a text encoder, and a multi-modal encoder, all of which are transformer-based. Besides two canonical objectives masked language modeling (MLM) and video-text matching (VTM), we
Figure 2 : AlPro pre-training framework. Left : the video-language pre-training model contains a space-time video encoder, a text encoder, and a multi-modal encoder, all of which are transformer-based. Besides two canonical objectives masked language modeling (MLM) and video-text matching (VTM), we

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。