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

DeepMIM:用于掩码图像建模的深度监督

DeepMIM: Deep Supervision for Masked Image Modeling

Microsoft Research Asia(微软亚洲研究院);University of Cambridge(剑桥大学)

Sucheng Ren, Fangyun Wei, Samuel Albanie, Zheng Zhang, Han Hu

摘要:

深度监督涉及对神经网络的中间特征的额外监督,在早期的深度学习时代被广泛用于图像分类,因为它显著降低了训练难度并简化了优化,例如避免了香草训练中的梯度消失。然而,随着规范化技术和残余连接的出现,图像分类中的深度监督逐渐被淘汰。在本文中,我们重新审视了掩码图像建模(MIM)的深度监督,MIM通过掩码和预测方案预训练视觉Transformer(ViT)。在实验中,我们发现深度监督会驱动较浅的层学习更有意义的表示,加速模型收敛,并扩大注意力分散。我们的方法称为DeepMIM,显著提高了每一层的表示能力。此外,DeepMIM还兼容一系列重建目标的许多MIM模型。例如,使用ViT-B,MAE上的DeepMIM在ImageNet上达到了84.2 top-1的准确率,比MAE高出+0.6。通过将DeepMIM与更强大的标记器CLIP相结合,我们的模型在各种下游任务上实现了最先进的性能,包括图像分类(ImageNet-1 K上的85.6 top-1准确率,超过MAE-CLIP +0.8),目标检测(COCO上的52.8 APbox)和语义分割(ADE 20 K上的53.1 mIoU)。代码和模型可在https://github.com/OliverRensu/DeepMIM上获得。

英文摘要:

Deep supervision, which involves extra supervisions to the intermediate features of a neural network, was widely used in image classification in the early deep learning era since it significantly reduces the training difficulty and eases the optimization like avoiding gradient vanish over the vanilla training. Nevertheless, with the emergence of normalization techniques and residual connection, deep supervision in image classification was gradually phased out. In this paper, we revisit deep supervision for masked image modeling (MIM) that pre-trains a Vision Transformer (ViT) via a mask-and-predict scheme. Experimentally, we find that deep supervision drives the shallower layers to learn more meaningful representations, accelerates model convergence, and expands attention diversities. Our approach, called DeepMIM, significantly boosts the representation capability of each layer. In addition, DeepMIM is compatible with many MIM models across a range of reconstruction targets. For instance, using ViT-B, DeepMIM on MAE achieves 84.2 top-1 accuracy on ImageNet, outperforming MAE by +0.6. By combining DeepMIM with a stronger tokenizer CLIP, our model achieves state-of-the-art performance on various downstream tasks, including image classification (85.6 top-1 accuracy on ImageNet-1K, outperforming MAE-CLIP by +0.8), object detection (52.8 APbox on COCO) and semantic segmentation (53.1 mIoU on ADE20K). Code and models are available at https://github.com/OliverRensu/DeepMIM.

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

↑