Spatial Bias for attention-free non-local neural networks

被引:3
|
作者
Go, Junhyung [1 ]
Ryu, Jonngbin [1 ,2 ]
机构
[1] Ajou Univ, Dept Artificial Intelligence, Suwon 16499, South Korea
[2] Ajou Univ, Dept Software & Comp Engn, Suwon 16499, South Korea
基金
新加坡国家研究基金会;
关键词
Non-local operation; Long-range dependency; Spatial Bias; Global context; Image classification; Convolutional neural networks;
D O I
10.1016/j.eswa.2023.122053
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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. Because we only use the convolution operation in this process, ours is lighter and faster than traditional methods based on the heavy self-attention operation. 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 x10 times fewer parameters while achieving comparable performance with 1.6 similar to 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 CIFAR-100 datasets. Additionally, we validate our method on the MS-COCO and ADE20K datasets for downstream tasks involving object detection and semantic segmentation.
引用
收藏
页数:9
相关论文
共 50 条
  • [1] Permutohedral Attention Module for Efficient Non-local Neural Networks
    Joutard, Samuel
    Dorent, Reuben
    Isaac, Amanda
    Ourselin, Sebastien
    Vercauteren, Tom
    Modat, Marc
    MEDICAL IMAGE COMPUTING AND COMPUTER ASSISTED INTERVENTION - MICCAI 2019, PT VI, 2019, 11769 : 393 - 401
  • [2] Non-local Neural Networks
    Wang, Xiaolong
    Girshick, Ross
    Gupta, Abhinav
    He, Kaiming
    2018 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2018, : 7794 - 7803
  • [3] Non-Local Graph Neural Networks
    Liu, Meng
    Wang, Zhengyang
    Ji, Shuiwang
    IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2022, 44 (12) : 10270 - 10276
  • [4] Local Information Assisted Attention-Free Decoder for Audio Captioning
    Xiao, Feiyang
    Guan, Jian
    Lan, Haiyan
    Zhu, Qiaoxi
    Wang, Wenwu
    IEEE SIGNAL PROCESSING LETTERS, 2022, 29 : 1604 - 1608
  • [5] Non-local correlations between separated neural networks
    Pizzi, R
    Fantasia, A
    Gelain, F
    Rossetti, D
    Vescovi, A
    QUANTUM INFORMATION AND COMPUTATION II, 2004, 5436 : 107 - 117
  • [6] Contextualized Non-Local Neural Networks for Sequence Learning
    Liu, Pengfei
    Chang, Shuaichen
    Huang, Xuanjing
    Tang, Jian
    Cheung, Jackie Chi Kit
    THIRTY-THIRD AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE / THIRTY-FIRST INNOVATIVE APPLICATIONS OF ARTIFICIAL INTELLIGENCE CONFERENCE / NINTH AAAI SYMPOSIUM ON EDUCATIONAL ADVANCES IN ARTIFICIAL INTELLIGENCE, 2019, : 6762 - 6769
  • [7] MR Image Reconstruction via Non-Local Attention Networks
    Zhou, Liu
    Zhu, Minjie
    Xiong, Dongping
    Ouyang, Lijun
    Ouyang, Yan
    Zhang, Xiaozhi
    FOURTEENTH INTERNATIONAL CONFERENCE ON GRAPHICS AND IMAGE PROCESSING, ICGIP 2022, 2022, 12705
  • [8] Asymmetric Non-local Neural Networks for Semantic Segmentation
    Zhu, Zhen
    Xu, Mengde
    Bai, Song
    Huang, Tengteng
    Bai, Xiang
    2019 IEEE/CVF INTERNATIONAL CONFERENCE ON COMPUTER VISION (ICCV 2019), 2019, : 593 - 602
  • [9] Non-local Attention Learning on Large Heterogeneous Information Networks
    Xiao, Yuxin
    Zhang, Zecheng
    Yang, Carl
    Zhai, Chengxiang
    2019 IEEE INTERNATIONAL CONFERENCE ON BIG DATA (BIG DATA), 2019, : 978 - 987
  • [10] Non-local physics informed neural networks for forward and inverse problems containing non-local operators
    Abhishek Kumar Singh
    Mani Mehra
    Roland Pulch
    Neural Computing and Applications, 2025, 37 (6) : 4111 - 4132