A Spatial Attention-Guided Mask is a module for instance segmentation that predicts a segmentation mask on each detected box with a spatial attention map that helps to focus on informative pixels and suppress noise. The goal is to guide the mask head for spotlighting meaningful pixels and repressing uninformative ones.
Once features inside the predicted RoIs are extracted by RoIAlign with 14×14 resolution, those features are fed into four conv layers and the spatial attention module (SAM) sequentially. To exploit the spatial attention map $A_{sag}\left(X_{i}\right) \in \mathcal{R}^{1\times{W}\times{H}}$ as a feature descriptor given input feature map $X_{i} \in \mathcal{R}^{C×W×H}$, the SAM first generates pooled features $P_{avg}, P_{max} \in \mathcal{R}^{1\times{W}\times{H}}$ by both average and max pooling operations respectively along the channel axis and aggregates them via concatenation. Then it is followed by a 3 × 3 conv layer and normalized by the sigmoid function. The computation process is summarized as follow:
$$ A_{sag}\left(X_{i}\right) = \sigma\left(F_{3\times{3}}(P_{max} \cdot P_{avg})\right) $$
where $\sigma$ denotes the sigmoid function, $F_{3\times{3}}$ is 3 × 3 conv layer and $\cdot$ represents the concatenate operation. Finally, the attention guided feature map $X_{sag} ∈ \mathcal{R}^{C\times{W}\times{H}}$ is computed as:
$$ X_{sag} = A_{sag}\left(X_{i}\right) \otimes X_{i} $$
where ⊗ denotes element-wise multiplication. After then, a 2 × 2 deconv upsamples the spatially attended feature map to 28 × 28 resolution. Lastly, a 1 × 1 conv is applied for predicting class-specific masks.
Source:PAPER | DATE |
---|---|
CenterMask: single shot instance segmentation with point representation
• • • • |
2020-04-09 |
SA-UNet: Spatial Attention U-Net for Retinal Vessel Segmentation
|
2020-04-07 |
Learning Oracle Attention for High-fidelity Face Completion
• • • • |
2020-03-31 |
Context-Aware Domain Adaptation in Semantic Segmentation
• • • • |
2020-03-09 |
CenterMask : Real-Time Anchor-Free Instance Segmentation
|
2019-11-15 |
TASK | PAPERS | SHARE |
---|---|---|
Semantic Segmentation | 3 | 23.08% |
Instance Segmentation | 2 | 15.38% |
Retinal Vessel Segmentation | 1 | 7.69% |
Facial Inpainting | 1 | 7.69% |
Domain Adaptation | 1 | 7.69% |
Unsupervised Domain Adaptation | 1 | 7.69% |
Object Detection | 1 | 7.69% |
Panoptic Segmentation | 1 | 7.69% |
Real-time Instance Segmentation | 1 | 7.69% |
COMPONENT | TYPE |
|
---|---|---|
![]() |
Pooling Operations | |
![]() |
Skip Connections | |
![]() |
Convolutions | |
![]() |
Pooling Operations | |
![]() |
Activation Functions |