Toward a Deeper Understanding: RetNet Viewed through Convolution
Not on the map. Why?
Abstract (arXiv)
The success of Vision Transformer (ViT) has been widely reported on a wide range of image recognition tasks. ViT can learn global dependencies superior to CNN, yet CNN's inherent locality can substitute for expensive training resources. Recently, the outstanding performance of RetNet in the field of language modeling has garnered attention, surpassing that of the Transformer with explicit local modeling, shifting researchers' focus towards Transformers in the CV field. This paper investigates the effectiveness of RetNet from a CNN perspective and presents a variant of RetNet tailored to the visual domain. Similar to RetNet we improves ViT's local modeling by applying a weight mask on the original self-attention matrix. A straightforward way to locally adapt the self-attention matrix can be realized by an element-wise learnable weight mask (ELM), for which our preliminary results show promising results. However, the element-wise simple learnable weight mask not only induces a non-trivial additional parameter overhead but also increases the optimization complexity. To this end, this work proposes a novel Gaussian mixture mask (GMM) in which one mask only has two learnable parameters and it can be conveniently used in any ViT variants whose attention mechanism allows the use of masks. Experimental results on multiple small datasets demonstrate that the effectiveness of our proposed Gaussian mask for boosting ViTs for free (almost zero additional parameter or computation cost). Our code can be publicly available at https://github.com/CatworldLee/Gaussian-Mixture-Mask-Attention.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 47 of its 68 references that are in the map. First posted on arXiv 11 Sep 2023.
Builds on
47 of 68 references.
References · 47
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,617
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
35 more
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
- 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,360
- 2021Masked-attention Mask Transformer for Universal Image Segmentationcited by 2,338
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
- 2020Big Bird: Transformers for Longer Sequencescited by 1,673
- 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,610
- 2017Random Erasing Data Augmentationcited by 1,235
- 2018Self-Attention with Relative Position Representationscited by 1,112
- 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
- 2016Deep Networks with Stochastic Depthcited by 973
- 2019Adversarial Examples Are Not Bugs, They Are Featurescited by 950
- 2021CvT: Introducing Convolutions to Vision Transformerscited by 946
- 2021Going deeper with Image Transformerscited by 759
- 2021PVT v2: Improved Baselines with Pyramid Vision Transformercited by 749
- 2022Exploring Plain Vision Transformer Backbones for Object Detectioncited by 723
- 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 594
- 2021Rethinking Spatial Dimensions of Vision Transformerscited by 361
- 2021Medical Transformer: Gated Axial-Attention for Medical Image Segmentationcited by 319
- 2019On the Relationship between Self-Attention and Convolutional Layerscited by 299
- 2021DeepViT: Towards Deeper Vision Transformercited by 288
- 2021Escaping the Big Data Paradigm with Compact Transformerscited by 261
- 2021Vision Transformer for Small-Size Datasetscited by 122
- 2021Self-Supervised Learning with Swin Transformerscited by 121
- 2021MST: Masked Self-Supervised Transformer for Visual Representationcited by 114
- 2021Efficient Training of Visual Transformers with Small Datasetscited by 107
- 2022Toward Next-Generation Artificial Intelligence: Catalyzing the NeuroAI Revolutioncited by 78
- 2021Vision Transformers with Patch Diversificationcited by 45
- 2021Refiner: Refining Self-attention for Vision Transformerscited by 38
- 2019T-GSA: Transformer with Gaussian-weighted self-attention for speech enhancementcited by 34
- 2022Locality Guidance for Improving Vision Transformers on Tiny Datasetscited by 33
- 2018Self-Attentional Acoustic Modelscited by 29
- 2021Mask Attention Networks: Rethinking and Strengthen Transformercited by 28
- 2023Visual Atoms: Pre-training Vision Transformers with Sinusoidal Wavescited by 20
Built on by
Citing papers per year: 2025: 1.
1 paper.
- 2025Vision Transformer for Transient Noise Classificationcited by 0
- 2025Vision Transformer for Transient Noise Classification6 Oct 2025