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
出处
期刊: 被引量:1234
标识
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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
加油少年完成签到,获得积分10
刚刚
独家阿吉豆完成签到,获得积分10
2秒前
华仔应助wang采纳,获得10
7秒前
曾哥帅完成签到 ,获得积分10
8秒前
0lessthan2完成签到,获得积分10
12秒前
xiaoT完成签到,获得积分10
13秒前
LiXF完成签到,获得积分10
13秒前
waveless完成签到,获得积分10
14秒前
Baimei完成签到,获得积分0
17秒前
吞吞完成签到 ,获得积分10
20秒前
甘川完成签到 ,获得积分10
21秒前
cr7完成签到,获得积分10
23秒前
meng完成签到,获得积分10
23秒前
24秒前
lili完成签到,获得积分10
24秒前
cc完成签到,获得积分10
24秒前
小张医生完成签到,获得积分10
25秒前
星辰大海应助xudaniel采纳,获得10
25秒前
27秒前
川行发布了新的文献求助10
29秒前
wang发布了新的文献求助10
30秒前
John完成签到,获得积分10
31秒前
melody完成签到,获得积分10
33秒前
66发布了新的文献求助10
33秒前
yuan1226完成签到 ,获得积分10
33秒前
35秒前
wangxuezhibuct完成签到 ,获得积分10
35秒前
zcy完成签到 ,获得积分10
36秒前
36秒前
loong完成签到,获得积分10
37秒前
深情沧海完成签到,获得积分10
38秒前
ccm完成签到 ,获得积分10
39秒前
xudaniel发布了新的文献求助10
40秒前
不知名网友完成签到,获得积分10
44秒前
dengcl-jack完成签到,获得积分10
44秒前
涯欤完成签到,获得积分10
44秒前
活泼的大船完成签到,获得积分10
45秒前
快中文章啊完成签到,获得积分10
46秒前
Epiphany完成签到 ,获得积分10
48秒前
Azure6868完成签到,获得积分20
49秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Health Psychology 800
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
Electric machines: theory, operating applications, and controls 500
The Analytical and Numerical Solution of Electric and Magnetic Fields 500
When Is Two-Stage Sample Robust Optimization Asymptotically Optimal? 500
Discerning Saints: Moralization of Intrinsic Motivation and Selective Prosociality at Work 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7592714
求助须知:如何正确求助?哪些是违规求助? 9169990
关于积分的说明 19626697
捐赠科研通 7170597
什么是DOI,文献DOI怎么找? 3267520
关于科研通互助平台的介绍 2432387
邀请新用户注册赠送积分活动 2260021