SpiralMLP: A Lightweight Vision MLP Architecture

Haojie Mu, Burhan Ul Tayyab, Nicholas Chua
3/31/2024
cs.CV

No official code found. Best implementation: kookree/SpiralMLP (4 stars, last commit 2024-12-02).

Abstract

We present SpiralMLP, a novel architecture that introduces a Spiral FC layer as a replacement for the conventional Token Mixing approach. Differing from several existing MLP-based models that primarily emphasize axes, our Spiral FC layer is designed as a deformable convolution layer with spiral-like offsets. We further adapt Spiral FC into two variants: Self-Spiral FC and Cross-Spiral FC, which enable both local and global feature integration seamlessly, eliminating the need for additional processing steps. To thoroughly investigate the effectiveness of the spiral-like offsets and validate our design, we conduct ablation studies and explore optimal configurations. In empirical tests, SpiralMLP reaches state-of-the-art performance, similar to Transformers, CNNs, and other MLPs, benchmarking on ImageNet-1k, COCO and ADE20K. SpiralMLP still maintains linear computational complexity O(HW) and is compatible with varying input image resolutions. Our study reveals that targeting the full receptive field is not essential for achieving high performance, instead, adopting a refined approach offers better results.

View on arXivView PDF

Code Implementations(1)

kookree/SpiralMLPCommunity57%

The official implementation of SpiralMLP: A Lightweight Vision MLP Architecture.

41Cuda, ShellDec 2, 20241 years ago

Similar Papers

Cite this paper

@article{mu2024spiralmlp,
  title  = {SpiralMLP: A Lightweight Vision MLP Architecture},
  author = {Haojie Mu and Burhan Ul Tayyab and Nicholas Chua},
  year   = {2024},
  eprint = {2404.00648},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.00648v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.00648.svg)](https://codeofpaper.com/paper/2404.00648)

Discussion