arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2111.09886cs.CV
收藏

SimMIM:一个简单的掩码图像建模框架

SimMIM: A Simple Framework for Masked Image Modeling

Tsinghua University(清华大学);Microsoft Research Asia(微软亚洲研究院);Xi’an Jiaotong University(西安交通大学)

Zhenda Xie, Zheng Zhang, Yue Cao, Yutong Lin, Jianmin Bao, Zhuliang Yao, Qi Dai, Han Hu

摘要:

本文介绍了SimMIM,一个简单的框架,掩码图像建模。我们简化了最近提出的相关方法,没有特殊的设计,如块式掩蔽和标记化通过离散VAE或聚类。为了研究是什么让掩码图像建模任务学习到良好的表示,我们系统地研究了我们框架中的主要组件,并发现每个组件的简单设计都显示出非常强的表示学习性能:1)随机掩蔽输入图像,具有适度大的掩码块大小(例如,32)进行强的预文本任务; 2)通过直接回归预测RGB值的原始像素的性能并不比具有复杂设计的补丁分类方法差; 3)预测头可以像线性层一样轻,性能并不比较重的更差。使用ViT-B,我们的方法在ImageNet-1 K上实现了83.8%的前1微调准确率,通过在该数据集上进行预训练,超过了之前的最佳方法+0.6%。当应用于约6.5亿个参数的更大模型SwinV 2-H时,仅使用ImageNet-1 K数据,它在ImageNet-1 K上实现了87.1%的top-1准确率。我们还利用这种方法来促进3B模型(SwinV 2-G)的训练,通过比以前的实践中更少的数据$40\times$,我们在四个代表性的视觉基准上达到了最先进的水平。代码和模型将在https://github.com/microsoft/SimMIM上公开。

英文摘要:

This paper presents SimMIM, a simple framework for masked image modeling. We simplify recently proposed related approaches without special designs such as block-wise masking and tokenization via discrete VAE or clustering. To study what let the masked image modeling task learn good representations, we systematically study the major components in our framework, and find that simple designs of each component have revealed very strong representation learning performance: 1) random masking of the input image with a moderately large masked patch size (e.g., 32) makes a strong pre-text task; 2) predicting raw pixels of RGB values by direct regression performs no worse than the patch classification approaches with complex designs; 3) the prediction head can be as light as a linear layer, with no worse performance than heavier ones. Using ViT-B, our approach achieves 83.8% top-1 fine-tuning accuracy on ImageNet-1K by pre-training also on this dataset, surpassing previous best approach by +0.6%. When applied on a larger model of about 650 million parameters, SwinV2-H, it achieves 87.1% top-1 accuracy on ImageNet-1K using only ImageNet-1K data. We also leverage this approach to facilitate the training of a 3B model (SwinV2-G), that by $40\times$ less data than that in previous practice, we achieve the state-of-the-art on four representative vision benchmarks. The code and models will be publicly available at https://github.com/microsoft/SimMIM.

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

↑