Evo-ViT: Slow-Fast Token Evolution for Dynamic Vision Transformer

安全性令牌 计算机科学 计算 变压器 人工智能 模式识别(心理学) 算法 工程类 计算机安全 电气工程 电压
作者
Yifan Xu,Zhijie Zhang,Mengdan Zhang,Kekai Sheng,Ke Li,Weiming Dong,Liqing Zhang,Changsheng Xu,Xing Sun
出处
期刊:Proceedings of the ... AAAI Conference on Artificial Intelligence [Association for the Advancement of Artificial Intelligence]
卷期号:36 (3): 2964-2972 被引量:338
标识
DOI:10.1609/aaai.v36i3.20202
摘要

Vision transformers (ViTs) have recently received explosive popularity, but the huge computational cost is still a severe issue. Since the computation complexity of ViT is quadratic with respect to the input sequence length, a mainstream paradigm for computation reduction is to reduce the number of tokens. Existing designs include structured spatial compression that uses a progressive shrinking pyramid to reduce the computations of large feature maps, and unstructured token pruning that dynamically drops redundant tokens. However, the limitation of existing token pruning lies in two folds: 1) the incomplete spatial structure caused by pruning is not compatible with structured spatial compression that is commonly used in modern deep-narrow transformers; 2) it usually requires a time-consuming pre-training procedure. To tackle the limitations and expand the applicable scenario of token pruning, we present Evo-ViT, a self-motivated slow-fast token evolution approach for vision transformers. Specifically, we conduct unstructured instance-wise token selection by taking advantage of the simple and effective global class attention that is native to vision transformers. Then, we propose to update the selected informative tokens and uninformative tokens with different computation paths, namely, slow-fast updating. Since slow-fast updating mechanism maintains the spatial structure and information flow, Evo-ViT can accelerate vanilla transformers of both flat and deep-narrow structures from the very beginning of the training process. Experimental results demonstrate that our method significantly reduces the computational cost of vision transformers while maintaining comparable performance on image classification. For example, our method accelerates DeiT-S by over 60% throughput while only sacrificing 0.4% top-1 accuracy on ImageNet-1K, outperforming current token pruning methods on both accuracy and efficiency.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
美丽冬卉发布了新的文献求助10
刚刚
Ml完成签到,获得积分10
刚刚
1秒前
Ivyii发布了新的文献求助10
1秒前
bigalexwei发布了新的文献求助10
2秒前
REDMPTION的应助被立米栗采纳,获得10
4秒前
小波浪完成签到,获得积分10
5秒前
5秒前
5秒前
斯文败类的应助被未小未采纳,获得10
5秒前
斯文败类的应助被雨淼采纳,获得10
6秒前
6秒前
7秒前
刘子完成签到,获得积分10
9秒前
9秒前
策略完成签到,获得积分10
10秒前
wanci的应助被伊敏采纳,获得10
10秒前
研友_08oR4Z完成签到,获得积分10
10秒前
Frank发布了新的文献求助10
11秒前
11秒前
张利奥发布了新的文献求助10
12秒前
呼呼完成签到 ,获得积分10
12秒前
12秒前
秋风的应助被淡淡的钥匙采纳,获得30
13秒前
Twistzz完成签到,获得积分10
13秒前
苹果新竹完成签到,获得积分10
14秒前
小蘑菇的应助被美丽冬卉采纳,获得10
14秒前
JraInYIu发布了新的文献求助10
15秒前
qqqqqqqqqq发布了新的文献求助10
17秒前
大模型的应助被YOLO采纳,获得10
17秒前
Yang完成签到,获得积分10
17秒前
18秒前
雨淼完成签到,获得积分10
20秒前
21秒前
null的应助被suans采纳,获得10
21秒前
dzjin发布了新的文献求助10
22秒前
wssy发布了新的文献求助10
22秒前
22秒前
失眠的霸完成签到,获得积分10
23秒前
呆呆完成签到,获得积分10
23秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
拉伸高分子熔体中缠结行为的模拟和小角中子散射研究 2000
Handbook of Sport Coaching Research 1000
The Oxford Handbook of the Bible and Animals 510
Orthognathic Surgery - 2 Volume Set 500
高分子基功能界面水蒸发材料与应用研究 500
外场增强的水汽发电研究 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8196650
求助须知:如何正确求助?哪些是违规求助? 9582379
关于积分的说明 21883002
捐赠科研通 7797706
什么是DOI,文献DOI怎么找? 3438390
关于科研通互助平台的介绍 2561691
邀请新用户注册赠送积分活动 2485311