HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

CycleMLP: A MLP-like Architecture for Dense Prediction

Shoufa Chen Enze Xie Chongjian Ge Runjian Chen Ding Liang Ping Luo

CycleMLP: A MLP-like Architecture for Dense Prediction

Abstract

This paper presents a simple MLP-like architecture, CycleMLP, which is a versatile backbone for visual recognition and dense predictions. As compared to modern MLP architectures, e.g., MLP-Mixer, ResMLP, and gMLP, whose architectures are correlated to image size and thus are infeasible in object detection and segmentation, CycleMLP has two advantages compared to modern approaches. (1) It can cope with various image sizes. (2) It achieves linear computational complexity to image size by using local windows. In contrast, previous MLPs have $O(N^2)$ computations due to fully spatial connections. We build a family of models which surpass existing MLPs and even state-of-the-art Transformer-based models, e.g., Swin Transformer, while using fewer parameters and FLOPs. We expand the MLP-like models' applicability, making them a versatile backbone for dense prediction tasks. CycleMLP achieves competitive results on object detection, instance segmentation, and semantic segmentation. In particular, CycleMLP-Tiny outperforms Swin-Tiny by 1.3% mIoU on ADE20K dataset with fewer FLOPs. Moreover, CycleMLP also shows excellent zero-shot robustness on ImageNet-C dataset. Code is available at https://github.com/ShoufaChen/CycleMLP.

Code Repositories

BR-IDL/PaddleViT
paddle
Mentioned in GitHub
liuruiyang98/Jittor-MLP
jax
Mentioned in GitHub
flytocc/CycleMLP-paddle
paddle
Mentioned in GitHub
shier1/CycleMLP-paddle
paddle
Mentioned in GitHub
Ahmad-Omar-Ahsan/CycleMLP
pytorch
Mentioned in GitHub
revsic/tf-mlptts
tf
Mentioned in GitHub
ShoufaChen/CycleMLP
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
image-classification-on-imagenetCycleMLP-B5
GFLOPs: 12.3
Number of params: 76M
Top 1 Accuracy: 83.2%
semantic-segmentation-on-densepassCycleMLP (MiT-B1)
mIoU: 40.16%

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
CycleMLP: A MLP-like Architecture for Dense Prediction | Papers | HyperAI