Awesome MLP-based Transformers papers
An up-to-date list of Transformers based fully on MLPs without attention!
Why this repo?
After transformers and fully-based attention mechanism models took over most of the deep learning world since 2019, it appears that the power does not come from attention, and indeed replacing the feed-forward network in a transformer by attention performs horrible (~30% top-1 on ImageNet). It appears that Attention is not all we need. After all, we don't need inductive-biased models such as CNNs anymore, and we can lean back on MLPs since (1) we have enough data, (2) We have powerful optimization, regularization and data augmentation techniques. As we saw a big hipe on transformers awesome vision transformer and BERT-related papers, we expect to see a big hipe in fully MLP-based networks without attention, and the research focus is now shited to finding efficient ways of mixing tokens without involving attention mechanisms. This repository aims at gathering and collecting all these kind of papers.
Contributing
Please help in contributing to this list by submitting an issue or a pull request
- Paper Name [[pdf]](link) [[code]](link)
Papers
- MLP-Mixer: An all-MLP Architecture for Vision [pdf] [official code] [code] [code] [code] [Yannic Kilcher Video]
- Do You Even Need Attention? A Stack of Feed-Forward Layers Does Surprisingly Well on ImageNet [pdf] [code]
- ResMLP: Feedforward networks for image classification with data-efficient training [pdf] [code] [code] [code]
- Pay Attention to MLPs [pdf] [code] [code] [code]
- FNet: Mixing Tokens with Fourier Transforms [pdf] [code] [Yannic Kilcher Video]
- Can Attention Enable MLPs To Catch Up With CNNs? [pdf]
- MixerGAN: An MLP-Based Architecture for Unpaired Image-to-Image Translation [pdf]
- On the Bias Against Inductive Biases [pdf]
- S2 MLP: Spatial-Shift MLP Architecture for Vision [pdf]
- Vision Permutator: A Permutable MLP-Like Architecture for Visual Recognition [pdf] [code]
- Rethinking Token-Mixing MLP for MLP-based Vision Backbone [pdf]
- Global Filter Networks for Image Classification [pdf] [code]
- What Makes for Hierarchical Vision Transformer? [pdf]
- As-MLP: An Axial Shifted MLP architecture for Vision [pdf][code]
- CycleMLP: A MLP-like Architecture for Dense Prediction [pdf][code]
- S2 MLPv2: Improved Spatial-Shift MLP Architecture for Vision [pdf]
- RaftMLP: Do MLP-based Models Dream of Winning Over Computer Vision? [pdf] [code]
- Hire-MLP: Vision MLP via Hierarchical Rearrangement [pdf]
- Sparse-MLP: A Fully-MLP Architecture with Conditional Computation [pdf]
- Sparse MLP for Image Recognition: Is Self-Attention Really Necessary? [pdf]
- Patches Are All You Need? [pdf] [code]
- Exploring the Limits of Large Scale Pre-training [pdf]
- Adversarial Robustness Comparison of Vision Transformer and MLP-Mixer to CNNs [pdf] [code]
- Cascaded Cross MLP-Mixer GANs for Cross-View Image Translation [pdf] [code]
- Are We Ready for a New Paradigm Shift? A Survey on Visual Deep MLP [pdf]
- MetaFormer is Actually What You Need for Vision [pdf] [code]
- An Image Patch is a Wave: Phase-Aware Vision MLP [pdf]
- MorphMLP: A Self-Attention Free, MLP-Like Backbone for Image and Video [pdf]
- SWAT: Spatial Structure Within and Among Tokens [pdf]
- MLP Architectures for Vision-and-Language Modeling: An Empirical Study [pdf] [code]
- RepMLPNet: Hierarchical Vision MLP with Re-parameterized Locality [pdf] [code]