Skip to main content
QUICK REVIEW

[Paper Review] S$^2$-MLPv2: Improved Spatial-Shift MLP Architecture for Vision

Tan Yu, Li Xu|arXiv (Cornell University)|Aug 2, 2021
Advanced Image and Video Retrieval TechniquesComputer Science28 references30 citations
TL;DR

S2-MLPv2 enhances Spatial-Shift MLP by expanding channels, splitting them with distinct spatial shifts, and fusing via split-attention, achieving 83.6% top-1 on ImageNet-1K with 55M params (no extra data).

ABSTRACT

Recently, MLP-based vision backbones emerge. MLP-based vision architectures with less inductive bias achieve competitive performance in image recognition compared with CNNs and vision Transformers. Among them, spatial-shift MLP (S$^2$-MLP), adopting the straightforward spatial-shift operation, achieves better performance than the pioneering works including MLP-mixer and ResMLP. More recently, using smaller patches with a pyramid structure, Vision Permutator (ViP) and Global Filter Network (GFNet) achieve better performance than S$^2$-MLP. In this paper, we improve the S$^2$-MLP vision backbone. We expand the feature map along the channel dimension and split the expanded feature map into several parts. We conduct different spatial-shift operations on split parts. Meanwhile, we exploit the split-attention operation to fuse these split parts. Moreover, like the counterparts, we adopt smaller-scale patches and use a pyramid structure for boosting the image recognition accuracy. We term the improved spatial-shift MLP vision backbone as S$^2$-MLPv2. Using 55M parameters, our medium-scale model, S$^2$-MLPv2-Medium achieves an $83.6\%$ top-1 accuracy on the ImageNet-1K benchmark using $224 imes 224$ images without self-attention and external training data.

Motivation & Objective

  • Motivate improving MLP-based vision backbones with less inductive bias.
  • Introduce S2-MLPv2 to enhance cross-patch communication via channel expansion and split-attention.
  • Leverage a pyramid structure with smaller patches to boost recognition accuracy.
  • Demonstrate state-of-the-art performance among medium-scale MLP models on ImageNet-1K without extra data.

Proposed method

  • Expand the channel dimension in the S2-MLP block from c to 3c using an MLP.
  • Split the expanded feature map into three parts and apply two asymmetric spatial-shift operations to the first two parts.
  • Fuse the three shifted parts with a split-attention mechanism to produce the output feature.
  • Incorporate a two-level pyramid structure with smaller patches to enhance fine-grained modeling.
  • Use a CM-MLP (channel-mixing MLP) alongside the S2-MLPv2 component in a two-block S2-MLPv2 formulation.

Experimental results

Research questions

  • RQ1Can expanding channels and applying split-attention to differently shifted splits improve cross-patch communication over the original S2-MLP?
  • RQ2Does adopting a pyramid structure with smaller patches boost accuracy for S2-MLPv2 on ImageNet-1K without external data?

Key findings

  • S2-MLPv2-Medium/7 achieves 83.6% Top-1 on ImageNet-1K (224x224) with 55M parameters and 16.3B FLOPs.
  • S2-MLPv2-Small/7 achieves 82.0% Top-1 with 25M parameters and 6.9B FLOPs.
  • The split-attention fusion outperforms simple sum-pooling (82.0% vs 79.8% Top-1 in Small/7).
  • A two-level pyramid with smaller patches improves performance compared to non-pyramid Small/14 configuration (Small/7: 82.0% vs Small/14: 80.9%).
  • Compared to CNNs and vision Transformers, S2-MLPv2-Medium/7 attains comparable accuracy with fewer parameters than many Transformer models.

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.