A Simple Recipe for Contrastively Pre-Training Video-First Encoders Beyond 16 Frames
Pinelopi Papalampidi, Skanda Koppula, Shreya Pathak, Justin Chiu, Joe Heyward, Viorica Patraucean, Jiajun Shen, Antoine Miech, Andrew Zisserman, Aida Nematzadeh
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).
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
13 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- A Simple LLM Framework for Long-Range Video Question-Answering cites BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Models
- A Simple LLM Framework for Long-Range Video Question-Answering cites Learning Transferable Visual Models From Natural Language Supervision
- Memory Consolidation Enables Long-Context Video Understanding cites LoRA: Low-Rank Adaptation of Large Language Models
- Memory Consolidation Enables Long-Context Video Understanding cites A Simple LLM Framework for Long-Range Video Question-Answering
- Memory Consolidation Enables Long-Context Video Understanding cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Memory Consolidation Enables Long-Context Video Understanding cites Learning Transferable Visual Models From Natural Language Supervision
- Memory Consolidation Enables Long-Context Video Understanding cites Flamingo: a Visual Language Model for Few-Shot Learning
- Streaming Long Video Understanding with Large Language Models cites A Simple LLM Framework for Long-Range Video Question-Answering
- Streaming Long Video Understanding with Large Language Models cites Memory Consolidation Enables Long-Context Video Understanding
- Streaming Long Video Understanding with Large Language Models cites BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Models
- Streaming Long Video Understanding with Large Language Models cites Learning Transferable Visual Models From Natural Language Supervision
- Streaming Long Video Understanding with Large Language Models cites Flamingo: a Visual Language Model for Few-Shot Learning
- TOPA: Extending Large Language Models for Video Understanding via Text-Only Pre-Alignment cites A Simple LLM Framework for Long-Range Video Question-Answering
- TOPA: Extending Large Language Models for Video Understanding via Text-Only Pre-Alignment cites Memory Consolidation Enables Long-Context Video Understanding
- TOPA: Extending Large Language Models for Video Understanding via Text-Only Pre-Alignment cites BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Models
- TOPA: Extending Large Language Models for Video Understanding via Text-Only Pre-Alignment cites Learning Transferable Visual Models From Natural Language Supervision
- TOPA: Extending Large Language Models for Video Understanding via Text-Only Pre-Alignment cites Flamingo: a Visual Language Model for Few-Shot Learning
- BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Models cites Flamingo: a Visual Language Model for Few-Shot Learning
- MoReVQA: Exploring Modular Reasoning Models for Video Question Answering cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- MoReVQA: Exploring Modular Reasoning Models for Video Question Answering cites BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Models
- MoReVQA: Exploring Modular Reasoning Models for Video Question Answering cites Learning Transferable Visual Models From Natural Language Supervision
- MoReVQA: Exploring Modular Reasoning Models for Video Question Answering cites Flamingo: a Visual Language Model for Few-Shot Learning
- Learning Transferable Visual Models From Natural Language Supervision cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Flamingo: a Visual Language Model for Few-Shot Learning cites Learning Transferable Visual Models From Natural Language Supervision
Cited by top-tier papers13
- Streaming Long Video Understanding with Large Language ModelsRui Qian, Xiaoyi Dong, Pan Zhang, Yuhang Zang et al.NeurIPS 2024 · 216 citations
- Memory Consolidation Enables Long-Context Video UnderstandingIvana Balazevic, Yuge Shi, Pinelopi Papalampidi, Rahma Chaabouni et al.ICML 2024 · 52 citations
- A Simple LLM Framework for Long-Range Video Question-AnsweringCe Zhang, Taixi Lu, Md Mohaiminul Islam, Ziyang Wang et al.EMNLP 2024 · 37 citations
- MoReVQA: Exploring Modular Reasoning Models for Video Question AnsweringJuhong Min, Shyamal Buch, Arsha Nagrani, Minsu Cho et al.CVPR 2024 · 27 citations
- TOPA: Extending Large Language Models for Video Understanding via Text-Only Pre-AlignmentWei Li, Hehe Fan, Yongkang Wong, Mohan S. Kankanhalli et al.NeurIPS 2024 · 18 citations
Builds on48
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
- LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu et al.ICLR 2022 · 18,833 citations
- BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language ModelsJunnan Li, Dongxu Li, Silvio Savarese, Steven C. H. HoiICML 2023 · 7,873 citations
- Flamingo: a Visual Language Model for Few-Shot LearningJean-Baptiste Alayrac, Jeff Donahue, Pauline Luc, Antoine Miech et al.NeurIPS 2022 · 6,707 citations
Related papers
- Flash-Vstream: Efficient Real-Time Understanding for Long Video StreamsHaoji Zhang, Yiqin Wang, Yansong Tang, Yong Liu et al.ICCV 2025 · 15 citations
- LV-MAE: Learning Long Video Representations Through Masked-Embedding AutoencodersIlan Naiman, Emanuel Ben Baruch, Oron Anschel, Alon Shoshan et al.ICCV 2025 · 2 citations
- Learning Beyond Still Frames: Scaling Vision-Language Models with VideoYiyuan Zhang, Handong Jing, Jing Liu, Xiangyu YueICCV 2025 · 2 citations
- VidLA: Video-Language Alignment at ScaleMamshad Nayeem Rizve, Fan Fei, Jayakrishnan Unnikrishnan, Son Tran et al.CVPR 2024 · 3 citations
- Long-Form Video-Language Pre-Training with Multimodal Temporal Contrastive LearningYuchong Sun, Hongwei Xue, Ruihua Song, Bei Liu et al.NeurIPS 2022 · 91 citations
