mlsanityData to 14 Oct 2026

Activator: GLU Activation Function as the Core Component of a Vision Transformer

arXiv 2405.15953 ↗First posted 24 May 2024cs.CVcited by 0

Not on the map. Why?

Abstract (arXiv)

The transformer architecture has driven many successes in a variety of tasks within the field of deep learning, in particular the recent advances in natural language processing (NLP) culminating with large language models (LLM). Adding to that success, transformer architecture has found widespread interest from computer vision (CV) researchers and practitioners, allowing for many advancements in vision-related tasks and opening the door for multitask and multi-modal deep learning architectures that share the same principle of operation. One drawback to these architectures is their reliance on the scaled dot product attention mechanism with the softmax activation function, which is computationally expensive and requires large compute capabilities for both training and inference. This paper investigates substituting the MLP and attention mechanism usually adopted for transformer architecture with an architecture based on incorporating a gated linear unit (GLU) activation function structure with the aim of reducing the computational cost. The equalized experimental assessments conducted in this work show that the proposed modification with the targeted reductions in computational complexity offers competitive performance compared to the selected baseline architectures. The results are significantly in support of the aims of this work, in which the focus was to extensively utilize GLU-based MLPs, establishing a more efficient but capable alternative to the traditional MLP and the attention mechanism as the core component in the design of transformer architectures.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 44 of its 54 references that are in the map. First posted on arXiv 24 May 2024.

Builds on

44 of 54 references.

References · 44

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  5. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  6. 2020End-to-End Object Detection with Transformerscited by 7,414
  7. 2020Longformer: The Long-Document Transformercited by 3,413
  8. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  9. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
  10. 2020GLU Variants Improve Transformercited by 1,804
  11. 2020Big Bird: Transformers for Longer Sequencescited by 1,684
  12. 2020Reformer: The Efficient Transformercited by 1,668
32 more
  1. 2020Rethinking Attention with Performerscited by 1,601
  2. 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
  3. 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,446
  4. 2022DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detectioncited by 1,319
  5. 2021Transformers in Vision: A Surveycited by 1,013
  6. 2020Efficient Transformers: A Surveycited by 790
  7. 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 763
  8. 2016Language Modeling with Gated Convolutional Networkscited by 702
  9. 2021Transformer in Transformercited by 633
  10. 2021Perceiver IO: A General Architecture for Structured Inputs & Outputscited by 629
  11. 2019Enhancing the Locality and Breaking the Memory Bottleneck of Transformer on Time Series Forecastingcited by 607
  12. 2021How to train your ViT? Data, Augmentation, and Regularization in Vision Transformerscited by 569
  13. 2022MaxViT: Multi-Axis Vision Transformercited by 476
  14. 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 471
  15. 2022Unified-IO: A Unified Model for Vision, Language, and Multi-Modal Taskscited by 421
  16. 2021A Survey of Transformerscited by 401
  17. 2021Pay Attention to MLPscited by 368
  18. 2019Axial Attention in Multidimensional Transformerscited by 358
  19. 2021FNet: Mixing Tokens with Fourier Transformscited by 347
  20. 2018Generating Wikipedia by Summarizing Long Sequencescited by 335
  21. 2020Sparse Sinkhorn Attentioncited by 251
  22. 2024Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Modelscited by 242
  23. 2020Synthesizer: Rethinking Self-Attention in Transformer Modelscited by 205
  24. 2022Patches Are All You Need?cited by 201
  25. 2020Funnel-Transformer: Filtering out Sequential Redundancy for Efficient Language Processingcited by 162
  26. 2019Blockwise Self-Attention for Long Document Understandingcited by 159
  27. 2020Fast Transformers with Clustered Attentioncited by 123
  28. 2019Star-Transformercited by 94
  29. 2021A Practical Survey on Faster and Lighter Transformerscited by 73
  30. 2021Poolingformer: Long Document Modeling with Pooling Attentioncited by 60
  31. 2020Transformer on a Dietcited by 4
  32. 2023MABViT -- Modified Attention Block Enhances Vision Transformerscited by 1

Built on by

Not cited yet.