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

Masked Autoencoders As Spatiotemporal Learners

About

This paper studies a conceptually simple extension of Masked Autoencoders (MAE) to spatiotemporal representation learning from videos. We randomly mask out spacetime patches in videos and learn an autoencoder to reconstruct them in pixels. Interestingly, we show that our MAE method can learn strong representations with almost no inductive bias on spacetime (only except for patch and positional embeddings), and spacetime-agnostic random masking performs the best. We observe that the optimal masking ratio is as high as 90% (vs. 75% on images), supporting the hypothesis that this ratio is related to information redundancy of the data. A high masking ratio leads to a large speedup, e.g., > 4x in wall-clock time or even more. We report competitive results on several challenging video datasets using vanilla Vision Transformers. We observe that MAE can outperform supervised pre-training by large margins. We further report encouraging results of training on real-world, uncurated Instagram data. Our study suggests that the general framework of masked autoencoding (BERT, MAE, etc.) can be a unified methodology for representation learning with minimal domain knowledge.

Christoph Feichtenhofer, Haoqi Fan, Yanghao Li, Kaiming He• 2022

Related benchmarks

TaskDatasetResultRank
Image ClassificationImageNet-1K
Top-1 Acc81.7
836
Action RecognitionSomething-Something v2 (val)
Top-1 Accuracy75.5
535
Action RecognitionKinetics-400
Top-1 Acc84.8
413
Action RecognitionSomething-Something v2
Top-1 Accuracy73.6
341
Action RecognitionSomething-Something v2 (test)
Top-1 Acc75.5
333
Action RecognitionKinetics 400 (test)
Top-1 Accuracy81.3
245
Video ClassificationKinetics 400 (val)
Top-1 Acc84.9
204
Action RecognitionSomething-Something v2 (test val)
Top-1 Accuracy74.1
187
Video Action RecognitionKinetics-400
Top-1 Acc86.8
184
Video ClassificationSomething-Something v2 (test)
Top-1 Acc0.741
169
Showing 10 of 34 rows

Other info

Code

Follow for update