EPSANet
A ResNet-style image backbone whose bottleneck blocks use a multi-scale channel attention module.
Image classification · 751 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Image classification
- Parameters
- 22.6M
- Operations
- 751
- Framework
- PyTorch
- Recurrent
- No
- Published
- ACCV 2022
- Cited by
- 423 (as of 29 October 2026)
- Authors
- Hu Zhang, Keke Zu, Jian Lu and others
- Source
- GitHub: murufeng/EPSANet
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m16348
- Graph hash
- ae73b81066f656e8004bf7d300571ec748024df53e7c89d48b5da197fc797b97
- Skeleton hash
- 07ed92b12572af604ff9e2ecdf0131fc4f299d8fd00c62aa6fa01a429bae258e
- Architecture hash
- de5da05f23e489de6f62961d27d2d0dd6d48c648cb3ccc0a7587ececcf226617
- Diagram SHA-256
- 7ca392c62dfc4e21f988b6fc5367c85834c81d33f95b45f8498c576b2f96363d
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
EPSANet is a ResNet-style image backbone built from blocks that carry a channel attention module called Pyramid Squeeze Attention (PSA). Each block, named Efficient Pyramid Squeeze Attention (EPSA), is a ResNet bottleneck block with its 3x3 convolution replaced by the PSA module. The paper's stated motivation is a channel attention mechanism that is both more efficient and more effective.
The PSA module works in four steps. A Squeeze and Concat (SPC) module first produces a multi-scale feature map across channels. Its branches use convolution kernels of different sizes, with group convolution applied so that the larger kernels do not raise the computational cost. An SEWeight module then extracts a channel attention vector from the feature map at each scale. Softmax re-calibrates those vectors, and the re-calibrated weights are multiplied element-wise with the corresponding feature maps.
The paper defines two variations: EPSANet(Small) uses kernel sizes (3,5,7,9) with group sizes (1,4,8,16) in the SPC module, and EPSANet(Large) uses a group size of (32,32,32,32). On ImageNet, the paper reports a Top-1 accuracy 1.93% higher than SENet-50.
Key idea. The paper proposes the Pyramid Squeeze Attention module and places it in ResNet bottleneck blocks in place of the 3x3 convolution to form the EPSANet backbone.
- EPSANet
- Efficient Pyramid Squeeze Attention
- EPSA
- Pyramid Squeeze Attention
- PSA module
- channel attention
- image classification
- vision backbone
- Squeeze and Concat
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{zhang2021epsanetefficientpyramidsqueeze,
title={EPSANet: An Efficient Pyramid Squeeze Attention Block on Convolutional Neural Network},
author={Hu Zhang and Keke Zu and Jian Lu and Yuru Zou and Deyu Meng},
year={2021},
eprint={2105.14447},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2105.14447},
}