Good Helper Is around You: Attention-Driven Masked Image Modeling

Authors

  • Zhengqi Liu Southeast University
  • Jie Gui Southeast University Purple Mountain Laboratories
  • Hao Luo Alibaba group

DOI:

https://doi.org/10.1609/aaai.v37i2.25269

Keywords:

CV: Representation Learning for Vision, ML: Representation Learning, ML: Unsupervised & Self-Supervised Learning

Abstract

It has been witnessed that masked image modeling (MIM) has shown a huge potential in self-supervised learning in the past year. Benefiting from the universal backbone vision transformer, MIM learns self-supervised visual representations through masking a part of patches of the image while attempting to recover the missing pixels. Most previous works mask patches of the image randomly, which underutilizes the semantic information that is beneficial to visual representation learning. On the other hand, due to the large size of the backbone, most previous works have to spend much time on pre-training. In this paper, we propose Attention-driven Masking and Throwing Strategy (AMT), which could solve both problems above. We first leverage the self-attention mechanism to obtain the semantic information of the image during the training process automatically without using any supervised methods. Masking strategy can be guided by that information to mask areas selectively, which is helpful for representation learning. Moreover, a redundant patch throwing strategy is proposed, which makes learning more efficient. As a plug-and-play module for masked image modeling, AMT improves the linear probing accuracy of MAE by 2.9% ~ 5.9% on CIFAR-10/100, STL-10, Tiny ImageNet, and ImageNet-1K, and obtains an improved performance with respect to fine-tuning accuracy of MAE and SimMIM. Moreover, this design also achieves superior performance on downstream detection and segmentation tasks.

Downloads

Published

2023-06-26

How to Cite

Liu, Z., Gui, J., & Luo, H. (2023). Good Helper Is around You: Attention-Driven Masked Image Modeling. Proceedings of the AAAI Conference on Artificial Intelligence, 37(2), 1799-1807. https://doi.org/10.1609/aaai.v37i2.25269

Issue

Section

AAAI Technical Track on Computer Vision II