# 挤压-激励网络

挤压-激励（Squeeze-and-Excitation，SE）网络是一种围绕SE块构建的卷积神经网络架构。SE块是一种架构单元，通过显式建模通道之间的相互依赖关系，自适应地重新校准通道维度的特征响应。该网络由胡杰、沈力、塞缪尔·阿尔巴尼、孙刚和吴恩华提出，论文于2017年9月5日提交至arXiv，在CVPR 2018上宣读（第7132-7141页），后经IEEE TPAMI接收为期刊版本。<sup>[1](https://arxiv.org/abs/1709.01507)</sup><sup> • </sup><sup>[2](https://dblp.org/rec/conf/cvpr/HuSS18.html)</sup> SENet构成了ILSVRC 2017分类提交的基础，以2.251%的top-5错误率获得第一名，相对于2016年获胜方案约有25%的相对提升。<sup>[1](https://arxiv.org/abs/1709.01507)</sup><sup> • </sup><sup>[3](https://www.image-net.org/challenges/LSVRC/2017/results.php)</sup>

| 关键事实 | 详情 |
|---|---|
| 起源 | 胡杰、沈力、阿尔巴尼、孙刚、吴恩华；arXiv 2017年9月5日；CVPR 2018，第7132-7141页；期刊版本经TPAMI接收<sup>[1](https://arxiv.org/abs/1709.01507)</sup><sup> • </sup><sup>[2](https://dblp.org/rec/conf/cvpr/HuSS18.html)</sup> |
| 机制 | 挤压（全局平均池化为1×1×C描述符）、激励（两个全连接层，缩减比为r，ReLU后接sigmoid），然后进行通道乘法<sup>[4](https://github.com/wjh19990923/deep-learning-hands-on/blob/main/papers/senet.md)</sup> |
| 默认设置 | 论文中缩减比r = 16，控制门控的容量和计算成本<sup>[4](https://github.com/wjh19990923/deep-learning-hands-on/blob/main/papers/senet.md)</sup><sup> • </sup><sup>[5](https://masterzone.tistory.com/37)</sup> |
| 参数成本 | 两个全连接层每个块产生2C²/r个参数<sup>[6](https://www.techscience.com/CMES/v147n3/67930/html)</sup> |
| 头条结果 | ILSVRC 2017分类冠军，top-5错误率2.251%，相对于2016年冠军约有25%的相对提升<sup>[1](https://arxiv.org/abs/1709.01507)</sup><sup> • </sup><sup>[3](https://www.image-net.org/challenges/LSVRC/2017/results.php)</sup> |
| 主要局限 | 全局平均池化将每个通道压缩为一个标量，丢弃了密集预测所需的空间信息<sup>[7](https://www.sciencedirect.com/science/article/pii/S0031320321003460)</sup> |
| 采用情况 | 内置于EfficientNet和MobileNetV3的块中，并以torchvision.ops.SqueezeExcitation形式提供<sup>[8](https://research.google/blog/introducing-the-next-generation-of-on-device-vision-models-mobilenetv3-and-mobilenetedgetpu/)</sup><sup> • </sup><sup>[9](https://docs.pytorch.org/vision/0.14/generated/torchvision.ops.SqueezeExcitation.html)</sup> |

## 块的工作原理

卷积层在局部感受野内融合空间和通道信息，但标准块将输出通道视为一组固定的特征图。SE块通过三个步骤在通道上添加一个数据相关的门控。<sup>[10](https://eightmm.github.io/papers/architectures/squeeze-and-excitation-networks)</sup>

**挤压。** 全局平均池化将大小为h × w × n的特征图压缩为1 × 1 × n，为每个通道提供一个数字，概括其在全部空间范围内的响应。形式上，对于大小为H × W的通道u<sub>c</sub>，描述符为\( z_c = \frac{1}{H \times W} \sum_{i=1}^{H} \sum_{j=1}^{W} u_c(i, j) \)。<sup>[4](https://github.com/wjh19990923/deep-learning-hands-on/blob/main/papers/senet.md)</sup><sup> • </sup><sup>[11](https://vitalab.github.io/article/2018/07/20/SEnets.html)</sup>论文的消融实验发现，作为挤压算子，全局平均池化略优于全局最大池化，而且使用全局信息（而非没有全局嵌入的逐点卷积）对性能至关重要。<sup>[12](https://github.com/Jasonlee1995/AI_Papers/issues/43)</sup>

**激励。** 描述符通过两个全连接层构成的瓶颈：缩减层W₁将C个通道映射到C/r，一个ReLU，以及恢复C个通道的扩展层W₂，最后接sigmoid。缩减比r在容量和成本之间权衡；论文使用r = 16，性能在一系列比率下都保持稳健。<sup>[4](https://github.com/wjh19990923/deep-learning-hands-on/blob/main/papers/senet.md)</sup><sup> • </sup><sup>[5](https://masterzone.tistory.com/37)</sup><sup> • </sup><sup>[12](https://github.com/Jasonlee1995/AI_Papers/issues/43)</sup>使用sigmoid输出而非softmax等竞争性归一化，是因为多个通道可能同时需要强调；通道之间的关系并非互斥的。<sup>[13](https://mister-jp.github.io/writing/technical-notes/squeeze-and-excitation/)</sup><sup> • </sup><sup>[12](https://github.com/Jasonlee1995/AI_Papers/issues/43)</sup>

**缩放。** 得到的门控s按通道乘入特征图，\( \tilde{U}_{b,u,v,c} = s_{b,c} \cdot U_{b,u,v,c} \)。每个样本获得自己的门控，但权重在通道的所有H × W空间位置上共享，因此该块学习的是图像中什么重要，而非重要特征出现的精确位置。<sup>[10](https://eightmm.github.io/papers/architectures/squeeze-and-excitation-networks)</sup>

该块是一个即插即用单元：SE-ResNet、SE-ResNeXt和SE-Inception-ResNet变体通过将SE块附加到现有架构上构建而成，它们在计算量和GPU内存成本略有增加的情况下明显超越了非SE的对应版本。<sup>[3](https://www.image-net.org/challenges/LSVRC/2017/results.php)</sup>对学习到的激励的分析表明，早期阶段的激活在不同类别间相似，而更深阶段的激活变得类别特定；一些最后的块在接近1处饱和，行为接近恒等算子。<sup>[12](https://github.com/Jasonlee1995/AI_Papers/issues/43)</sup>

## 结果与成本

头条结果是ILSVRC 2017的胜利：WMW团队基于SENet的集成达到了0.02251的分类（top-5）错误率，领先于Trimps-Soushen的0.02481和NUS-Qihoo_DPNs的0.0274。<sup>[3](https://www.image-net.org/challenges/LSVRC/2017/results.php)</sup>除分类之外，SE块以极小的额外成本改善了目标检测和其他任务。<sup>[1](https://arxiv.org/abs/1709.01507)</sup>

参数开销虽小但并非为零。两个全连接层每个块花费2C²/r个参数，在具有许多通道的深层瓶颈网络中变得显著。<sup>[6](https://www.techscience.com/CMES/v147n3/67930/html)</sup>一项关于ResNet通道注意力模块的性能效率研究发现，尽管注意力模块增加的FLOPs可以忽略不计，但GPU在SE块内部的小型内积上效率低下，因此实际推理时间开销可能显著大于FLOPs所暗示的；在测试的模块中，SE和Multi-SE显示出最明显的参数开销。<sup>[14](https://link.springer.com/article/10.1007/s11063-023-11161-z)</sup>同一研究发现注意力增益取决于通道宽度：在CIFAR-100上，注意力模块为基础块ResNet增加约1个百分点的top-1准确率，但为瓶颈块ResNet增加约3个百分点，且在ImageNet上ResNet-50的增益大于ResNet-18。<sup>[14](https://link.springer.com/article/10.1007/s11063-023-11161-z)</sup>

## 局限与后继

**空间坍缩。** 挤压操作执行全局信息嵌入，而全局平均池化所掩盖的局部信息对于判断通道重要性可能至关重要；没有它，激励模块可能将高权重分配给在背景上激活不当的噪声通道。<sup>[7](https://www.sciencedirect.com/science/article/pii/S0031320321003460)</sup>这限制了SE在分割等密集预测任务中的表现。一种两阶段空间池化方法将全局和局部线索都馈入激励模块，在ImageNet上将SE-ResNet-50的top-1错误率降低0.94%，SE-ResNet-101降低1.11%，并在MS-COCO上将带有SE-ResNet-50骨干的Faster R-CNN的平均精度均值提高1.1%。<sup>[7](https://www.sciencedirect.com/science/article/pii/S0031320321003460)</sup>后来的区域感知泛化用空间引导池化替代全局池化，使每个通道在每个区域获得一个门控，弥合了通道注意力和空间注意力之间的鸿沟。<sup>[15](https://arxiv.org/abs/2610.15079)</sup>对于3D医学分割，Project & Excite模块沿空间维度分别压缩特征图而非全局平均池化，相比重新校准块的3D扩展，Dice分数最多提高0.3。<sup>[16](https://arxiv.org/abs/2002.10994)</sup>

**更轻的门控。** ECA-Net用一维卷积替代全连接层进行局部跨通道交互，仅涉及少量参数。在ImageNet上使用ResNet-50，它以几乎相同的模型复杂度实现了相对于基线2.28%的top-1增益，在使用Faster R-CNN骨干时，分别使用ResNet-50和ResNet-101比SE块高出0.3%和0.7%的AP。<sup>[17](https://openaccess.thecvf.com/content_CVPR_2020/papers/Wang_ECA-Net_Efficient_Channel_Attention_for_Deep_Convolutional_Neural_Networks_CVPR_2020_paper.pdf)</sup>其他后代级联通道和空间注意力（CBAM）或使用通道注意力在不同大小的卷积核之间选择（SKNet）。<sup>[18](https://www.sciencedirect.com/org/science/article/pii/S154622182600514X)</sup>一项跨五个数据集的比较研究发现，在大多数实验中，包括所有以ResNet-50为基线的数据集，SENet是测试的三个通道注意力模块（SENet、ECA-Net、CBAM）中最成功的。<sup>[19](https://dergipark.org.tr/tr/pub/cukurovaumfd/article/1273688)</sup>

**部署。** SE块已被用于投入实际应用的移动端架构。MobileNetV3引入了一种移动友好的SE变体，用分段线性近似替代sigmoid，与h-swish结合在修改的倒置瓶颈中；[EfficientNet](https://www.edgepedia.org/zh/efficientnet)在每个MBConv块中包含一个挤压-激励阶段，相对于块的输入通道缩减比为0.25。<sup>[8](https://research.google/blog/introducing-the-next-generation-of-on-device-vision-models-mobilenetv3-and-mobilenetedgetpu/)</sup><sup> • </sup><sup>[20](https://www.wasilzafar.com/pages/series/tensorflow-mastery/deep-dive-efficientnet.html)</sup>该块也是标准库组件：torchvision提供torchvision.ops.SqueezeExcitation，以ReLU作为内部激活，Sigmoid作为缩放激活，与论文的δ和σ对应。<sup>[9](https://docs.pytorch.org/vision/0.14/generated/torchvision.ops.SqueezeExcitation.html)</sup>并非所有设置都受益：在高度规则、低纹理图像的芯片缺陷分割中，添加CBAM和ECA等注意力模块反而降低了分割质量，表明注意力重新校准并非普遍有益。<sup>[21](https://www.researchgate.net/publication/400295339_Attention-Enhanced_Deep_U-Net_for_Chip_Defect_Segmentation_Performance_and_Limitations)</sup>

## References

1. [Squeeze-and-Excitation Networks, arXiv:1709.01507](https://arxiv.org/abs/1709.01507)
2. [dblp: Squeeze-and-Excitation Networks, CVPR 2018](https://dblp.org/rec/conf/cvpr/HuSS18.html)
3. [ILSVRC2017 results, image-net.org](https://www.image-net.org/challenges/LSVRC/2017/results.php)
4. [senet.md, deep-learning-hands-on (GitHub)](https://github.com/wjh19990923/deep-learning-hands-on/blob/main/papers/senet.md)
5. [Squeeze and Excitation Network (CVPR 2018) summary](https://masterzone.tistory.com/37)
6. [ECANet: Enhanced Convolutional Attention Network for Liver Segmentation, CMES](https://www.techscience.com/CMES/v147n3/67930/html)
7. [Delving deep into spatial pooling for squeeze-and-excitation networks, Pattern Recognition](https://www.sciencedirect.com/science/article/pii/S0031320321003460)
8. [Introducing the Next Generation of On-Device Vision Models: MobileNetV3 and MobileNetEdgeTPU, Google Research](https://research.google/blog/introducing-the-next-generation-of-on-device-vision-models-mobilenetv3-and-mobilenetedgetpu/)
9. [SqueezeExcitation, Torchvision 0.14 documentation](https://docs.pytorch.org/vision/0.14/generated/torchvision.ops.SqueezeExcitation.html)
10. [Squeeze-and-Excitation Networks, paper notes](https://eightmm.github.io/papers/architectures/squeeze-and-excitation-networks)
11. [Squeeze-and-Excitation Networks (2017 ImageNet winner), VITA lab notes](https://vitalab.github.io/article/2018/07/20/SEnets.html)
12. [[2018 CVPR Oral] Squeeze-and-Excitation Networks, AI_Papers issue #43](https://github.com/Jasonlee1995/AI_Papers/issues/43)
13. [Squeeze-and-Excitation technical note, Jignasu Pathak](https://mister-jp.github.io/writing/technical-notes/squeeze-and-excitation/)
14. [Performance-Efficiency Comparisons of Channel Attention Modules for ResNets, Neural Processing Letters](https://link.springer.com/article/10.1007/s11063-023-11161-z)
15. [Region Aware Squeeze-and-Excitation Networks for Image Segmentation, arXiv:2610.15079](https://arxiv.org/abs/2610.15079)
16. [Recalibrating 3D ConvNets with Project & Excite, arXiv:2002.10994](https://arxiv.org/abs/2002.10994)
17. [ECA-Net: Efficient Channel Attention for Deep Convolutional Neural Networks, CVPR 2020](https://openaccess.thecvf.com/content_CVPR_2020/papers/Wang_ECA-Net_Efficient_Channel_Attention_for_Deep_Convolutional_Neural_Networks_CVPR_2020_paper.pdf)
18. [Attention-Based Medical Image Analysis: Architectures, Applications, and Future Directions](https://www.sciencedirect.com/org/science/article/pii/S154622182600514X)
19. [Performance Analysis of CNN Channel Attention Modules for Image Classification Task, Çukurova University Journal of the Faculty of Engineering](https://dergipark.org.tr/tr/pub/cukurovaumfd/article/1273688)
20. [Deep Dive: EfficientNet, Wasil Zafar](https://www.wasilzafar.com/pages/series/tensorflow-mastery/deep-dive-efficientnet.html)
21. [Attention-Enhanced Deep U-Net for Chip Defect Segmentation: Performance and Limitations, ResearchGate](https://www.researchgate.net/publication/400295339_Attention-Enhanced_Deep_U-Net_for_Chip_Defect_Segmentation_Performance_and_Limitations)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Machine learning and neural computation › Neural networks and deep learning › Neural network architectures › Convolutional neural network architectures

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/squeeze-and-excitation-network

English original: https://www.edgepedia.org/squeeze-and-excitation-network
