Skip to main content
QUICK REVIEW

[Paper Review] IncepFormer: Efficient Inception Transformer with Pyramid Pooling for Semantic Segmentation

Lihua Fu, Haoyue Tian|arXiv (Cornell University)|Dec 6, 2022
Advanced Neural Network ApplicationsComputer Science5 citations
TL;DR

IncepFormer proposes a novel, efficient Transformer-based architecture for semantic segmentation that integrates an inception-like multi-scale self-attention mechanism with pyramid pooling to capture global context and fine-grained localization simultaneously. It achieves state-of-the-art performance with 47.7% mIoU on ADE20K and 82.0% on Cityscapes, outperforming prior methods while using only half the parameters and fewer FLOPs.

ABSTRACT

Semantic segmentation usually benefits from global contexts, fine localisation information, multi-scale features, etc. To advance Transformer-based segmenters with these aspects, we present a simple yet powerful semantic segmentation architecture, termed as IncepFormer. IncepFormer has two critical contributions as following. First, it introduces a novel pyramid structured Transformer encoder which harvests global context and fine localisation features simultaneously. These features are concatenated and fed into a convolution layer for final per-pixel prediction. Second, IncepFormer integrates an Inception-like architecture with depth-wise convolutions, and a light-weight feed-forward module in each self-attention layer, efficiently obtaining rich local multi-scale object features. Extensive experiments on five benchmarks show that our IncepFormer is superior to state-of-the-art methods in both accuracy and speed, e.g., 1) our IncepFormer-S achieves 47.7% mIoU on ADE20K which outperforms the existing best method by 1% while only costs half parameters and fewer FLOPs. 2) Our IncepFormer-B finally achieves 82.0% mIoU on Cityscapes dataset with 39.6M parameters. Code is available:github.com/shendu0321/IncepFormer.

Motivation & Objective

  • To address the limitations of standard Transformers in semantic segmentation, particularly high computational cost and insufficient multi-scale feature modeling.
  • To improve feature representation by integrating inductive bias from convolution and pooling into self-attention for better local and global context learning.
  • To design a lightweight, efficient decoder that effectively fuses multi-scale features from different encoder stages for high-resolution prediction.
  • To achieve a superior balance between model accuracy, parameter count, and computational efficiency across multiple benchmarks.

Proposed method

  • Introduces Inception Multi-Head Self-Attention (Incep-MHSA), which combines depth-wise convolutions with multi-scale kernel sizes and pooling to enhance receptive field flexibility and inductive bias.
  • Replaces standard position embeddings with BatchNorm and uses a lightweight feed-forward network (E-FFN) to reduce computational cost and improve 2D spatial modeling.
  • Employs a pyramid-structured encoder that captures multi-scale features both across stages and within each self-attention layer via an inception-like design.
  • Proposes a lightweight Upsample-Concat decoder that concatenates features from multiple encoder stages after upsampling, enabling efficient fusion of local and global context.
  • Uses a simple, end-to-end training paradigm with no positional embeddings, relying on spatial inductive bias from convolutions and normalization layers.
  • Scales the architecture into three variants (T, S, B) for efficiency and performance trade-offs, suitable for diverse deployment scenarios.

Experimental results

Research questions

  • RQ1Can a Transformer-based encoder with inductive bias from convolution and pooling achieve better feature representation in semantic segmentation?
  • RQ2How can multi-scale feature learning be enhanced both across and within Transformer layers to improve object localization and context modeling?
  • RQ3Can a lightweight decoder effectively fuse multi-scale features from different stages without increasing computational cost?
  • RQ4Does integrating pyramid pooling and inception-style modules into self-attention lead to better accuracy and efficiency trade-offs compared to standard Transformers?
  • RQ5Can the proposed architecture achieve state-of-the-art performance with significantly fewer parameters and FLOPs than existing methods?

Key findings

  • IncepFormer-S achieves 47.7% mIoU on ADE20K, outperforming the previous SOTA by 1% while using only half the parameters and fewer FLOPs.
  • IncepFormer-B achieves 82.0% mIoU on Cityscapes with 39.6M parameters, surpassing HRNet-OCR (56.2%) on Pascal Context with fewer parameters and FLOPs.
  • IncepFormer-S outperforms SegFormer-B2 by 0.6% mIoU on Cityscapes while reducing computational cost by 88.5% (83.2G vs. 717.1G FLOPs).
  • The proposed Upsample-Concat decoder improves mIoU by 0.2% over SegFormer-style decoders, demonstrating the effectiveness of feature fusion across stages.
  • On ADE20K, IncepFormer achieves the best performance-parameter trade-off, outperforming Swin Transformer, SETR, and SegFormer in both accuracy and efficiency.
  • Qualitative results show that IncepFormer produces sharper and more accurate segmentation masks than SegFormer, especially in complex urban scenes.

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.