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

ConvNets与变形金刚:谁的视觉表现更可转移?

ConvNets vs. Transformers: Whose Visual Representations are More Transferable?

The University of Hong Kong(香港大学);ShanghaiTech University(上海科技大学)

Hong-Yu Zhou, Chixiang Lu, Sibei Yang, Yizhou Yu

摘要:

视觉变换器吸引了计算机视觉研究人员的广泛关注,因为它们不限于ConvNets的空间感应偏差。然而,尽管基于Transformer的主干在ImageNet分类方面取得了很大进展,但目前还不清楚学习的表示是否与ConvNets的特征一样可转移,甚至比ConvNets的特征更可转移。为了解决这一点,我们系统地研究了ConvNets和视觉转换器在15个单任务和多任务性能评估中的迁移学习能力。考虑到预训练模型的性能与迁移学习之间的强相关性,我们包括2个剩余ConvNets(即,R-101 x3和R-152 x4)和3个基于transformer的视觉骨干(即,ViT-B,ViT-L和Swin-B),在ImageNet上具有接近的错误率,这表明在下游数据集上具有类似的迁移学习性能。我们在13个下游任务上观察到基于transformer的骨干的一致优势(共15项),包括但不限于细粒度分类、场景识别(分类、分割和深度估计)、开域分类、人脸识别等。更具体地说,我们发现,两个ViT模型严重依赖于整个网络的微调,以实现性能增益,而Swin变压器没有这样的要求。此外,视觉变换器在多任务学习中表现得更鲁棒,即,在管理互利的任务时带来更多的改进,并在处理不相关的任务时减少性能损失。我们希望我们的发现可以促进未来视觉转换器的探索和开发。

英文摘要:

Vision transformers have attracted much attention from computer vision researchers as they are not restricted to the spatial inductive bias of ConvNets. However, although Transformer-based backbones have achieved much progress on ImageNet classification, it is still unclear whether the learned representations are as transferable as or even more transferable than ConvNets' features. To address this point, we systematically investigate the transfer learning ability of ConvNets and vision transformers in 15 single-task and multi-task performance evaluations. Given the strong correlation between the performance of pre-trained models and transfer learning, we include 2 residual ConvNets (i.e., R-101x3 and R-152x4) and 3 Transformer-based visual backbones (i.e., ViT-B, ViT-L and Swin-B), which have close error rates on ImageNet, that indicate similar transfer learning performance on downstream datasets. We observe consistent advantages of Transformer-based backbones on 13 downstream tasks (out of 15), including but not limited to fine-grained classification, scene recognition (classification, segmentation and depth estimation), open-domain classification, face recognition, etc. More specifically, we find that two ViT models heavily rely on whole network fine-tuning to achieve performance gains while Swin Transformer does not have such a requirement. Moreover, vision transformers behave more robustly in multi-task learning, i.e., bringing more improvements when managing mutually beneficial tasks and reducing performance losses when tackling irrelevant tasks. We hope our discoveries can facilitate the exploration and exploitation of vision transformers in the future.

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

↑