Skip to main content
QUICK REVIEW

[Paper Review] Squeeze-and-Attention Networks for Semantic Segmentation

Zilong Zhong, Zhong Qiu Lin|arXiv (Cornell University)|Sep 8, 2019
Advanced Neural Network ApplicationsComputer Science44 references20 citations
TL;DR

This paper proposes Squeeze-and-Attention Networks (SANet), a novel semantic segmentation architecture that disentangles segmentation into pixel-wise prediction and pixel-group attention. By introducing a squeeze-and-attention (SA) module that learns spatial-channel dependencies through non-local, downsampled attention maps, SANet improves feature representation without heavy dilated convolutions, achieving 83.2% mIoU on PASCAL VOC and 54.4% on PASCAL Context without COCO pretraining.

ABSTRACT

The recent integration of attention mechanisms into segmentation networks improves their representational capabilities through a great emphasis on more informative features. However, these attention mechanisms ignore an implicit sub-task of semantic segmentation and are constrained by the grid structure of convolution kernels. In this paper, we propose a novel squeeze-and-attention network (SANet) architecture that leverages an effective squeeze-and-attention (SA) module to account for two distinctive characteristics of segmentation: i) pixel-group attention, and ii) pixel-wise prediction. Specifically, the proposed SA modules impose pixel-group attention on conventional convolution by introducing an 'attention' convolutional channel, thus taking into account spatial-channel inter-dependencies in an efficient manner. The final segmentation results are produced by merging outputs from four hierarchical stages of a SANet to integrate multi-scale contexts for obtaining an enhanced pixel-wise prediction. Empirical experiments on two challenging public datasets validate the effectiveness of the proposed SANets, which achieves 83.2% mIoU (without COCO pre-training) on PASCAL VOC and a state-of-the-art mIoU of 54.4% on PASCAL Context.

Motivation & Objective

  • To address the largely overlooked sub-task of pixel grouping in semantic segmentation, which complements pixel-wise prediction.
  • To overcome the limitations of grid-structured convolutional kernels that restrict spatial feature learning.
  • To design an efficient attention mechanism that captures non-local spatial dependencies without relying on heavy dilated convolutions.
  • To integrate multi-scale contextual features across hierarchical stages for improved dense prediction.
  • To develop a lightweight yet powerful segmentation network that generalizes well across benchmarks.

Proposed method

  • Proposes a squeeze-and-attention (SA) module that uses average pooling to downsample feature maps, preserving spatial structure while generating attention masks.
  • Introduces an attention convolution to produce learnable weights that recalibrate feature channels based on spatial and channel-wise dependencies.
  • Integrates SA modules as head units in a multi-stage network, applying them to outputs from four hierarchical backbone stages.
  • Uses dilated ResNet and EfficientNet as backbones to leverage strong feature extraction capacity.
  • Aggregates multi-scale features from SA modules to enhance object boundary detection and scene parsing.
  • Employs a simple yet effective architecture that avoids complex modules like those in EncNet, reducing computational cost while maintaining performance.

Experimental results

Research questions

  • RQ1Can semantic segmentation be effectively decomposed into two independent sub-tasks: pixel-wise prediction and pixel-group attention?
  • RQ2How can attention mechanisms be designed to capture non-local spatial dependencies without relying on dilated convolutions?
  • RQ3Can a lightweight attention module improve segmentation performance while reducing model complexity?
  • RQ4Does integrating multi-scale features through hierarchical SA modules lead to better boundary and context understanding?
  • RQ5Can the proposed SANet achieve state-of-the-art performance on challenging benchmarks without COCO pretraining?

Key findings

  • SANet achieves 83.2% mIoU on PASCAL VOC 2012 without COCO pretraining, outperforming previous models including RefineNet and PSPNet.
  • On PASCAL Context, SANet achieves a state-of-the-art mIoU of 54.4%, demonstrating strong generalization on long-tail and complex scenes.
  • The model achieves 86.1% mIoU with COCO pretraining, matching top-performing models like PSPNet and outperforming RefineNet despite using a lighter ResNet101 backbone.
  • SANet uses only 55.5M parameters and 204.7G MACs, significantly fewer than heavy models like SDN (238.5M params), while achieving higher mIoU than several larger models.
  • Qualitative results show that SANet produces sharper object boundaries and more accurate parsing than baseline FCN and other models.
  • The SA module is computationally efficient and effective, outperforming the encoding module of EncNet in both accuracy and parameter efficiency.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.