[论文解读] OmniVL:One Foundation Model for Image-Language and Video-Language Tasks
OmniVL 是一个统一的基于Transformer的基础模型,能够共同处理图像-语言和视频-语言任务,具有解耦的时空预训练和 UniVLC 损失,在视觉-语言基准测评中实现具有竞争力或最先进的结果。
This paper presents OmniVL, a new foundation model to support both image-language and video-language tasks using one universal architecture. It adopts a unified transformer-based visual encoder for both image and video inputs, and thus can perform joint image-language and video-language pretraining. We demonstrate, for the first time, such a paradigm benefits both image and video tasks, as opposed to the conventional one-directional transfer (e.g., use image-language to help video-language). To this end, we propose a decoupled joint pretraining of image-language and video-language to effectively decompose the vision-language modeling into spatial and temporal dimensions and obtain performance boost on both image and video tasks. Moreover, we introduce a novel unified vision-language contrastive (UniVLC) loss to leverage image-text, video-text, image-label (e.g., image classification), video-label (e.g., video action recognition) data together, so that both supervised and noisily supervised pretraining data are utilized as much as possible. Without incurring extra task-specific adaptors, OmniVL can simultaneously support visual only tasks (e.g., image classification, video action recognition), cross-modal alignment tasks (e.g., image/video-text retrieval), and multi-modal understanding and generation tasks (e.g., image/video question answering, captioning). We evaluate OmniVL on a wide range of downstream tasks and achieve state-of-the-art or competitive results with similar model size and data scale.
研究动机与目标
- 提出一个能同时支持图像-语言和视频-语言任务的单一基础模型。
- 提出解耦的联合预训练,以分别学习空间(图像)和时间(视频)表示。
- 引入 UniVLC 损失,将 image/text、video/text、image/label 与 video/label 数据在一个统一对比框架中融合。
- 使单一架构能够在无额外任务特定适配器的情况下执行仅视觉、跨模态对齐和多模态生成任务。
提出的方法
- 使用一个由图像和视频共享的统一Transformer为基础的视觉编码器,图像使用2D补丁令牌,视频使用3D补丁令牌并加入时间注意力。
- 使用文本编码器(BERT)以及两个基于视觉的解码器:一个用于带双向注意力的语义对齐,另一个用于因果注意力的生成。
- 以解耦方式进行预训练:先进行图像-语言(空间)预训练,然后进行联合的 image-label-text 和 video-label-text 预训练,以学习时序动态。
- 采用 UniVLC 损失,在一个共享的视觉-标签-文本空间中统一图像/视频-标签数据与图像/视频-文本数据,并包含 Vision-Language Matching (VLM) 损失和自回归语言建模损失。
- 将总目标优化为 L = λ1 L_UniVLC + λ2 L_VLM + λ3 L_LM,默认所有 λ=1。
- 预训练数据包括 14M image-text 和 2.5M video-text(以及来自 ImageNet 和 Kinetics-400 的标签数据)。
- 推理支持仅视觉、跨模态对齐和多模态生成,无需额外适配器。
实验结果
研究问题
- RQ1一个单一的基础模型是否能够最优地同时支持图像-语言和视频-语言任务?
- RQ2相较于联合或简单组合,解耦的时空预训练是否有利于图像和视频任务?
- RQ3统一的对比损失(UniVLC)是否能有效地利用 image-text、video-text、image-label 和 video-label 数据以实现多任务学习?
- RQ4在检索、描述、问答和VQA等任务上,这样的模型在多大程度上能够达到最先进或具有竞争力的结果?
主要发现
- OmniVL 在图像-文本检索、图像描述、文本到视频检索和视频问答方面取得与基线在相近模型规模/数据下的最先进或具竞争力的结果。
- With 14M image-text and 2.5M video-text data, OmniVL reaches 82.1/64.8 R@1 on COCO image-to-text and text-to-image retrieval, 39.8 BLEU-4 on COCO captioning, 47.8 R@1 on MSRVTT text-to-video retrieval, and 51.9% accuracy on MSVD QA.
- 在视频动作识别中,OmniVL 在 UCF101 的线性探针下达到 93.2% Top-1,并在 Kinetics-400 与 Something-Something v2 的监督/微调设置上超越 TimeSformer。
- UniVLC 损失在视觉-语言任务上提供显著提升,且对仅视觉任务也有持续的性能改进。
- 解耦的联合预训练策略(image-only → joint image+video)在图像和视频任务上均呈现比从零开始的联合或 Img2Vid 基线更好的性能。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。