A Survey on Efficient Vision Transformers: Algorithms, Techniques, and Performance Benchmarking

被引:18
作者
Papa, Lorenzo [1 ,2 ]
Russo, Paolo [1 ]
Amerini, Irene [1 ]
Zhou, Luping [2 ]
机构
[1] Sapienza Univ Rome, Dept Comp Control & Management Engn, I-00185 Rome, Italy
[2] Univ Sydney, Sch Elect & Informat Engn, Fac Engn, Sydney, NSW 2006, Australia
关键词
Computer vision; computational efficiency; vision transformer;
D O I
10.1109/TPAMI.2024.3392941
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Vision Transformer (ViT) architectures are becoming increasingly popular and widely employed to tackle computer vision applications. Their main feature is the capacity to extract global information through the self-attention mechanism, outperforming earlier convolutional neural networks. However, ViT deployment and performance have grown steadily with their size, number of trainable parameters, and operations. Furthermore, self-attention's computational and memory cost quadratically increases with the image resolution. Generally speaking, it is challenging to employ these architectures in real-world applications due to many hardware and environmental restrictions, such as processing and computational capabilities. Therefore, this survey investigates the most efficient methodologies to ensure sub-optimal estimation performances. More in detail, four efficient categories will be analyzed: compact architecture, pruning, knowledge distillation, and quantization strategies. Moreover, a new metric called Efficient Error Rate has been introduced in order to normalize and compare models' features that affect hardware devices at inference time, such as the number of parameters, bits, FLOPs, and model size. Summarizing, this paper first mathematically defines the strategies used to make Vision Transformer efficient, describes and discusses state-of-the-art methodologies, and analyzes their performances over different application scenarios. Toward the end of this paper, we also discuss open challenges and promising research directions.
引用
收藏
页码:7682 / 7700
页数:19
相关论文
共 85 条
[1]  
Koohpayegani SA, 2022, Arxiv, DOI arXiv:2206.08898
[2]  
[Anonymous], 2008, ADV NEURAL INFORM PR, DOI DOI 10.5555/2981562.2981710
[3]  
Bahdanau D, 2016, Arxiv, DOI [arXiv:1409.0473, 10.48550/arXiv.1409.0473, DOI 10.48550/ARXIV.1409.0473]
[4]  
Bojar, 2016, ACL 2016 1 C MACH TR, DOI [10.18653/v1/W16-2301, DOI 10.18653/V1/W16-2301]
[5]  
Bolya Daniel, 2023, Computer Vision - ECCV 2022 Workshops, Proceedings. Lecture Notes in Computer Science (13807), P35, DOI 10.1007/978-3-031-25082-8_3
[6]  
Bolya D., 2023, P INT C LEARN REPR
[7]   EfficientViT: Lightweight Multi-Scale Attention for High-Resolution Dense Prediction [J].
Cai, Han ;
Li, Junyan ;
Hu, Muyan ;
Gan, Chuang ;
Han, Song .
2023 IEEE/CVF INTERNATIONAL CONFERENCE ON COMPUTER VISION (ICCV 2023), 2023, :17256-17267
[8]   Cascade R-CNN: Delving into High Quality Object Detection [J].
Cai, Zhaowei ;
Vasconcelos, Nuno .
2018 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2018, :6154-6162
[9]  
Chang SE, 2021, INT S HIGH PERF COMP, P208, DOI [10.1109/HPCA51647.2021.00027, 10.1109/WRCSARA53879.2021.9612678]
[10]   DearKD: Data-Efficient Early Knowledge Distillation for Vision Transformers [J].
Chen, Xianing ;
Cao, Qiong ;
Zhong, Yujie ;
Zhang, Jing ;
Gao, Shenghua ;
Tao, Dacheng .
2022 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2022, :12042-12052