Focal Self-attention for Local-Global Interactions in Vision Transformers

心理学 计算机科学 人工智能 认知科学
作者
Jianwei Yang,Chunyuan Li,Pengchuan Zhang,Xiyang Dai,Bin Xiao,Yuan Liu,Jianfeng Gao
出处
期刊:Cornell University - arXiv 被引量:143
标识
DOI:10.48550/arxiv.2107.00641
摘要

Recently, Vision Transformer and its variants have shown great promise on various computer vision tasks. The ability of capturing short- and long-range visual dependencies through self-attention is arguably the main source for the success. But it also brings challenges due to quadratic computational overhead, especially for the high-resolution vision tasks (e.g., object detection). In this paper, we present focal self-attention, a new mechanism that incorporates both fine-grained local and coarse-grained global interactions. Using this new mechanism, each token attends the closest surrounding tokens at fine granularity but the tokens far away at coarse granularity, and thus can capture both short- and long-range visual dependencies efficiently and effectively. With focal self-attention, we propose a new variant of Vision Transformer models, called Focal Transformer, which achieves superior performance over the state-of-the-art vision Transformers on a range of public image classification and object detection benchmarks. In particular, our Focal Transformer models with a moderate size of 51.1M and a larger size of 89.8M achieve 83.5 and 83.8 Top-1 accuracy, respectively, on ImageNet classification at 224x224 resolution. Using Focal Transformers as the backbones, we obtain consistent and substantial improvements over the current state-of-the-art Swin Transformers for 6 different object detection methods trained with standard 1x and 3x schedules. Our largest Focal Transformer yields 58.7/58.9 box mAPs and 50.9/51.3 mask mAPs on COCO mini-val/test-dev, and 55.4 mIoU on ADE20K for semantic segmentation, creating new SoTA on three of the most challenging computer vision tasks.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
2秒前
小曦瓜完成签到 ,获得积分10
3秒前
穆亦擎发布了新的文献求助10
4秒前
like完成签到 ,获得积分10
4秒前
jiaaniu完成签到 ,获得积分10
7秒前
8秒前
10秒前
pengpeng完成签到,获得积分10
10秒前
赵文静完成签到,获得积分10
11秒前
REBECCA完成签到 ,获得积分10
12秒前
陈明天完成签到,获得积分10
13秒前
14秒前
调皮的幻梅完成签到 ,获得积分10
14秒前
越幸运完成签到 ,获得积分10
14秒前
内向的青荷完成签到,获得积分10
16秒前
huahua完成签到 ,获得积分10
16秒前
17秒前
jinyu发布了新的文献求助10
18秒前
穆亦擎完成签到 ,获得积分10
19秒前
科研通AI6.2应助桃子采纳,获得10
20秒前
活泼的莫茗完成签到,获得积分10
22秒前
冰霜发布了新的文献求助30
22秒前
过时的傲玉完成签到 ,获得积分10
23秒前
小于完成签到,获得积分10
24秒前
JJ发布了新的文献求助10
26秒前
赘婿应助小小虾采纳,获得10
27秒前
马马马完成签到,获得积分10
28秒前
王小鱼完成签到 ,获得积分10
29秒前
29秒前
尘埃完成签到,获得积分10
29秒前
空半月完成签到 ,获得积分10
30秒前
乐乐应助畅快大有采纳,获得10
32秒前
聪明的迎夏完成签到 ,获得积分10
32秒前
32秒前
XYZ完成签到,获得积分10
33秒前
33秒前
33秒前
安史不乱完成签到,获得积分10
33秒前
34秒前
34秒前
高分求助中
The Graphene Handbook (2019 Edition) 800
IEST-RP-CC018: Cleanroom Cleaning and Sanitization: Operating and Monitoring Procedures 600
Fundamentals of Pharmaceutical and Biologics Regulations: A Global Perspective, Second Edition 600
久松真一著作集〈第5巻〉禅と芸術 500
Fundamentals of Modern Mathematics: A Practical Review (Dover Books on Mathematics) 500
Cold War Transcended: Australia's China Policy, 1949-1990 470
Comprehensive Organic Synthesis 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6595335
求助须知:如何正确求助?哪些是违规求助? 8365644
关于积分的说明 17907787
捐赠科研通 5746585
什么是DOI,文献DOI怎么找? 2952681
邀请新用户注册赠送积分活动 1928003
关于科研通互助平台的介绍 1821002