AdaMAE: Adaptive Masking for Efficient Spatiotemporal Learning with Masked Autoencoders

被引:11
作者
Bandara, Wele Gedara Chaminda [1 ]
Patel, Naman [2 ]
Gholami, Ali [2 ]
Nikkhah, Mehdi [2 ]
Agrawal, Motilal [2 ]
Patel, Vishal M. [1 ]
机构
[1] Johns Hopkins Univ, Baltimore, MD 21218 USA
[2] Zippin, San Francisco, CA USA
来源
2023 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR) | 2023年
关键词
D O I
10.1109/CVPR52729.2023.01394
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Masked Autoencoders (MAEs) learn generalizable representations for image, text, audio, video, etc., by reconstructing masked input data from tokens of the visible data. Current MAE approaches for videos rely on random patch, tube, or frame based masking strategies to select these tokens. This paper proposes AdaMAE, an adaptive masking strategy for MAEs that is end-to-end trainable. Our adaptive masking strategy samples visible tokens based on the semantic context using an auxiliary sampling network. This network estimates a categorical distribution over spacetime-patch tokens. The tokens that increase the expected reconstruction error are rewarded and selected as visible tokens, motivated by the policy gradient algorithm in reinforcement learning. We show that AdaMAE samples more tokens from the high spatiotemporal information regions, thereby allowing us to mask 95% of tokens, resulting in lower memory requirements and faster pre-training. We conduct ablation studies on the Something-Something v2 (SSv2) dataset to demonstrate the efficacy of our adaptive sampling approach and report state-of-the-art results of 70.0% and 81.7% in top-1 accuracy on SSv2 and Kinetics-400 action classification datasets with a ViT-Base backbone and 800 pre-training epochs. Code and pre-trained models are available at: https://github.com/wgcban/adamae.git.
引用
收藏
页码:14507 / 14517
页数:11
相关论文
共 66 条
  • [41] Ramesh A, 2021, PR MACH LEARN RES, V139
  • [42] Shelhamer Evan, 2017, ARXIV161207307 CS
  • [43] Catalysis of a Nanometre Solid Super Acid of SO42-/TiO2 on the Thermal Decomposition of Ammonium Nitrate
    Song, Xiaolan
    Wang, Yi
    Song, Dan
    An, Chongwei
    Wang, Jingyu
    [J]. NANOMATERIALS AND NANOTECHNOLOGY, 2016, 6
  • [44] Sutton R. S., 1999, Advances in Neural Information Processing Systems, V12
  • [45] Szegedy C, 2014, Arxiv, DOI [arXiv:1312.6199, DOI 10.1109/CVPR.2015.7298594]
  • [46] Tan Hao, 2021, ARXIV210611250 CS
  • [47] Tao Chenxin, 2022, ARXIV220601204 CS
  • [48] Tong Z., 2022, Advances in Neural Information Processing Systems
  • [49] Video Classification with Channel-Separated Convolutional Networks
    Tran, Du
    Wang, Heng
    Torresani, Lorenzo
    Feiszli, Matt
    [J]. 2019 IEEE/CVF INTERNATIONAL CONFERENCE ON COMPUTER VISION (ICCV 2019), 2019, : 5551 - 5560
  • [50] van den Oord Aaron, 2019, ARXIV180703748 CS ST