[论文解读] SA-Net: Shuffle Attention for Deep Convolutional Neural Networks
SA-Net 引入一个轻量级 Shuffle Attention 模块,在分组特征子空间内融合通道注意力和空间注意力,在卷积神经网络骨干上以极低的参数和 FLOPs 开销提升准确率。
Attention mechanisms, which enable a neural network to accurately focus on all the relevant elements of the input, have become an essential component to improve the performance of deep neural networks. There are mainly two attention mechanisms widely used in computer vision studies, extit{spatial attention} and extit{channel attention}, which aim to capture the pixel-level pairwise relationship and channel dependency, respectively. Although fusing them together may achieve better performance than their individual implementations, it will inevitably increase the computational overhead. In this paper, we propose an efficient Shuffle Attention (SA) module to address this issue, which adopts Shuffle Units to combine two types of attention mechanisms effectively. Specifically, SA first groups channel dimensions into multiple sub-features before processing them in parallel. Then, for each sub-feature, SA utilizes a Shuffle Unit to depict feature dependencies in both spatial and channel dimensions. After that, all sub-features are aggregated and a "channel shuffle" operator is adopted to enable information communication between different sub-features. The proposed SA module is efficient yet effective, e.g., the parameters and computations of SA against the backbone ResNet50 are 300 vs. 25.56M and 2.76e-3 GFLOPs vs. 4.12 GFLOPs, respectively, and the performance boost is more than 1.34% in terms of Top-1 accuracy. Extensive experimental results on common-used benchmarks, including ImageNet-1k for classification, MS COCO for object detection, and instance segmentation, demonstrate that the proposed SA outperforms the current SOTA methods significantly by achieving higher accuracy while having lower model complexity. The code and models are available at https://github.com/wofmanaf/SA-Net.
研究动机与目标
- 在不产生高计算成本的情况下,推动空间注意力和通道注意力的高效整合。
- 设计一个使用分组特征处理和通道打乱以实现信息交流的轻量级 SA 模块。
- 证明 SA 在各任务中以最小的参数/ FLOP 开销提升 CNN 性能。
- 展示 SA-Net 在 ImageNet-1k、MS COCO 目标检测和实例分割中的提升。
提出的方法
- 将通道维度分成 G 个子特征并行处理。
- 对每个子特征应用一个 Shuffle 单元,结合通道和空间注意力分支。
- 通道注意力使用全局平均池化和紧凑门控来重新校准特征。
- 空间注意力使用 Group Norm 生成空间统计并采用紧凑的门控。
- 聚合子特征并应用通道洗牌以实现跨组信息交流。
- 通过替换 SE 块将 SA 集成到 CNN 骨干,形成 SA-Net。

实验结果
研究问题
- RQ1在模型复杂度相似或更低的情况下,轻量级的空间与通道注意力融合是否能优于现有的注意力模块?
- RQ2分组特征处理和通道打乱能否实现有效的跨组信息交换以提升表征?
- RQ3与最先进的注意力块相比,SA-Net 在 ImageNet-1k 分类以及 COCO 目标检测/实例分割上的表现如何?
主要发现
- 在 ImageNet-1k 的 ResNet-50 上,SA-Net 达到 Top-1 77.724% 和 Top-5 93.798%,参数量 25.557M,FLOPs 4.125 GFLOPs,优于若干基线。
- 在 ResNet-50 上,SA-Net 相较基线在 Top-1 提升 1.34 点,Top-5 提升 0.89 点(并在相似复杂度下通常优于 SOTA 注意力方法)。
- 在 ResNet-101 上,SA-Net 相较基线在 Top-1 提升 0.76%,Top-5 提升 0.59%。
- 在 MS COCO 目标检测中,SA 相对于 SE 提升 AP 指标,例如 Faster R-CNN 搭配 ResNet-50 AP50:95 提升 2.3 点,且 AP S/M/L 提升;RetinaNet 也有类似增益;对 ResNet-101 的增益取决于检测器,AP50:95 提升约 2.2–2.5 点。
- SA 也在 Mask R-CNN 实例分割指标上优于 SE,对小目标有显著增益。
- 消融研究显示 Group Norm 是必需的,通道洗牌提供适度增益,F_c(·) 显著提升性能。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。