MABViT -- Modified Attention Block Enhances Vision Transformers
Not on the map. Why?
Abstract (arXiv)
Recent studies have demonstrated the effectiveness of Gated Linear Units (GLU) in enhancing transformer models, particularly in Large Language Models (LLMs). Additionally, utilizing a parallel configuration within each Transformer block rather than the conventional serialized method has been revealed to accelerate the training of LLMs without significantly impacting performance. However, when the MLP and attention block were run in parallel for the image classification task, we observed a noticeable decline in performance. We propose a novel transformer variant that integrates non-linearity within the attention block to tackle this problem. We implemented the GLU-based activation function on the Value tensor, and this new technique surpasses the current state-of-the-art S/16 variant of Vision Transformers by 0.6% on the ImageNet-1K dataset while utilizing fewer parameters. It also supersedes the B/16 variant while using only half the parameters. Furthermore, we provide results with the GELU activation function variant to confirm our assertions. Lastly, we showcase that the MABViT variants exhibit greater potential when utilized in deep transformers compared to the standard architecture.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 13 of its 17 references that are in the map. First posted on arXiv 3 Dec 2023.
Builds on
13 of 17 references.
References · 13
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
- 2020GLU Variants Improve Transformercited by 1,724
- 2020On Layer Normalization in the Transformer Architecturecited by 906
- 2021Going deeper with Image Transformerscited by 759
- 2016Language Modeling with Gated Convolutional Networkscited by 688
- 2020Understanding the Difficulty of Training Transformerscited by 210
- 2021NormFormer: Improved Transformer Pretraining with Extra Normalizationcited by 83
- 2020Talking-Heads Attentioncited by 57
1 more
- 2023ResiDual: Transformer with Dual Residual Connectionscited by 30
Built on by
Citing papers per year: 2024: 1.
1 paper.