Which Tokens to Use? Investigating Token Reduction in Vision Transformers

被引:9
作者
Haurum, Joakim Bruslund [1 ,2 ]
Escalera, Sergio [1 ,2 ,3 ,4 ]
Taylor, Graham W. [5 ,6 ]
Moeslund, Thomas B. [1 ,2 ]
机构
[1] Aalborg Univ, Visual Anal & Percept VAP Lab, Aalborg, Denmark
[2] Pioneer Ctr AI, Copenhagen, Denmark
[3] Univ Barcelona, Barcelona, Spain
[4] Comp Vis Ctr, Barcelona, Spain
[5] Univ Guelph, Guelph, ON, Canada
[6] Vector Inst AI, Toronto, ON, Canada
来源
2023 IEEE/CVF INTERNATIONAL CONFERENCE ON COMPUTER VISION WORKSHOPS, ICCVW | 2023年
关键词
D O I
10.1109/ICCVW60793.2023.00085
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Since the introduction of the Vision Transformer (ViT), researchers have sought to make ViTs more efficient by removing redundant information in the processed tokens. While different methods have been explored to achieve this goal, we still lack understanding of the resulting reduction patterns and how those patterns differ across token reduction methods and datasets. To close this gap, we set out to understand the reduction patterns of 10 different token reduction methods using four image classification datasets. By systematically comparing these methods on the different classification tasks, we find that the Top-K pruning method is a surprisingly strong baseline. Through in-depth analysis of the different methods, we determine that: the reduction patterns are generally not consistent when varying the capacity of the backbone model, the reduction patterns of pruning-based methods significantly differ from fixed radial patterns, and the reduction patterns of pruning-based methods are correlated across classification datasets. Finally we report that the similarity of reduction patterns is a moderate-to-strong proxy for model performance. Project page at https://vap.aau.dk/tokens.
引用
收藏
页码:773 / 783
页数:11
相关论文
共 66 条
[1]  
Akbari Hassan, 2021, Advances in Neural Information Processing Systems, V2
[2]  
Beyer L, 2023, Arxiv, DOI [arXiv:2212.08013, 10.48550/arXiv.2212.08013]
[3]  
Bolya D., 2023, INT C LEARNING REPRE
[4]   What Do Different Evaluation Metrics Tell Us About Saliency Models? [J].
Bylinskii, Zoya ;
Judd, Tilke ;
Oliva, Aude ;
Torralba, Antonio ;
Durand, Fredo .
IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2019, 41 (03) :740-757
[5]   Vision Transformer Slimming: Multi-Dimension Searching in Continuous Optimization Space [J].
Chavan, Arnav ;
Shen, Zhiqiang ;
Liu, Zhuang ;
Liu, Zechun ;
Cheng, Kwang-Ting ;
Xing, Eric .
2022 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR 2022), 2022, :4921-4931
[6]  
Chen MZ, 2022, Arxiv, DOI arXiv:2203.03821
[7]  
Chen Tianyi, 2021, Advances in Neural Information Processing Systems, V34
[8]  
Chua Tat-Seng, 2009, PROC ACM C IMAGE VID, P3
[9]  
Dehghani Mostafa, 2022, INT C LEARNING REPRE, P8
[10]  
Ding Frances, 2021, Advances in Neural Information Processing Systems, V7, P8