Multi-layer perceptrons for vision competitive with transformers and CNN

--

Multi-layer perceptrons for vision competitive with transformers and CNN

MLP is all you need… again? … MLP-Mixer: An all-MLP Architecture for Vision
Michal Chromiak blog https://mchromiak.github.io/articles/2021/May/05/MLP-Mixer

MLP-Mixer: An all-MLP Architecture for Vision
arXiv paper PDF https://arxiv.org/abs/2105.01601v1
arXiv PDF paper https://arxiv.org/pdf/2105.01601v1.pdf

A Useful New Image Classification Method That Uses neither CNNs nor Attention
Towards AI https://pub.towardsai.net/a-useful-new-image-classification-method-that-uses-neither-cnns-nor-attention-b0f2952334bf

Is MLP Better Than CNN & Transformers For Computer Vision?
Analytics India Magazine https://analyticsindiamag.com/is-mlp-better-than-cnn-transformers-for-computer-vision

GitHub
rwightman / pytorch-image-models https://github.com/rwightman/pytorch-image-models/blob/master/timm/models/mlp_mixer.py
lucidrains / mlp-mixer-pytorch https://github.com/lucidrains/mlp-mixer-pytorch

… show that while convolutions and attention are both sufficient for good performance, neither of them are necessary.
We present MLP-Mixer, an architecture based exclusively on multi-layer perceptrons (MLPs).
MLP-Mixer contains two types of layers: one with MLPs applied independently to image patches (i.e. “mixing” the per-location features), and one with MLPs applied across patches (i.e. “mixing” spatial information).
When trained on large datasets, or with modern regularization schemes, MLP-Mixer attains competitive scores on image classification benchmarks, with pre-training and inference cost comparable to state-of-the-art models. …

Stay up to date. Subscribe to my posts https://morrislee1234.wixsite.com/website/contact
Web site with my other posts by category https://morrislee1234.wixsite.com/website

LinkedIn https://www.linkedin.com/in/morris-lee-47877b7b

Photo by Preethi Viswanathan on Unsplash

--

--

AI News Clips by Morris Lee: News to help your R&D
AI News Clips by Morris Lee: News to help your R&D

Written by AI News Clips by Morris Lee: News to help your R&D

A computer vision consultant in artificial intelligence and related hitech technologies 37+ years. Am innovator with 66+ patents and ready to help a firm's R&D.

No responses yet