ScopeViT: Scale-Aware Vision Transformer

被引:4
|
作者
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 条
  • [31] Scale-Aware Pixelwise Object Proposal Networks
    Jie, Zequn
    Liang, Xiaodan
    Feng, Jiashi
    Lu, Wen Feng
    Tay, Eng Hock Francis
    Yan, Shuicheng
    IEEE TRANSACTIONS ON IMAGE PROCESSING, 2016, 25 (10) : 4525 - 4539
  • [32] Scale-Aware Alignment of Hierarchical Image Segmentation
    Chen, Yuhua
    Dai, Dengxin
    Pont-Tuset, Jordi
    Van Gool, Luc
    2016 IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2016, : 364 - 372
  • [33] Fast and faithful scale-aware image filters
    Yoshizawa, Shin
    Yokota, Hideo
    VISUAL COMPUTER, 2021, 37 (12): : 3051 - 3062
  • [34] Exhaust Gas Temperature Prediction of Aero-Engine via Enhanced Scale-Aware Efficient Transformer
    Liu, Sijie
    Zhou, Nan
    Song, Chenchen
    Chen, Geng
    Wu, Yafeng
    AEROSPACE, 2024, 11 (02)
  • [35] Scale-aware Insertion of Virtual Objects in Monocular Videos
    Zhang, Songhai
    Li, Xiangli
    Liu, Yingtian
    Fu, Hongbo
    2020 IEEE INTERNATIONAL SYMPOSIUM ON MIXED AND AUGMENTED REALITY (ISMAR 2020), 2020, : 36 - 44
  • [36] Towards low-budget energy efficiency design in additive manufacturing based on variational scale-aware transformer
    Wang, Kang
    Xu, Jinghua
    Zhang, Shuyou
    Tan, Jianrong
    Qin, Jing
    JOURNAL OF CLEANER PRODUCTION, 2023, 393
  • [37] Crowd Counting Using Scale-Aware Attention Networks
    Hossain, Mohammad Asiful
    Hosseinzadeh, Mehrdad
    Chanda, Omit
    Wang, Yang
    2019 IEEE WINTER CONFERENCE ON APPLICATIONS OF COMPUTER VISION (WACV), 2019, : 1280 - 1288
  • [38] Scale-Aware Domain Adaptation for Robust UAV Tracking
    Fu, Changhong
    Li, Teng
    Ye, Junjie
    Zheng, Guangze
    Li, Sihang
    Lu, Peng
    IEEE ROBOTICS AND AUTOMATION LETTERS, 2023, 8 (06) : 3764 - 3771
  • [39] Introducing Leader Lines into Scale-Aware Consistent Labeling
    Wu, Hsiang-Yun
    Takahashi, Shigeo
    Poon, Sheung-Hung
    Arikawa, Masatoshi
    ADVANCES IN CARTOGRAPHY AND GISCIENCE, 2017, : 117 - 130
  • [40] Scale-aware heatmap representation for human pose estimation
    Yu, Han
    Du, Congju
    Yu, Li
    PATTERN RECOGNITION LETTERS, 2022, 154 : 1 - 6