Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Extending Video Masked Autoencoders to 128 frames

About

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).

Nitesh Bharadwaj Gundavarapu, Luke Friedman, Raghav Goyal, Chaitra Hegde, Eirikur Agustsson, Sagar M. Waghmare, Mikhail Sirotenko, Ming-Hsuan Yang, Tobias Weyand, Boqing Gong, Leonid Sigal• 2024

Related benchmarks

TaskDatasetResultRank
Action RecognitionDiving-48
Top-1 Acc94.9
82
Action RecognitionEpic Kitchens 100--
26
Action RecognitionFineGym Gym288--
14
Action RecognitionEpic-Kitchens-100 (val)
Top-1 Action Acc52.1
10
Action RecognitionEPIC-Kitchens 0s-4s duration 100 (val)
Verb Accuracy77.8
2
Action RecognitionEPIC-Kitchens 4s-8s duration 100 (val)
Verb Accuracy0.67
2
Action RecognitionEPIC-Kitchens 8s-16s duration 100 (val)
Verb Acc0.662
2
Action RecognitionEPIC-Kitchens 16s-32s duration 100 (val)
Verb Accuracy72.2
2
Action RecognitionEPIC-Kitchens >32s duration 100 (val)
Verb Accuracy57.7
2
Showing 9 of 9 rows

Other info

Follow for update