Methods › Computer Vision › Feature Extractors › Spatial Attention Module (ThunderNet)

Spatial Attention Module (ThunderNet)

4 papers tagged archive 2025-07-28

Introduced by Zheng Qin et al. in ThunderNet: Towards Real-time Generic Object Detection

archive 2025-07-28 Description, source and code snippet are the archive's method entry.

Spatial Attention Module (SAM) is a feature extraction module for object detection used in ThunderNet.

The ThunderNet SAM explicitly re-weights the feature map before RoI warping over the spatial dimensions. The key idea of SAM is to use the knowledge from RPN to refine the feature distribution of the feature map. RPN is trained to recognize foreground regions under the supervision of ground truths. Therefore, the intermediate features in RPN can be used to distinguish foreground features from background features. SAM accepts two inputs: the intermediate feature map from RPN ℱᴿᴾᴺ and the thin feature map from the Context Enhancement Module ℱ^(CEM). The output of SAM ℱ^(SAM) is defined as:

ℱ^(SAM) = ℱ^(CEM) * sigmoid(θ(ℱᴿᴾᴺ))

Here θ(·) is a dimension transformation to match the number of channels in both feature maps. The sigmoid function is used to constrain the values within [0, 1]. At last, ℱ^(CEM) is re-weighted by the generated feature map for better feature distribution. For computational efficiency, we simply apply a 1×1 convolution as θ(·), so the computational cost of CEM is negligible. The Figure to the right shows the structure of SAM.

SAM has two functions. The first one is to refine the feature distribution by strengthening foreground features and suppressing background features. The second one is to stabilize the training of RPN as SAM enables extra gradient flow from R-CNN subnet to RPN. As a result, RPN receives additional supervision from RCNN subnet, which helps the training of RPN.

PaperSourceSee Code · ouyanghuiyu/Thundernet_Pytorch

Papers archive 2025-07-28

4 shown of 4, newest first. Repository counts are the archive's code-links table. A Syntology line states what Syntology ran from that paper's harvested code; it is per sample and not a correctness claim.

Tasks archive 2025-07-28

6 tasks the archive attaches to papers tagged with this method, by distinct papers. A task without a page in the catalog is plain text.

TaskPapers
Mixed Reality2
Object Detection2
Segmentation2
Semantic Segmentation2
object-detection2
Object1

Usage over time archive 2025-07-28

Papers per year tagged with Spatial Attention Module (ThunderNet): 2019 to 2022, peak 2 2 0 2019: 2 papers 2019 2020: 1 paper 2020 2021: 0 papers 2021 2022: 1 paper 2022
Papers per year the archive tags with this method, by the paper's archive date (4 dated). Bars are counts, not a trend claim.

Components: the archive holds no method-to-method composition, so PwC's Components table cannot be rebuilt; the Papers list carries no Results column for the same reason (the archive does not join its leaderboard rows to method tags).

Categories archive 2025-07-28

Feature Extractors

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections