HorNet: Efficient High-Order Spatial Interactions with Recursive Gated Convolutions

计算机科学 计算 可扩展性 卷积(计算机科学) 编码器 算法 理论计算机科学 人工智能 人工神经网络 数据库 操作系统
作者
Yongming Rao,Wenliang Zhao,Yansong Tang,Jie Zhou,Ser-Nam Lim,Jiwen Lu
出处
期刊:Cornell University - arXiv 被引量:127
标识
DOI:10.48550/arxiv.2207.14284
摘要

Recent progress in vision Transformers exhibits great success in various tasks driven by the new spatial modeling mechanism based on dot-product self-attention. In this paper, we show that the key ingredients behind the vision Transformers, namely input-adaptive, long-range and high-order spatial interactions, can also be efficiently implemented with a convolution-based framework. We present the Recursive Gated Convolution ($\textit{g}^\textit{n}$Conv) that performs high-order spatial interactions with gated convolutions and recursive designs. The new operation is highly flexible and customizable, which is compatible with various variants of convolution and extends the two-order interactions in self-attention to arbitrary orders without introducing significant extra computation. $\textit{g}^\textit{n}$Conv can serve as a plug-and-play module to improve various vision Transformers and convolution-based models. Based on the operation, we construct a new family of generic vision backbones named HorNet. Extensive experiments on ImageNet classification, COCO object detection and ADE20K semantic segmentation show HorNet outperform Swin Transformers and ConvNeXt by a significant margin with similar overall architecture and training configurations. HorNet also shows favorable scalability to more training data and larger model sizes. Apart from the effectiveness in visual encoders, we also show $\textit{g}^\textit{n}$Conv can be applied to task-specific decoders and consistently improve dense prediction performance with less computation. Our results demonstrate that $\textit{g}^\textit{n}$Conv can be a new basic module for visual modeling that effectively combines the merits of both vision Transformers and CNNs. Code is available at https://github.com/raoyongming/HorNet

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
灯泡子发布了新的文献求助30
刚刚
盒子应助tjr8910采纳,获得10
刚刚
1秒前
1秒前
CipherSage应助花生采纳,获得10
1秒前
1秒前
Qintt发布了新的文献求助10
1秒前
2秒前
2秒前
2秒前
王璐发布了新的文献求助10
3秒前
3秒前
3秒前
热心果汁完成签到,获得积分10
3秒前
小鱼发布了新的文献求助10
3秒前
执着的仇血完成签到,获得积分10
3秒前
aa完成签到,获得积分10
4秒前
NexusExplorer应助风清扬采纳,获得20
5秒前
Maggie完成签到,获得积分10
5秒前
深情安青应助爱笑书雁采纳,获得10
5秒前
青柠完成签到,获得积分10
6秒前
shijing发布了新的文献求助10
6秒前
王艺帆发布了新的文献求助20
6秒前
6秒前
芝麻是什么味道完成签到,获得积分10
6秒前
7秒前
Deposit发布了新的文献求助10
7秒前
7秒前
7秒前
8秒前
1234发布了新的文献求助10
8秒前
lamer发布了新的文献求助20
9秒前
王有钱完成签到,获得积分10
10秒前
chen发布了新的文献求助30
10秒前
无聊的新波完成签到,获得积分10
10秒前
阿玖发布了新的文献求助10
11秒前
领导范儿应助0122采纳,获得10
11秒前
WuFen完成签到 ,获得积分10
12秒前
默默白开水完成签到 ,获得积分10
12秒前
nayun完成签到,获得积分10
13秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Earth System Geophysics 1000
Bioseparations Science and Engineering Third Edition 1000
Lloyd's Register of Shipping's Approach to the Control of Incidents of Brittle Fracture in Ship Structures 1000
BRITTLE FRACTURE IN WELDED SHIPS 1000
Entre Praga y Madrid: los contactos checoslovaco-españoles (1948-1977) 1000
Encyclopedia of Materials: Plastics and Polymers 800
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 纳米技术 有机化学 物理 生物化学 化学工程 计算机科学 复合材料 内科学 催化作用 光电子学 物理化学 电极 冶金 遗传学 细胞生物学
热门帖子
关注 科研通微信公众号,转发送积分 6114338
求助须知:如何正确求助?哪些是违规求助? 7942733
关于积分的说明 16468280
捐赠科研通 5238823
什么是DOI,文献DOI怎么找? 2799093
邀请新用户注册赠送积分活动 1780729
关于科研通互助平台的介绍 1652961