Good Helper Is around You: Attention-Driven Masked Image Modeling
Zhengqi Liu, Jie Gui, Hao Luo
Abstract
Recently, masked image modeling (MIM), which learns visual representations by reconstructing the masked patches of an image, has dominated self-supervised learning in computer vision. However, the pre-training of MIM always takes massive time due to the large-scale data and large-size backbones. We mainly attribute it to the random patch masking in previous MIM works, which fails to leverage the crucial semantic information for effective visual representation learning. To tackle this issue, we propose the Frequency & Attention-driven Masking and Throwing Strategy (FAMT), which can extract semantic patches and reduce the number of training patches to boost model performance and training efficiency simultaneously. Specifically, FAMT utilizes the self-attention mechanism to extract semantic information from the image for masking during training in an unsupervised manner. However, attention alone could sometimes focus on inappropriate areas regarding the semantic information. Thus, we are motivated to incorporate the information from the frequency domain into the self-attention mechanism to derive the sampling weights for masking, which captures semantic patches for visual representation learning. Furthermore, we introduce a patch throwing strategy based on the derived sampling weights to reduce the training cost. FAMT can be seamlessly integrated as a plug-and-play module and surpasses previous works, e.g. reducing the training phase time by nearly 50% and improving the linear probing accuracy of MAE by 1.3% ∼ 3.9% across various datasets, including CIFAR-10/100, Tiny ImageNet, and ImageNet-1K. FAMT also demonstrates superior performance in downstream detection and segmentation tasks.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
9 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- HAP: Structure-Aware Masked Image Modeling for Human-Centric Perception cites A Simple Framework for Contrastive Learning of Visual Representations
- HAP: Structure-Aware Masked Image Modeling for Human-Centric Perception cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- HAP: Structure-Aware Masked Image Modeling for Human-Centric Perception cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
- Multi-view Masked Contrastive Representation Learning for Endoscopic Video Analysis cites A Simple Framework for Contrastive Learning of Visual Representations
- Multi-view Masked Contrastive Representation Learning for Endoscopic Video Analysis cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Multi-view Masked Contrastive Representation Learning for Endoscopic Video Analysis cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale cites A Simple Framework for Contrastive Learning of Visual Representations
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale cites Language Models are Few-Shot Learners
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Self-Guided Masked Autoencoder cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Self-Guided Masked Autoencoder cites Language Models are Few-Shot Learners
- Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning cites A Simple Framework for Contrastive Learning of Visual Representations
- Denoising Diffusion Autoencoders are Unified Self-supervised Learners cites A Simple Framework for Contrastive Learning of Visual Representations
- Denoising Diffusion Autoencoders are Unified Self-supervised Learners cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Denoising Diffusion Autoencoders are Unified Self-supervised Learners cites Language Models are Few-Shot Learners
- Denoising Diffusion Autoencoders are Unified Self-supervised Learners cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
- USDRL: Unified Skeleton-Based Dense Representation Learning with Multi-Grained Feature Decorrelation cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
Cited by top-tier papers9
- Denoising Diffusion Autoencoders are Unified Self-supervised LearnersWeilai Xiang, Hongyu Yang, Di Huang, Yunhong WangICCV 2023 · 145 citations
- HAP: Structure-Aware Masked Image Modeling for Human-Centric PerceptionJunkun Yuan, Xinyu Zhang, Hao Zhou, Jian Wang et al.NeurIPS 2023 · 46 citations
- Self-Guided Masked AutoencoderJeongwoo Shin, Inseo Lee, Junho Lee, Joonseok LeeNeurIPS 2024 · 18 citations
- USDRL: Unified Skeleton-Based Dense Representation Learning with Multi-Grained Feature DecorrelationWanjiang Weng, Hongsong Wang, Junbo Wang, Lei He et al.AAAI 2025 · 15 citations
- Multi-view Masked Contrastive Representation Learning for Endoscopic Video AnalysisKai Hu, Ye Xiao, Yuan Zhang, Xieping GaoNeurIPS 2024 · 13 citations
Builds on29
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
- Bootstrap Your Own Latent - A New Approach to Self-Supervised LearningJean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec et al.NeurIPS 2020 · 9,171 citations
Related papers
- Global Patch-wise Attention is Masterful Facilitator for Masked Image ModelingGongli Xi, Ye Tian, Mengyu Yang, Lanshan Zhang et al.ACM MM 2024 · 1 citation
- Masked Frequency Modeling for Self-Supervised Visual Pre-TrainingJiahao Xie, Wei Li, Xiaohang Zhan, Ziwei Liu et al.ICLR 2023 · 29 citations
- The Devil Is in the Frequency: Geminated Gestalt Autoencoder for Self-Supervised Visual Pre-trainingHao Liu, Xinghua Jiang, Xin Li, Antai Guo et al.AAAI 2023 · 45 citations
- Progressively Compressed Auto-Encoder for Self-supervised Representation LearningJin Li, Yaoming Wang, Xiaopeng Zhang, Yabo Chen et al.ICLR 2023
- Masked Image Modeling with Local Multi-Scale ReconstructionHaoqing Wang, Yehui Tang, Yunhe Wang, Jianyuan Guo et al.CVPR 2023
