Skip to main content
QUICK REVIEW

[Paper Review] OmniVL:One Foundation Model for Image-Language and Video-Language Tasks

Junke Wang, Dongdong Chen|arXiv (Cornell University)|Sep 15, 2022
Multimodal Machine Learning ApplicationsComputer Science68 citations
TL;DR

OmniVL is a unified transformer-based foundation model that jointly handles image-language and video-language tasks with decoupled spatial-temporal pretraining and UniVLC loss, achieving competitive or state-of-the-art results across vision-language benchmarks.

ABSTRACT

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.

Motivation & Objective

  • Motivate a single foundation model that supports both image-language and video-language tasks.
  • Propose decoupled joint pretraining to separately learn spatial (image) and temporal (video) representations.
  • Introduce UniVLC loss to fuse image/text, video/text, image/label, and video/label data in a unified contrastive framework.
  • Enable a single architecture to perform visual-only, cross-modal alignment, and multi-modal generation tasks without extra task-specific adaptors.

Proposed method

  • Use a unified transformer-based visual encoder shared by images and videos, with 2D patch tokens for images and 3D patch tokens plus temporal attention for videos.
  • Employ a text encoder (BERT) and two visual-grounded decoders: one for semantic alignment with bidirectional attention, and one for generation with causal attention.
  • Pretrain in a decoupled manner: first image-language (spatial) pretraining, then joint image-label-text and video-label-text pretraining to learn temporal dynamics.
  • Adopt UniVLC loss to unify image/video-label data with image/video-text data in a shared visual-label-text space, and include a Vision-Language Matching (VLM) loss and an autoregressive Language Modeling loss.
  • Optimize the total objective as L = λ1 L_UniVLC + λ2 L_VLM + λ3 L_LM with all λ set to 1 by default.
  • Pretraining data include 14M image-text and 2.5M video-text (plus label data from ImageNet and Kinetics-400).
  • Inference supports visual-only, cross-modal alignment, and multi-modal generation without extra adapters.

Experimental results

Research questions

  • RQ1Can a single foundation model optimally support both image-language and video-language tasks?
  • RQ2Does decoupled spatial-temporal pretraining benefit both image and video tasks compared to joint or naive combinations?
  • RQ3Can a unified contrastive loss (UniVLC) leverage image-text, video-text, image-label, and video-label data effectively for multi-task learning?
  • RQ4To what extent can such a model achieve state-of-the-art or competitive results across retrieval, captioning, QA, and VQA tasks?

Key findings

  • OmniVL achieves state-of-the-art or competitive results on image-text retrieval, image captioning, text-to-video retrieval, and video QA with similar model size/data as baselines.
  • 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.
  • In video action recognition, OmniVL attains 93.2% Top-1 on UCF101 under linear probing and surpasses TimeSformer in supervised/finetuned settings on Kinetics-400 and Something-Something v2.
  • UniVLC loss provides notable gains on vision-language tasks and consistent performance improvements on visual-only tasks when compared to vanilla contrastive baselines.
  • A decoupled joint pretraining strategy (image-only → joint image+video) yields better performance on both image and video tasks than joint-from-scratch or Img2Vid baselines.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.