ScopeViT: Scale-Aware Vision Transformer

被引:5
作者
Nie, Xuesong [1 ]
Jin, Haoyuan [1 ]
Yan, Yunfeng [1 ]
Chen, Xi [2 ]
Zhu, Zhihang [1 ]
Qi, Donglian [1 ]
机构
[1] Zhejiang Univ, Hangzhou 310027, Peoples R China
[2] Univ Hong Kong, Hong Kong 999077, Peoples R China
关键词
Vision transformer; Multi-scale features; Efficient attention mechanism;
D O I
10.1016/j.patcog.2024.110470
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Multi-scale features are essential for various vision tasks, such as classification, detection, and segmentation. Although Vision Transformers (ViTs) show remarkable success in capturing global features within an image, how to leverage multi-scale features in Transformers is not well explored. This paper proposes a scale-aware vision Transformer called ScopeViT that efficiently captures multi-granularity representations. Two novel attention with lightweight computation are introduced: Multi-Scale Self-Attention (MSSA) and Global-Scale Dilated Attention (GSDA). MSSA embeds visual tokens with different receptive fields into distinct attention heads, allowing the model to perceive various scales across the network. GSDA enhances model understanding of the global context through token-dilation operation, which reduces the number of tokens involved in attention computations. This dual attention method enables ScopeViT to "see"various scales throughout the entire network and effectively learn inter -object relationships, reducing heavy quadratic computational complexity. Extensive experiments demonstrate that ScopeViT achieves competitive complexity/accuracy tradeoffs compared to existing networks across a wide range of visual tasks. On the ImageNet-1K dataset, ScopeViT achieves a top-1 accuracy of 81.1%, using only 7.4M parameters and 2.0G FLOPs. Our approach outperforms Swin (ViT-based) by 1.9% accuracy while saving 42% of the parameters, outperforms MobileViTv2 (Hybridbased) with a 0.7% accuracy gain while using 50% of the computations, and also beats ConvNeXt V2 (ConvNet-based) by 0.8% with fewer parameters.
引用
收藏
页数:12
相关论文
共 50 条
  • [41] CascadeMedSeg: integrating pyramid vision transformer with multi-scale fusion for precise medical image segmentation
    Li, Junwei
    Sun, Shengfeng
    Li, Shijie
    Xia, Ruixue
    SIGNAL IMAGE AND VIDEO PROCESSING, 2024, 18 (12) : 9067 - 9079
  • [42] 3D multi-scale vision transformer for lung nodule detection in chest CT images
    Mkindu, Hassan
    Wu, Longwen
    Zhao, Yaqin
    SIGNAL IMAGE AND VIDEO PROCESSING, 2023, 17 (05) : 2473 - 2480
  • [43] MPCFusion: Multi-scale parallel cross fusion for infrared and visible images via convolution and vision Transformer
    Tang, Haojie
    Qian, Yao
    Xing, Mengliang
    Cao, Yisheng
    Liu, Gang
    OPTICS AND LASERS IN ENGINEERING, 2024, 176
  • [44] 3D multi-scale vision transformer for lung nodule detection in chest CT images
    Hassan Mkindu
    Longwen Wu
    Yaqin Zhao
    Signal, Image and Video Processing, 2023, 17 : 2473 - 2480
  • [45] Exploring vision transformer: classifying electron-microscopy pollen images with transformer
    Duan, Kaibo
    Bao, Shi
    Liu, Zhiqiang
    Cui, Shaodong
    NEURAL COMPUTING & APPLICATIONS, 2023, 35 (01) : 735 - 748
  • [46] CONMW TRANSFORMER: A GENERAL VISION TRANSFORMER BACKBONE WITH MERGED-WINDOW ATTENTION
    Li, Ang
    Jiao, Jichao
    Li, Ning
    Qi, Wangjing
    Xu, Wei
    Pang, Min
    2022 IEEE INTERNATIONAL CONFERENCE ON IMAGE PROCESSING, ICIP, 2022, : 1551 - 1555
  • [47] Exploring vision transformer: classifying electron-microscopy pollen images with transformer
    Kaibo Duan
    Shi Bao
    Zhiqiang Liu
    Shaodong Cui
    Neural Computing and Applications, 2023, 35 : 735 - 748
  • [48] PolySegNet: improving polyp segmentation through swin transformer and vision transformer fusion
    Lijin, P.
    Ullah, Mohib
    Vats, Anuja
    Cheikh, Faouzi Alaya
    Kumar, G. Santhosh
    Nair, Madhu S.
    BIOMEDICAL ENGINEERING LETTERS, 2024, 14 (06) : 1421 - 1431
  • [49] Fall Event Detection using Vision Transformer
    Dey, Ankita
    Rajan, Sreeraman
    Xiao, George
    Lu, Jianping
    2022 IEEE SENSORS, 2022,
  • [50] Diffusion Vision Transformer of Temporomandibular Joint Classification
    Ye, Kaiwei
    Liu, Yifang
    Zhang, Guolai
    Chen, Guannan
    2024 IEEE 4TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND ARTIFICIAL INTELLIGENCE, SEAI 2024, 2024, : 11 - 15