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

Pinelopi Papalampidi, Skanda Koppula, Shreya Pathak, Justin Chiu, Joseph Heyward +5 more
2/14/2026

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Understanding long, real-world videos requires modeling of long-range visual dependencies. To this end, we explore video-first architectures, building on the common paradigm of transferring large-scale, image–text models to video via shallow temporal fusion. However, we expose two limitations to the approach: (1) decreased spatial capabilities, likely due to poor video–language alignment in standard video datasets, and (2) higher memory consumption, bottlenecking the number of frames that can be processed. To mitigate the memory bottleneck, we systematically analyze the memory/accuracy trade-off of various efficient methods: factorized attention, parameter-efficient image-to-video adaptation, input masking, and multi-resolution patchification. Surprisingly, simply masking large portions of the video (up to 75%) during contrastive pre-training proves to be one of the most robust ways to scale encoders to videos up to 4.3 minutes at 1 FPS. Our simple approach for training long video-to-text models, which scales to 1B parameters, does not add new architectural complexity and is able to outperform the popular paradigm of using much larger LLMs as an information aggregator over segment-based information on benchmarks with long-range temporal dependencies (YouCook2, EgoSchema).

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{papalampidi2026simple,
  title  = {A Simple Recipe for Contrastively Pre-Training Video-First Encoders Beyond 16 Frames},
  author = {Pinelopi Papalampidi and Skanda Koppula and Shreya Pathak and Justin Chiu and Joseph Heyward and Viorica Patraucean and Jiajun Shen and Antoine Miech and A. Zisserman and Aida Nematzdeh},
  year   = {2026},
  eprint = {2312.07395},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2312.07395},
  journal = {CVPR 2023 2023}
}

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/2312.07395.svg)](https://codeofpaper.com/paper/2312.07395)

Discussion