Video Pre-trained Transformer: A Multimodal Mixture of Pre-trained Experts

Kastan Day, Daniel Christl, Rohan Salvi, Pranav Sriram
3/24/2023
cs.CVcs.AIcs.LG

No official code found. Best implementation: KastanDay/video-pretrained-transformer (54 stars, MIT, last commit 2023-04-21).

Abstract

We present Video Pre-trained Transformer. VPT uses four SOTA encoder models from prior work to convert a video into a sequence of compact embeddings. Our backbone, based on a reference Flan-T5-11B architecture, learns a universal representation of the video that is a non-linear sum of the encoder models. It learns using an autoregressive causal language modeling loss by predicting the words spoken in YouTube videos. Finally, we evaluate on standard downstream benchmarks by training fully connected prediction heads for each task. To the best of our knowledge, this is the first use of multiple frozen SOTA models as encoders in an "embedding -> backbone -> prediction head" design pattern - all others have trained their own joint encoder models. Additionally, we include more modalities than the current SOTA, Merlot Reserve, by adding explicit Scene Graph information. For these two reasons, we believe it could combine the world's best open-source models to achieve SOTA performance. Initial experiments demonstrate the model is learning appropriately, but more experimentation and compute is necessary, and already in progress, to realize our loftier goals. Alongside this work, we build on the YT-20M dataset, reproducing it and adding 25,000 personally selected YouTube videos to its corpus. All code and model checkpoints are open sourced under a standard MIT license.

View on arXivView PDF

Code Implementations(1)

MIT

Multi-model video-to-text by combining embeddings from Flan-T5 + CLIP + Whisper + SceneGraph. The 'backbone LLM' is pre-trained from scratch on YouTube (YT-1B dataset).

5411Python, Jupyter NotebookSep 30, 20223 years agoMIT

Similar Papers

Cite this paper

@article{day2023video,
  title  = {Video Pre-trained Transformer: A Multimodal Mixture of Pre-trained Experts},
  author = {Kastan Day and Daniel Christl and Rohan Salvi and Pranav Sriram},
  year   = {2023},
  eprint = {2304.10505},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.10505v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2304.10505.svg)](https://codeofpaper.com/paper/2304.10505)

Discussion