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

掩码图像残差学习用于扩展更深视觉Transformer

Masked Image Residual Learning for Scaling Deeper Vision Transformers

Baidu Inc.(百度公司);Huazhong University of Science and Technology(华中科技大学);University of York(约克大学)

Guoxi Huang, Hongtao Fu, Adrian G. Bors

AI总结:

针对深度ViT训练中的退化问题,提出掩码图像残差学习(MIRL)框架,通过恢复掩码图像残差实现深层优化,使更深ViT性能提升,并在ImageNet等任务上取得优异结果。

摘要:

更深的视觉Transformer(ViT)训练起来更具挑战性。我们揭示了在使用掩码图像建模(MIM)进行预训练时,ViT深层存在退化问题。为缓解更深ViT的训练难度,我们引入了一种名为掩码图像残差学习(MIRL)的自监督学习框架,该框架显著缓解了退化问题,使ViT沿深度方向扩展成为性能提升的一个有前景的方向。我们将ViT深层的预训练目标重新定义为学习恢复掩码图像的残差。我们提供了大量实证证据,表明使用MIRL可以有效地优化更深的ViT,并轻松地从增加深度中获益。在与ViT-Base和ViT-Large相同计算复杂度水平下,我们实例化了4.5倍和2倍更深的ViT,分别称为ViT-S-54和ViT-B-48。更深的ViT-S-54,其成本比ViT-Large低3倍,却达到了与ViT-Large相当的性能。ViT-B-48在ImageNet上达到了86.2%的top-1准确率。一方面,使用MIRL预训练的更深ViT在下游任务(如目标检测和语义分割)中表现出优异的泛化能力。另一方面,MIRL展示了高效的预训练效率。在较少的预训练时间内,MIRL与其他方法相比产生了有竞争力的性能。

英文摘要:

Deeper Vision Transformers (ViTs) are more challenging to train. We expose a degradation problem in deeper layers of ViT when using masked image modeling (MIM) for pre-training. To ease the training of deeper ViTs, we introduce a self-supervised learning framework called Masked Image Residual Learning (MIRL), which significantly alleviates the degradation problem, making scaling ViT along depth a promising direction for performance upgrade. We reformulate the pre-training objective for deeper layers of ViT as learning to recover the residual of the masked image. We provide extensive empirical evidence showing that deeper ViTs can be effectively optimized using MIRL and easily gain accuracy from increased depth. With the same level of computational complexity as ViT-Base and ViT-Large, we instantiate 4.5$\times$ and 2$\times$ deeper ViTs, dubbed ViT-S-54 and ViT-B-48. The deeper ViT-S-54, costing 3$\times$ less than ViT-Large, achieves performance on par with ViT-Large. ViT-B-48 achieves 86.2% top-1 accuracy on ImageNet. On one hand, deeper ViTs pre-trained with MIRL exhibit excellent generalization capabilities on downstream tasks, such as object detection and semantic segmentation. On the other hand, MIRL demonstrates high pre-training efficiency. With less pre-training time, MIRL yields competitive performance compared to other approaches.

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

↑