atlas

Research map / Video / Video-language understanding

A Simple Recipe for Contrastively Pre-training Video-First Encoders Beyond 16 Frames

CVPR 2024 · Video › Video-language understanding · approach: Video-language pretraining · 17 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Explores memory-efficient video-first ViT encoders trained with contrastive pre-training and video-to-text tuning, showing that high random tubelet masking (up to 75%) enables scaling to 256 frames (4.3 min at 1 FPS) and beats LLM-aggregation pipelines on YouCook2 and EgoSchema.

Problem

Video-language models built by transferring image-text encoders via late temporal fusion handle only short clips (~16 frames); video-first encoders with joint space-time attention are memory-bound, limiting how many frames can be processed for long-video understanding.

Approach

Systematically compare memory-efficient designs (factorized attention, adapters/LoRA, input tubelet masking, multi-resolution patchification) and find that high random input masking (75%) during contrastive pre-training is the most robust, enabling a two-stage short-to-long video encoder (LongViViT) that is frozen and fed to a frozen LM.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use joint space-time attention instead of frame-level encodingsViViT · YouCook2text-to-video Recall@1: 9.1 -> 12.3Helped
mask 75% of input video tokens during contrastive pre-training (ablation)SHORTVIVIT-L · zero-shot video-text retrievalRecall@1: an average of 1% absolute differenceHurt
mask 75% of input video tokens during contrastive pre-training (ablation)SHORTVIVIT-L · zero-shot video captioningCIDErNo clear effect
adapt SHORTVIVIT to longer contexts with LONGVIVIT training (ablation)SHORTVIVIT · YouCook2Rouge-L: 1.8 Rouge-L pointsHelped
use MLP Adapters to tune SHORTVIVIT for longer videos (ablation)SHORTVIVIT · YouCook2Rouge-LNo clear effect
tune only the last four layers when adapting to longer videos (ablation)LONGVIVIT · YouCook2Rouge-LNo clear effect
mask 30% of input video during video-to-text training and inference (ablation)LONGVIVIT · video summarizationsummarization performanceNo clear effect
use LoRA instead of MLP Adapters for image-to-video adaptation (ablation)ViViT · YouCook2 and VATEXtext-to-video Recall@1Hurt
use factorized attention instead of joint space-time attention (ablation)ViViT · YouCook2 and VATEXtext-to-video Recall@1: 25% relative decreaseHurt
use coarser temporal patchification (ablation)video encoder · YouCook2 and VATEXtext-to-video Recall@1Hurt
remove video data from the training mixture (ablation)video-to-text model · YouCook2 and VATEXvideo-to-text Recall@1: up to 75%Hurt
remove image data from the training mixture (ablation)video-to-text model · MSR-VTT and ActivityNetvideo-to-text Recall@1Hurt

Surprising findings

Limitations

Experimental setup

Datasets: VTP (27M video-text pairs) HowTo100M VideoCC3M HowTo100M Summary MSR-VTT VATEX YouCook2 ActivityNet Captions EgoSchema Perceiver-style image datasets from Flamingo

Benchmarks: MSR-VTT VATEX YouCook2 ActivityNet Captions EgoSchema Perception Test

Metrics: Recall@1 CIDEr Rouge-L multiple-choice accuracy

Baselines: VideoCoCa Flamingo-3B SeViLA PALI-3 + Bard ImageViT-to-Bard SHORTVIVIT-to-Bard Blind Bard Factorized ST-ViViT TubeViT

Builds on: CoCa-style two-step recipe (Flamingo) ViViT TubeViT Perceiver Resampler VideoCoCa

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy