Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNet

安全性令牌 计算机科学 变压器 人工智能 像素 刮擦 模式识别(心理学) 词汇分析 程序设计语言 计算机网络 工程类 电压 电气工程
作者
Li Yuan,Yunpeng Chen,Tao Wang,Weihao Yu,Yujun Shi,Zihang Jiang,Francis E. H. Tay,Jiashi Feng,Shuicheng Yan
出处
期刊: [Institute of Electrical and Electronics Engineers]
卷期号:: 538-547 被引量:2580
标识
DOI:10.1109/iccv48922.2021.00060
摘要

Transformers, which are popular for language modeling, have been explored for solving vision tasks recently, e.g., the Vision Transformer (ViT) for image classification. The ViT model splits each image into a sequence of tokens with fixed length and then applies multiple Transformer layers to model their global relation for classification. However, ViT achieves inferior performance to CNNs when trained from scratch on a midsize dataset like ImageNet. We find it is because: 1) the simple tokenization of input images fails to model the important local structure such as edges and lines among neighboring pixels, leading to low training sample efficiency; 2) the redundant attention backbone design of ViT leads to limited feature richness for fixed computation budgets and limited training samples. To overcome such limitations, we propose a new Tokens-To-Token Vision Transformer (T2T-VTT), which incorporates 1) a layer-wise Tokens-to-Token (T2T) transformation to progressively structurize the image to tokens by recursively aggregating neighboring Tokens into one Token (Tokens-to-Token), such that local structure represented by surrounding tokens can be modeled and tokens length can be reduced; 2) an efficient backbone with a deep-narrow structure for vision transformer motivated by CNN architecture design after empirical study. Notably, T2T-ViT reduces the parameter count and MACs of vanilla ViT by half, while achieving more than 3.0% improvement when trained from scratch on ImageNet. It also outperforms ResNets and achieves comparable performance with MobileNets by directly training on ImageNet. For example, T2T-ViT with comparable size to ResNet50 (21.5M parameters) can achieve 83.3% top1 accuracy in image resolution 384x384 on ImageNet.1

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
科研通AI2S的应助被hellosci666采纳,获得10
1秒前
汉堡包的应助被sfxxsfx采纳,获得10
1秒前
zjwzxrl完成签到,获得积分10
1秒前
52221448的应助被玫瑰醉9采纳,获得10
1秒前
烟花的应助被优雅鹤轩采纳,获得10
1秒前
2秒前
2秒前
zf完成签到,获得积分10
2秒前
安详琳完成签到 ,获得积分10
3秒前
ZJING9完成签到,获得积分10
3秒前
3秒前
丫丫完成签到,获得积分10
3秒前
4秒前
细腻谷南完成签到,获得积分10
4秒前
4秒前
4秒前
zhb完成签到 ,获得积分10
5秒前
6秒前
yxy完成签到,获得积分10
6秒前
6秒前
初景发布了新的文献求助30
6秒前
7秒前
学霸业的应助被俏皮夏菡采纳,获得10
7秒前
慕青的应助被俏皮夏菡采纳,获得10
7秒前
李爱国的应助被俏皮夏菡采纳,获得10
7秒前
科研通AI6.2的应助被俏皮夏菡采纳,获得10
7秒前
科研通AI2S的应助被俏皮夏菡采纳,获得10
8秒前
研友_VZG7GZ的应助被jgpiao采纳,获得10
8秒前
科研通AI6.4的应助被俏皮夏菡采纳,获得10
8秒前
大模型的应助被俏皮夏菡采纳,获得30
8秒前
JamesPei的应助被daision采纳,获得10
8秒前
8秒前
传奇3的应助被俏皮夏菡采纳,获得10
8秒前
秋风的应助被俏皮夏菡采纳,获得10
8秒前
无花果的应助被drinkliu采纳,获得10
9秒前
gstaihn发布了新的文献求助10
9秒前
在水一方的应助被俏皮夏菡采纳,获得10
9秒前
9秒前
9秒前
鑫哥关注了科研通微信公众号
9秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
The Martian climate revisited : atmosphere and environment of a desert planet 600
Musizierpraxis im Biedermeier: Spezifika und Kontext einer vermeintlich vertrauten Epoche 590
初発骨髄異形成腫瘍におけるIPSS-RとIPSS-Mの比較:単施設での検討 500
Sleisenger and Fordtran's Gastrointestinal and Liver Disease - 2 Volume Set Pathophysiology, Diagnosis, Management 500
[Radiotherapy of prostatic cancer at the loco-regional stage: therapeutic results and prognostic factors] 500
[Experiences with intensive radiotherapy of prostatic cancer in conjunction with surgery (transurethral resection, pelvic lymph node excision)] 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8228018
求助须知:如何正确求助?哪些是违规求助? 9606363
关于积分的说明 22030882
捐赠科研通 7839610
什么是DOI,文献DOI怎么找? 3449323
关于科研通互助平台的介绍 2569561
邀请新用户注册赠送积分活动 2498175