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

Swin Transformer V2:扩展容量和解决方案

Swin Transformer V2: Scaling Up Capacity and Resolution

Microsoft Research Asia(微软亚洲研究院)

Ze Liu, Han Hu, Yutong Lin, Zhuliang Yao, Zhenda Xie, Yixuan Wei, Jia Ning, Yue Cao, Zheng Zhang, Li Dong, Furu Wei, Baining Guo

摘要:

大规模NLP模型已被证明可以显着提高语言任务的性能,没有饱和的迹象。他们也展示了惊人的Few-Shot能力,就像人类一样。本文旨在探讨计算机视觉中的大规模模型。我们解决了大型视觉模型训练和应用中的三个主要问题,包括训练不稳定性、预训练和微调之间的分辨率差距以及对标记数据的饥饿感。提出了三种主要技术:1)残差后范数方法与余弦注意力相结合,以提高训练稳定性; 2)对数间隔连续位置偏差方法,以有效地将使用低分辨率图像预训练的模型转移到具有高分辨率输入的下游任务; 3)自监督预训练方法SimMIM,以减少对大量标记图像的需求。通过这些技术,本文成功训练了一个30亿参数的Swin Transformer V2模型,这是迄今为止最大的密集视觉模型,并使其能够使用高达1,536 $\times$ 1,536分辨率的图像进行训练。它在4个代表性的视觉任务上创造了新的性能记录,包括ImageNet-V2图像分类,COCO目标检测,ADE 20 K语义分割和Kinetics-400视频动作分类。还要注意,我们的训练比Google的十亿级视觉模型更有效,后者消耗的标记数据少40倍,训练时间少40倍。代码可在\url{https://github.com/microsoft/Swin-Transformer}上获得。

英文摘要:

Large-scale NLP models have been shown to significantly improve the performance on language tasks with no signs of saturation. They also demonstrate amazing few-shot capabilities like that of human beings. This paper aims to explore large-scale models in computer vision. We tackle three major issues in training and application of large vision models, including training instability, resolution gaps between pre-training and fine-tuning, and hunger on labelled data. Three main techniques are proposed: 1) a residual-post-norm method combined with cosine attention to improve training stability; 2) A log-spaced continuous position bias method to effectively transfer models pre-trained using low-resolution images to downstream tasks with high-resolution inputs; 3) A self-supervised pre-training method, SimMIM, to reduce the needs of vast labeled images. Through these techniques, this paper successfully trained a 3 billion-parameter Swin Transformer V2 model, which is the largest dense vision model to date, and makes it capable of training with images of up to 1,536$\times$1,536 resolution. It set new performance records on 4 representative vision tasks, including ImageNet-V2 image classification, COCO object detection, ADE20K semantic segmentation, and Kinetics-400 video action classification. Also note our training is much more efficient than that in Google's billion-level visual models, which consumes 40 times less labelled data and 40 times less training time. Code is available at \url{https://github.com/microsoft/Swin-Transformer}.

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

↑