An up-to-date list of fully MLPs without attention!
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.
Please help in contributing to this list by submitting an issue or a pull request
- Paper Name [[pdf]](link) [[code]](link)
- [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]
- [GFNet] 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]
- [Wave-MLP] An Image Patch is a Wave: Phase-Aware Vision MLP [pdf] [code]
- [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]
- [MAXIM] Multi-Axis MLP for Image Processing [pdf] [code]
- [ShiftViT] An Extremely Simple Alternative to Attention Mechanism [pdf] [code]
- Mixing and Shifting: Exploiting Global and Local Dependencies in Vision MLPs [pdf] [code]
- Efficient Language Modeling with Sparse all-MLP [pdf]
- [ActiveMLP] An MLP-like Architecture with Active Token Mixer [pdf] [code]
- Brain-inspired Multilayer Perceptron with Spiking Neurons [pdf] [code]
- [DynaMixer] A Vision MLP Architecture with Dynamic Mixing [pdf]
- Boosting Adversarial Transferability of MLP-Mixer [pdf]
- [PoolFormer] MetaFormer is Actually What You Need for Vision [pdf] [code]
- [Sequencer] Deep LSTM for Image Classification [pdf]
- [Sparse Mixers] Combining MoE and Mixing to build a more efficient BERT [pdf] [code]
- [MLP-3D] A MLP-like 3D Architecture with Grouped Time Mixing [pdf]
- [ShuffleMixer] An Efficient ConvNet for Image Super-Resolution [pdf] [code]
- [STD] Spatial-Channel Token Distillation for Vision MLPs [pdf] [code]
- [AFNO] Adaptive Fourier Neural Operators: Efficient Token Mixers for Transformers [pdf] [code]
- [Graph-MLPMixer] A Generalization of ViT/MLP-Mixer to Graphs [pdf] [code]
- [ChordMixer] A Scalable Neural Attention Model for Sequences with Different Lengths [pdf] [code]
- [Strip-MLP] Efficient Token Interaction for Vision MLP [pdf] [code]
- Scaling MLPs: A Tale of Inductive Bias [pdf] [code]
- [MixVPR] Feature Mixing for Visual Place Recognition [pdf] [code]
- [pNLP-Mixer] An Efficient all-MLP Architecture for Language [pdf] [code]