arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.14313cs.CV
收藏

超越掩蔽:揭秘视觉Transformer基于令牌的预训练

Beyond Masking: Demystifying Token-Based Pre-Training for Vision Transformers

University of Chinese Academy of Sciences(中国科学院大学);Huawei Inc.(华为公司);Huazhong University of Science and Technology(华中科技大学);Chinese Academy of Sciences(中国科学院)

Yunjie Tian, Lingxi Xie, Jiemin Fang, Mengnan Shi, Junran Peng, Xiaopeng Zhang, Jianbin Jiao, Qi Tian, Qixiang Ye

摘要:

在过去的一年中,掩码图像建模(MIM)得到了迅速的发展。MIM主要建立在视觉Transformer上,这表明可以通过掩蔽输入图像部分来完成自监督视觉表示,同时要求目标模型恢复丢失的内容。MIM已经在下游任务上展示了有希望的结果,但我们感兴趣的是是否存在其他有效的方法来“通过恢复丢失的内容来学习”。在本文中,我们通过设计其他五个学习目标来研究这个问题,这些学习目标遵循与MIM相同的过程,但以不同的方式降低输入图像。通过大量的实验,我们总结出了基于标记的视觉Transformer预训练的一些设计原则。特别是,最佳实践是通过保持原始图像风格并通过空间未对准来丰富空间掩蔽来获得的-这种设计在一系列下游识别任务中实现了优于MIM的性能,而无需额外的计算成本。该代码可在https://github.com/sunsmarterjie/beyond_masking上获得。

英文摘要:

The past year has witnessed a rapid development of masked image modeling (MIM). MIM is mostly built upon the vision transformers, which suggests that self-supervised visual representations can be done by masking input image parts while requiring the target model to recover the missing contents. MIM has demonstrated promising results on downstream tasks, yet we are interested in whether there exist other effective ways to `learn by recovering missing contents'. In this paper, we investigate this topic by designing five other learning objectives that follow the same procedure as MIM but degrade the input image in different ways. With extensive experiments, we manage to summarize a few design principles for token-based pre-training of vision transformers. In particular, the best practice is obtained by keeping the original image style and enriching spatial masking with spatial misalignment -- this design achieves superior performance over MIM in a series of downstream recognition tasks without extra computational cost. The code is available at https://github.com/sunsmarterjie/beyond_masking.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑