Contextual Transformer Networks for Visual Recognition

计算机科学 变压器 人工智能 分割 卷积神经网络 模式识别(心理学) 计算机视觉 工程类 电气工程 电压
作者
Yehao Li,Ting Yao,Yingwei Pan,Tao Mei
出处
期刊:IEEE Transactions on Pattern Analysis and Machine Intelligence [IEEE Computer Society]
卷期号:45 (2): 1489-1500 被引量:621
标识
DOI:10.1109/tpami.2022.3164083
摘要

Transformer with self-attention has led to the revolutionizing of natural language processing field, and recently inspires the emergence of Transformer-style architecture design with competitive results in numerous computer vision tasks. Nevertheless, most of existing designs directly employ self-attention over a 2D feature map to obtain the attention matrix based on pairs of isolated queries and keys at each spatial location, but leave the rich contexts among neighbor keys under-exploited. In this work, we design a novel Transformer-style module, i.e., Contextual Transformer (CoT) block, for visual recognition. Such design fully capitalizes on the contextual information among input keys to guide the learning of dynamic attention matrix and thus strengthens the capacity of visual representation. Technically, CoT block first contextually encodes input keys via a 3×3 convolution, leading to a static contextual representation of inputs. We further concatenate the encoded keys with input queries to learn the dynamic multi-head attention matrix through two consecutive 1×1 convolutions. The learnt attention matrix is multiplied by input values to achieve the dynamic contextual representation of inputs. The fusion of the static and dynamic contextual representations are finally taken as outputs. Our CoT block is appealing in the view that it can readily replace each 3×3 convolution in ResNet architectures, yielding a Transformer-style backbone named as Contextual Transformer Networks (CoTNet). Through extensive experiments over a wide range of applications (e.g., image recognition, object detection, instance segmentation, and semantic segmentation), we validate the superiority of CoTNet as a stronger backbone. Source code is available at https://github.com/JDAI-CV/CoTNet.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
yuzaidididi完成签到,获得积分10
刚刚
1秒前
1秒前
2秒前
star完成签到,获得积分10
2秒前
2秒前
3秒前
研友_VZG7GZ应助粗暴的方盒采纳,获得10
3秒前
思源应助粗暴的方盒采纳,获得10
3秒前
田様应助粗暴的方盒采纳,获得10
3秒前
JoeZen完成签到 ,获得积分10
3秒前
4秒前
4秒前
Nina发布了新的文献求助20
5秒前
fgh完成签到,获得积分20
6秒前
6秒前
7秒前
千俞完成签到 ,获得积分10
8秒前
Dr.c发布了新的文献求助10
8秒前
perry发布了新的文献求助10
8秒前
疯度发布了新的文献求助10
9秒前
xiaoxiao33发布了新的文献求助10
9秒前
西米露完成签到 ,获得积分10
9秒前
9秒前
zlintcm发布了新的文献求助10
9秒前
东日羲雨发布了新的文献求助10
9秒前
丘比特应助刘的花采纳,获得10
10秒前
10秒前
轻松秋凌应助隼黔采纳,获得10
11秒前
11秒前
隐形曼青应助雪霁初晴采纳,获得10
12秒前
丰富的唇彩完成签到,获得积分20
12秒前
fgh发布了新的文献求助10
12秒前
偏偏完成签到,获得积分10
13秒前
曲奇发布了新的文献求助10
13秒前
英俊的铭应助顺心意采纳,获得10
15秒前
15秒前
研友完成签到,获得积分0
16秒前
疯度完成签到,获得积分10
16秒前
sunrase发布了新的文献求助10
17秒前
高分求助中
Adhesion Science: Principles & Practice 1234
Signals, Systems, and Signal Processing 610
Solution-State NMR of Lignocellulosic Biomass 400
Introduction to Cosmetic Formulation and Technology, 2nd Edition 400
Petrology and Plate Tectonics,2025 400
Burger's Medicinal Chemistry and Drug Discovery 400
A Step-by-Step Guide to Qualitative Data Coding 2nd Edition 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6692259
求助须知:如何正确求助?哪些是违规求助? 8435277
关于积分的说明 18022561
捐赠科研通 5920581
什么是DOI,文献DOI怎么找? 2985496
邀请新用户注册赠送积分活动 1961421
关于科研通互助平台的介绍 1900765