mlsanityData to 7 Oct 2026

NiNformer: A Network in Network Transformer with Token Mixing Generated Gating Function

arXiv 2403.02411 ↗First posted 4 Mar 2024cs.CV cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

The attention mechanism is the primary component of the transformer architecture; it has led to significant advancements in deep learning spanning many domains and covering multiple tasks. In computer vision, the attention mechanism was first incorporated in the Vision Transformer ViT, and then its usage has expanded into many tasks in the vision domain, such as classification, segmentation, object detection, and image generation. While the attention mechanism is very expressive and capable, it comes with the disadvantage of being computationally expensive and requiring datasets of considerable size for effective optimization. To address these shortcomings, many designs have been proposed in the literature to reduce the computational burden and alleviate the data size requirements. Examples of such attempts in the vision domain are the MLP-Mixer, the Conv-Mixer, the Perciver-IO, and many more attempts with different sets of advantages and disadvantages. This paper introduces a new computational block as an alternative to the standard ViT block. The newly proposed block reduces the computational requirements by replacing the normal attention layers with a Network in Network structure, therefore enhancing the static approach of the MLP-Mixer with a dynamic learning of element-wise gating function generated by a token mixing process. Extensive experimentation shows that the proposed design provides better performance than the baseline architectures on multiple datasets applied in the image classification task of the vision domain.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 47 of its 58 references that are in the map. First posted on arXiv 4 Mar 2024.

Builds on

47 of 58 references.

References · 47

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  5. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  6. 2023Segment Anythingcited by 8,158
  7. 2020End-to-End Object Detection with Transformerscited by 7,384
  8. 2020Longformer: The Long-Document Transformercited by 3,362
  9. 2023Mistral 7Bcited by 3,065
  10. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  11. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
  12. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
35 more
  1. 2020Reformer: The Efficient Transformercited by 1,658
  2. 2020Rethinking Attention with Performerscited by 1,584
  3. 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
  4. 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
  5. 2022DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detectioncited by 1,306
  6. 2021Transformers in Vision: A Surveycited by 1,009
  7. 2020Efficient Transformers: A Surveycited by 784
  8. 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 755
  9. 2016Language Modeling with Gated Convolutional Networkscited by 688
  10. 2021Transformer in Transformercited by 632
  11. 2021Perceiver IO: A General Architecture for Structured Inputs & Outputscited by 616
  12. 2019Enhancing the Locality and Breaking the Memory Bottleneck of Transformer on Time Series Forecastingcited by 606
  13. 2013Network In Networkcited by 600
  14. 2021How to train your ViT? Data, Augmentation, and Regularization in Vision Transformerscited by 562
  15. 2022MaxViT: Multi-Axis Vision Transformercited by 476
  16. 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 468
  17. 2022Unified-IO: A Unified Model for Vision, Language, and Multi-Modal Taskscited by 420
  18. 2021A Survey of Transformerscited by 399
  19. 2021Pay Attention to MLPscited by 367
  20. 2019Axial Attention in Multidimensional Transformerscited by 350
  21. 2021FNet: Mixing Tokens with Fourier Transformscited by 343
  22. 2018Generating Wikipedia by Summarizing Long Sequencescited by 333
  23. 2020Sparse Sinkhorn Attentioncited by 250
  24. 2024Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Modelscited by 232
  25. 2021LocalViT: Analyzing Locality in Vision Transformerscited by 228
  26. 2020Synthesizer: Rethinking Self-Attention in Transformer Modelscited by 204
  27. 2022Patches Are All You Need?cited by 201
  28. 2020Funnel-Transformer: Filtering out Sequential Redundancy for Efficient Language Processingcited by 161
  29. 2019Blockwise Self-Attention for Long Document Understandingcited by 158
  30. 2022On The Computational Complexity of Self-Attentioncited by 137
  31. 2020Fast Transformers with Clustered Attentioncited by 123
  32. 2019Star-Transformercited by 94
  33. 2021A Practical Survey on Faster and Lighter Transformerscited by 73
  34. 2021Poolingformer: Long Document Modeling with Pooling Attentioncited by 60
  35. 2020Transformer on a Dietcited by 4

Built on by

Not cited yet.