RFAConv: Receptive-Field Attention Convolution for Improving Convolutional Neural Networks

Xin Zhang, Chen Liu, Degang Yang, Tingting Song, Yichen Ye +2 more
4/6/2023
297 citations
cs.CV
transformer-attention

Official code: Liuchen1997/RFAConv (195 stars, Python, last commit 2026-02-28).

Abstract

In the realm of deep learning, spatial attention mechanisms have emerged as a vital method for enhancing the performance of convolutional neural networks. However, these mechanisms possess inherent limitations that cannot be overlooked.

Show full abstract

This work delves into the mechanism of spatial attention and reveals a new insight. It is that the mechanism essentially addresses the issue of convolutional parameter sharing. By addressing this issue, the convolutional kernel can efficiently extract features by employing varying weights at distinct locations. However, current spatial attention mechanisms focus on shallow attention to spatial features, which is insufficient to address the fundamental challenge of parameter sharing in convolutions involving larger kernels. In response to this challenge, we introduce a novel attention mechanism known as Receptive-Field Attention (RFA). Compared to existing spatial attention methods, RFA not only concentrates on the receptive-field spatial features but also offers effective attention weights for large convolutional kernels. Building upon the RFA concept, a Receptive-Field Attention Convolution (RFAConv) is proposed to supplant the conventional standard convolution. Notably, it offers nearly negligible increment of computational overhead and parameters, while significantly improving network performance. Furthermore, this work reveals that current spatial attention mechanisms require enhanced prioritization of receptive-field spatial features to optimize network performance. To validate the advantages of the proposed methods, we conduct many experiments across several authoritative datasets, including ImageNet, COCO, VOC, and Roboflow...

View on arXivView PDF

Code Implementations(1)

RAFConv: Innovating Spatital Attention and Standard Convolutional Operation

19519Python, Jupyter NotebookMar 25, 20239 months ago

Similar Papers

Cite this paper

@article{zhang2023rfaconv,
  title  = {RFAConv: Receptive-Field Attention Convolution for Improving Convolutional Neural Networks},
  author = {Xin Zhang and Chen Liu and Degang Yang and Tingting Song and Yichen Ye and Ke Li and Yingze Song},
  year   = {2023},
  eprint = {2304.03198},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.03198v7}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2304.03198.svg)](https://codeofpaper.com/paper/2304.03198)

Discussion