arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.12505cs.CV
收藏

无注意非局部神经网络的空间偏差

Spatial Bias for Attention-free Non-local Neural Networks

Ajou University(亚洲大学)

Junhyung Go, Jongbin Ryu

摘要:

本文在卷积神经网络中引入空间偏差来学习全局知识而不需要自注意。由于有限的感受野,传统的卷积神经网络遭受学习长程依赖性。非局部神经网络一直在努力学习全局知识,但由于自注意操作,网络设计必然过于繁重。因此,我们提出了一个快速和轻量级的空间偏置,有效地编码全局知识,没有自我关注的卷积神经网络。空间偏差被堆叠在特征图上并卷积在一起以调整卷积特征的空间结构。因此,我们直接学习卷积层上的全局知识,只需很少的额外资源。我们的方法是非常快速和轻量级的,由于注意自由的非局部方法,同时大大提高了神经网络的性能。与非局部神经网络相比,空间偏差使用的参数减少了约10倍,同时在很小的预算下实现了1.6 ~ 3.3倍的吞吐量。此外,空间偏差可以与传统的非局部神经网络一起使用,以进一步提高骨干模型的性能。我们表明,空间偏差实现了具有竞争力的性能,在ImageNet-1 K和cifar 100数据集上将分类准确率提高了+0.79%和+1.5%。此外,我们还在MS-COCO和ADE 20 K数据集上验证了我们的方法,用于涉及目标检测和语义分割的下游任务。

英文摘要:

In this paper, we introduce the spatial bias to learn global knowledge without self-attention in convolutional neural networks. Owing to the limited receptive field, conventional convolutional neural networks suffer from learning long-range dependencies. Non-local neural networks have struggled to learn global knowledge, but unavoidably have too heavy a network design due to the self-attention operation. Therefore, we propose a fast and lightweight spatial bias that efficiently encodes global knowledge without self-attention on convolutional neural networks. Spatial bias is stacked on the feature map and convolved together to adjust the spatial structure of the convolutional features. Therefore, we learn the global knowledge on the convolution layer directly with very few additional resources. Our method is very fast and lightweight due to the attention-free non-local method while improving the performance of neural networks considerably. Compared to non-local neural networks, the spatial bias use about 10 times fewer parameters while achieving comparable performance with 1.6 ~ 3.3 times more throughput on a very little budget. Furthermore, the spatial bias can be used with conventional non-local neural networks to further improve the performance of the backbone model. We show that the spatial bias achieves competitive performance that improves the classification accuracy by +0.79% and +1.5% on ImageNet-1K and cifar100 datasets. Additionally, we validate our method on the MS-COCO and ADE20K datasets for downstream tasks involving object detection and semantic segmentation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑