Extending Video Masked Autoencoders to 128 frames

N. B. Gundavarapu, Luke Friedman, Raghav Goyal, Chaitra Hegde, E. Agustsson +6 more
2/3/2026

No official code found. Best implementation: lucidrains/LVMAE-pytorch (55 stars, MIT, last commit 2024-11-25).

Abstract

Video understanding has witnessed significant progress with recent video foundation models demonstrating strong performance owing to self-supervised pre-training objectives; Masked Autoencoders (MAE) being the design of choice. Nevertheless, the majority of prior works that leverage MAE pre-training have focused on relatively short video representations (16 / 32 frames in length) largely due to hardware memory and compute limitations that scale poorly with video length due to the dense memory-intensive self-attention decoding. One natural strategy to address these challenges is to subsample tokens to reconstruct during decoding (or decoder masking). In this work, we propose an effective strategy for prioritizing tokens which allows training on longer video sequences (128 frames) and gets better performance than, more typical, random and uniform masking strategies. The core of our approach is an adaptive decoder masking strategy that prioritizes the most important tokens and uses quantized tokens as reconstruction objectives. Our adaptive strategy leverages a powerful MAGVIT-based tokenizer that jointly learns the tokens and their priority. We validate our design choices through exhaustive ablations and observe improved performance of the resulting long-video (128 frames) encoders over short-video (32 frames) counterparts. With our long-video masked autoencoder (LVMAE) strategy, we surpass state-of-the-art on Diving48 by 3.9 points and EPIC-Kitchens-100 verb classification by 2.5 points while relying on a simple core architecture and video-only pre-training (unlike some of the prior works that require millions of labeled video-text pairs or specialized encoders).

View on arXivView PDF

Code Implementations(1)

MIT

Implementation of the proposed LVMAE, from the paper, Extending Video Masked Autoencoders to 128 frames, in Pytorch

552PythonNov 23, 20241 years agoMIT
artificial-intelligencedeep-learningmasked-autoencodervideo-understanding

Similar Papers

Cite this paper

@article{gundavarapu2026extending,
  title  = {Extending Video Masked Autoencoders to 128 frames},
  author = {N. B. Gundavarapu and Luke Friedman and Raghav Goyal and Chaitra Hegde and E. Agustsson and Sagar M. Waghmare and Mikhail Sirotenko and Ming Yang and Tobias Weyand and Boqing Gong and Leonid Sigal},
  year   = {2026},
  eprint = {2411.13683},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2411.13683},
  url    = {https://arxiv.org/abs/2411.13683},
  journal = {NEURIPS 2024 2024}
}

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

Discussion