MetaFormer Is Actually What You Need for Vision

安全性令牌 计算机科学 变压器 建筑 联营 人工智能 计算机工程 电气工程 工程类 计算机安全 电压 艺术 视觉艺术
作者
Weihao Yu,Mi Luo,Pan Zhou,Chenyang Si,Yichen Zhou,Xinchao Wang,Jiashi Feng,Shuicheng Yan
出处
期刊:Cornell University - arXiv 被引量:28
标识
DOI:10.48550/arxiv.2111.11418
摘要

Transformers have shown great potential in computer vision tasks. A common belief is their attention-based token mixer module contributes most to their competence. However, recent works show the attention-based module in Transformers can be replaced by spatial MLPs and the resulted models still perform quite well. Based on this observation, we hypothesize that the general architecture of the Transformers, instead of the specific token mixer module, is more essential to the model's performance. To verify this, we deliberately replace the attention module in Transformers with an embarrassingly simple spatial pooling operator to conduct only basic token mixing. Surprisingly, we observe that the derived model, termed as PoolFormer, achieves competitive performance on multiple computer vision tasks. For example, on ImageNet-1K, PoolFormer achieves 82.1% top-1 accuracy, surpassing well-tuned Vision Transformer/MLP-like baselines DeiT-B/ResMLP-B24 by 0.3%/1.1% accuracy with 35%/52% fewer parameters and 50%/62% fewer MACs. The effectiveness of PoolFormer verifies our hypothesis and urges us to initiate the concept of "MetaFormer", a general architecture abstracted from Transformers without specifying the token mixer. Based on the extensive experiments, we argue that MetaFormer is the key player in achieving superior results for recent Transformer and MLP-like models on vision tasks. This work calls for more future research dedicated to improving MetaFormer instead of focusing on the token mixer modules. Additionally, our proposed PoolFormer could serve as a starting baseline for future MetaFormer architecture design. Code is available at https://github.com/sail-sg/poolformer.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
追寻蜗牛完成签到,获得积分10
1秒前
Lucas应助jiujiu圆圆个采纳,获得10
1秒前
沉默的小天鹅完成签到,获得积分10
1秒前
1秒前
2秒前
DueDue0327发布了新的文献求助30
2秒前
香蕉觅云应助dde采纳,获得10
3秒前
勿明发布了新的文献求助10
7秒前
chen完成签到,获得积分10
7秒前
羞涩的诗柳完成签到,获得积分10
7秒前
田様应助iligll采纳,获得10
8秒前
咖啡豆发布了新的文献求助10
8秒前
852应助超人研究生采纳,获得10
10秒前
wangbq发布了新的文献求助10
10秒前
爆米花应助chen采纳,获得10
10秒前
清脆如娆完成签到 ,获得积分10
11秒前
12秒前
朱大帅发布了新的文献求助10
12秒前
13秒前
迷人乐珍发布了新的文献求助10
13秒前
14秒前
14秒前
LJY发布了新的文献求助10
15秒前
15秒前
16秒前
16秒前
16秒前
复杂曼梅完成签到,获得积分10
18秒前
lzx完成签到,获得积分10
18秒前
WYY发布了新的文献求助50
18秒前
shirley发布了新的文献求助10
18秒前
19秒前
19秒前
85WQQn发布了新的文献求助10
19秒前
马静雨发布了新的文献求助10
19秒前
雪白安筠完成签到,获得积分10
19秒前
上善若水发布了新的文献求助10
19秒前
20秒前
李健的小迷弟应助月月采纳,获得30
20秒前
高分求助中
Adhesion Science: Principles & Practice 1234
Cold War Transcended: Australia's China Policy, 1949-1990 998
Signals, Systems, and Signal Processing 610
Fundamentals of Pharmaceutical and Biologics Regulations: A Global Perspective, Second Edition 600
Testimonial Injustice and Trust 510
久松真一著作集〈第5巻〉禅と芸術 500
Comprehensive Natural Products III 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6625839
求助须知:如何正确求助?哪些是违规求助? 8387968
关于积分的说明 17944134
捐赠科研通 5801255
什么是DOI,文献DOI怎么找? 2962790
邀请新用户注册赠送积分活动 1937956
关于科研通互助平台的介绍 1846202