arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2205.11397cs.CV
收藏

超级视觉Transformer(Super Vision Transformer)

Super Vision Transformer

Tencent Youtu Lab(腾讯优图实验室);Zhejiang University(浙江大学)

Mingbao Lin, Mengzhao Chen, Yuxin Zhang, Chunhua Shen, Rongrong Ji, Liujuan Cao

AI总结:

针对视觉Transformer计算成本随token数二次增长的问题,提出SuperViT训练范式,单模型可适配多计算成本,在ImageNet上实现降本增效,性能优于现有高效ViT方法。

摘要:

我们致力于降低视觉Transformer(ViTs)的计算成本——这类模型的计算成本随token数量呈二次增长。我们提出一种全新的训练范式:每次仅训练单个ViT模型,却能在不同计算成本下实现更优的图像识别性能。其中,经训练的ViT模型被命名为super vision transformer(SuperViT,超级视觉Transformer),具备处理多种尺寸输入图像块的通用能力,还能以多种保留率(即保留token的比例)保留信息丰富的token,从而在可用硬件资源时常变化的场景下实现高效的硬件推理。在ImageNet上的实验结果表明,我们的SuperViT能大幅降低ViT模型的计算成本,甚至还能提升性能。例如,我们将DeiT-S的浮点运算量(FLOPs)降低2倍的同时,Top-1准确率提升了0.2%;在FLOPs降低1.5倍的设置下,Top-1准确率提升了0.7%。此外,我们的SuperViT显著优于现有高效视觉Transformer的相关研究。例如,在FLOPs消耗量相同、均以DeiT-S为骨干网络时,我们的SuperViT比近期最先进(SOTA)的EViT准确率高出1.1%。本研究的项目已公开于https://github.com/lmbxmu/SuperViT。

英文摘要:

We attempt to reduce the computational costs in vision transformers (ViTs), which increase quadratically in the token number. We present a novel training paradigm that trains only one ViT model at a time, but is capable of providing improved image recognition performance with various computational costs. Here, the trained ViT model, termed super vision transformer (SuperViT), is empowered with the versatile ability to solve incoming patches of multiple sizes as well as preserve informative tokens with multiple keeping rates (the ratio of keeping tokens) to achieve good hardware efficiency for inference, given that the available hardware resources often change from time to time. Experimental results on ImageNet demonstrate that our SuperViT can considerably reduce the computational costs of ViT models with even performance increase. For example, we reduce 2x FLOPs of DeiT-S while increasing the Top-1 accuracy by 0.2% and 0.7% for 1.5x reduction. Also, our SuperViT significantly outperforms existing studies on efficient vision transformers. For example, when consuming the same amount of FLOPs, our SuperViT surpasses the recent state-of-the-art (SOTA) EViT by 1.1% when using DeiT-S as their backbones. The project of this work is made publicly available at https://github.com/lmbxmu/SuperViT.

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

↑