mlsanityData to 7 Oct 2026

FFNet: MetaMixer-based Efficient Convolutional Mixer Design

arXiv 2406.02021 ↗First posted 4 Jun 2024cs.CV cs.AI cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Transformer, composed of self-attention and Feed-Forward Network, has revolutionized the landscape of network design across various vision tasks. While self-attention is extensively explored as a key factor in performance, FFN has received little attention. FFN is a versatile operator seamlessly integrated into nearly all AI models to effectively harness rich representations. Recent works also show that FFN functions like key-value memories. Thus, akin to the query-key-value mechanism within self-attention, FFN can be viewed as a memory network, where the input serves as query and the two projection weights operate as keys and values, respectively. Based on these observations, we hypothesize that the importance lies in query-key-value framework itself for competitive performance. To verify this, we propose converting self-attention into a more FFN-like efficient token mixer with only convolutions while retaining query-key-value framework, namely FFNification. Specifically, FFNification replaces query-key-value interactions with large kernel convolutions and adopts GELU activation function instead of softmax. The derived token mixer, FFNified attention, serves as key-value memories for detecting locally distributed spatial patterns, and operates in the opposite dimension to the ConvNeXt block within each corresponding sub-operation of the query-key-value framework. Building upon the above two modules, we present a family of Fast-Forward Networks (FFNet). Despite being composed of only simple operators, FFNet outperforms sophisticated and highly specialized methods in each domain, with notable efficiency gains. These results validate our hypothesis, leading us to propose MetaMixer, a general mixer architecture that does not specify sub-operations within the query-key-value framework.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 109 of its 132 references that are in the map. First posted on arXiv 4 Jun 2024.

Builds on

109 of 132 references.

References · 109

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
  5. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  6. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  7. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  8. 2020End-to-End Object Detection with Transformerscited by 7,384
  9. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
  10. 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
  11. 2022Scalable Diffusion Models with Transformerscited by 5,931
  12. 2022Classifier-Free Diffusion Guidancecited by 5,717
38 more
  1. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  2. 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,427
  3. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  4. 2022A ConvNet for the 2020scited by 3,545
  5. 2016Gaussian Error Linear Units (GELUs)cited by 3,431
  6. 2017ScanNet: Richly-annotated 3D Reconstructions of Indoor Scenescited by 3,088
  7. 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,923
  8. 2022Locating and Editing Factual Associations in GPTcited by 2,609
  9. 2016Pyramid Scene Parsing Networkcited by 2,472
  10. 2020Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecastingcited by 2,141
  11. 2022A Time Series is Worth 64 Words: Long-term Forecasting with Transformerscited by 1,981
  12. 2021SwinIR: Image Restoration Using Swin Transformercited by 1,869
  13. 2021Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecastingcited by 1,654
  14. 2017Enhanced Deep Residual Networks for Single Image Super-Resolutioncited by 1,543
  15. 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
  16. 2019MMDetection: Open MMLab Detection Toolbox and Benchmarkcited by 1,379
  17. 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,368
  18. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
  19. 2017Cascade R-CNN: Delving into High Quality Object Detectioncited by 1,275
  20. 2018Unified Perceptual Parsing for Scene Understandingcited by 1,265
  21. 2018Image Super-Resolution Using Very Deep Residual Channel Attention Networkscited by 1,256
  22. 2016Real-Time Single Image and Video Super-Resolution Using an Efficient Sub-Pixel Convolutional Neural Networkcited by 1,199
  23. 2021Per-Pixel Classification is Not All You Need for Semantic Segmentationcited by 1,148
  24. 2021EfficientNetV2: Smaller Models and Faster Trainingcited by 1,127
  25. 2022TimesNet: Temporal 2D-Variation Modeling for General Time Series Analysiscited by 1,030
  26. 2020Designing Network Design Spacescited by 954
  27. 2023iTransformer: Inverted Transformers Are Effective for Time Series Forecastingcited by 906
  28. 2015Accurate Image Super-Resolution Using Very Deep Convolutional Networkscited by 902
  29. 2023Vision Transformers Need Registerscited by 844
  30. 2021Going deeper with Image Transformerscited by 759
  31. 20173D Semantic Segmentation with Submanifold Sparse Convolutional Networkscited by 746
  32. 2021MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformercited by 636
  33. 2021Knowledge Neurons in Pretrained Transformerscited by 590
  34. 2023Point Transformer V3: Simpler, Faster, Strongercited by 579
  35. 2021MetaFormer Is Actually What You Need for Visioncited by 523
  36. 2021RepVGG: Making VGG-style ConvNets Great Againcited by 520
  37. 2022All are Worth Words: A ViT Backbone for Diffusion Modelscited by 498
  38. 2022MaxViT: Multi-Axis Vision Transformercited by 476

50 most cited of 109 All 109 (JSON)

Built on by

Cited by year

Citing papers per year: 2024: 1.

1 paper.