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

SepViT:可分离视觉Transformer

SepViT: Separable Vision Transformer

ByteDance(字节跳动)

Wei Li, Xing Wang, Xin Xia, Jie Wu, Jiashi Li, Xuefeng Xiao, Min Zheng, Shiping Wen

AI总结:

针对视觉Transformer计算成本高、难部署的问题,提出高效骨干网络SepViT,通过深度可分离自注意力等设计实现性能与延迟的最优权衡,在多个视觉任务上取得优异表现。

摘要:

视觉Transformer已在一系列视觉任务中取得了广泛成功,但这类Transformer通常依赖极高的计算成本才能实现高性能,难以部署在资源受限的设备上。为缓解这一问题,我们借鉴深度可分离卷积的设计思想,仿照其理念设计了一种高效的Transformer骨干网络——可分离视觉Transformer,缩写为SepViT。SepViT通过深度可分离自注意力,按顺序实现窗口内部与窗口之间的局部-全局信息交互。我们采用新颖的窗口令牌嵌入(window token embedding)以极低的成本计算窗口间的注意力关系,同时使用分组自注意力建立跨多个窗口的长距离视觉交互。在通用视觉基准上的大量实验表明,SepViT在性能与延迟之间实现了当前最优的权衡。其中,在ImageNet-1K分类任务上,SepViT达到84.2%的top-1准确率,与准确率相近的模型(如CSWin)相比,延迟降低了40%。此外,SepViT在ADE20K语义分割任务上达到51.0%的mIoU,在基于RetinaNet的COCO检测任务上达到47.9 AP,在基于Mask R-CNN的COCO目标检测与实例分割任务上分别达到49.4 box AP和44.6 mask AP。

英文摘要:

Vision Transformers have witnessed prevailing success in a series of vision tasks. However, these Transformers often rely on extensive computational costs to achieve high performance, which is burdensome to deploy on resource-constrained devices. To alleviate this issue, we draw lessons from depthwise separable convolution and imitate its ideology to design an efficient Transformer backbone, i.e., Separable Vision Transformer, abbreviated as SepViT. SepViT helps to carry out the local-global information interaction within and among the windows in sequential order via a depthwise separable self-attention. The novel window token embedding and grouped self-attention are employed to compute the attention relationship among windows with negligible cost and establish long-range visual interactions across multiple windows, respectively. Extensive experiments on general-purpose vision benchmarks demonstrate that SepViT can achieve a state-of-the-art trade-off between performance and latency. Among them, SepViT achieves 84.2% top-1 accuracy on ImageNet-1K classification while decreasing the latency by 40%, compared to the ones with similar accuracy (e.g., CSWin). Furthermore, SepViT achieves 51.0% mIoU on ADE20K semantic segmentation task, 47.9 AP on the RetinaNet-based COCO detection task, 49.4 box AP and 44.6 mask AP on Mask R-CNN-based COCO object detection and instance segmentation tasks.

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

↑