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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
标致凝莲完成签到 ,获得积分10
刚刚
jiqihao完成签到,获得积分10
8秒前
9秒前
always完成签到 ,获得积分10
9秒前
ljq关闭了ljq文献求助
9秒前
刘沛沛发布了新的文献求助10
10秒前
0001发布了新的文献求助50
14秒前
Wdj821722完成签到,获得积分10
14秒前
15秒前
科研通AI6.1应助钉钉采纳,获得10
15秒前
科研通AI6.4应助醺醺醺采纳,获得30
17秒前
稳重的鑫鹏完成签到 ,获得积分10
22秒前
Wang发布了新的文献求助10
22秒前
24秒前
墨白白完成签到,获得积分10
24秒前
短短急个球完成签到,获得积分10
26秒前
27秒前
天天快乐应助自觉的涵易采纳,获得10
28秒前
31秒前
淡定醉薇发布了新的文献求助10
32秒前
37秒前
37秒前
刘沛沛完成签到,获得积分10
39秒前
丘比特应助SUPERH0T采纳,获得10
40秒前
40秒前
马以琳发布了新的文献求助10
43秒前
HuiHui完成签到,获得积分10
43秒前
Wang发布了新的文献求助10
45秒前
xixixiziwei完成签到,获得积分10
47秒前
淡定醉薇完成签到,获得积分10
47秒前
Terry24发布了新的文献求助10
48秒前
小二郎应助危机的阁采纳,获得10
52秒前
53秒前
awaiskhan发布了新的文献求助20
54秒前
无极微光应助HaHa007采纳,获得20
55秒前
mr_beard完成签到 ,获得积分10
56秒前
56秒前
59秒前
1分钟前
Jasper应助lkl采纳,获得10
1分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
PowerCascade: A Synthetic Dataset for Cascading Failure Analysis in Power Systems 2000
Research Handbook on the Law of the Paris Agreement 1000
Various Faces of Animal Metaphor in English and Polish 800
Superabsorbent Polymers: Synthesis, Properties and Applications 700
Signals, Systems, and Signal Processing 610
Photodetectors: From Ultraviolet to Infrared 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6352700
求助须知:如何正确求助?哪些是违规求助? 8167549
关于积分的说明 17189858
捐赠科研通 5408826
什么是DOI,文献DOI怎么找? 2863411
邀请新用户注册赠送积分活动 1840825
关于科研通互助平台的介绍 1689766