论文标题
探索蒙版图像建模中频率和注意力的协调
Exploring the Coordination of Frequency and Attention in Masked Image Modeling
论文作者
论文摘要
最近,通过重建图像的掩盖贴片来学习视觉表示的掩盖图像建模(MIM)在计算机视觉中主导了自我监督的学习。但是,由于大规模数据和大尺寸的骨架,MIM的预训练总是需要大量时间。我们主要将其归因于以前的MIM作品中的随机补丁掩模,该作品未能利用关键的语义信息来进行有效的视觉表示学习。为了解决这个问题,我们提出了频率\&注意力驱动的掩盖和投掷策略(FAMT),该策略可以提取语义斑块并减少训练补丁的数量,以同时提高模型性能和培训效率。具体而言,FAMT利用自我注意力的机制从图像中提取语义信息,以无监督的方式训练期间掩盖。但是,仅关注有时会关注关于语义信息的不适当领域。因此,我们有动力将来自频域中的信息纳入自我发言机制,以得出掩盖的采样权重,从而捕获了语义斑块以进行视觉表示学习。此外,我们根据派生的采样权重介绍了贴片策略,以降低培训成本。 FAMT可以无缝集成为插件模块,并超过以前的作品,\ emph {e.g。}将训练阶段的时间减少了近50美元\%$,并将MAE的线性探测准确性提高了$ 1.3 \%\%\%\%\ sim 3.9 \%3.9 \%\%$ cifar-cifar-cifar-10/100/tiny,tiny tiny tiny tiny ImageT,以及成像。 FAMT还展示了下游检测和分割任务中的出色性能。
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, \emph{e.g.} reducing the training phase time by nearly $50\%$ and improving the linear probing accuracy of MAE by $1.3\% \sim 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.