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