mlsanityData to 7 Oct 2026

Toward a Deeper Understanding: RetNet Viewed through Convolution

arXiv 2309.05375 ↗First posted 11 Sep 2023cs.CVcited by 1

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  5. 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,617
  6. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  7. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
  8. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
  9. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
  10. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
  11. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
  12. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
35 more
  1. 2020Longformer: The Long-Document Transformercited by 3,362
  2. 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
  3. 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,360
  4. 2021Masked-attention Mask Transformer for Universal Image Segmentationcited by 2,338
  5. 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
  6. 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
  7. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  8. 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,610
  9. 2017Random Erasing Data Augmentationcited by 1,235
  10. 2018Self-Attention with Relative Position Representationscited by 1,112
  11. 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
  12. 2016Deep Networks with Stochastic Depthcited by 973
  13. 2019Adversarial Examples Are Not Bugs, They Are Featurescited by 950
  14. 2021CvT: Introducing Convolutions to Vision Transformerscited by 946
  15. 2021Going deeper with Image Transformerscited by 759
  16. 2021PVT v2: Improved Baselines with Pyramid Vision Transformercited by 749
  17. 2022Exploring Plain Vision Transformer Backbones for Object Detectioncited by 723
  18. 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 594
  19. 2021Rethinking Spatial Dimensions of Vision Transformerscited by 361
  20. 2021Medical Transformer: Gated Axial-Attention for Medical Image Segmentationcited by 319
  21. 2019On the Relationship between Self-Attention and Convolutional Layerscited by 299
  22. 2021DeepViT: Towards Deeper Vision Transformercited by 288
  23. 2021Escaping the Big Data Paradigm with Compact Transformerscited by 261
  24. 2021Vision Transformer for Small-Size Datasetscited by 122
  25. 2021Self-Supervised Learning with Swin Transformerscited by 121
  26. 2021MST: Masked Self-Supervised Transformer for Visual Representationcited by 114
  27. 2021Efficient Training of Visual Transformers with Small Datasetscited by 107
  28. 2022Toward Next-Generation Artificial Intelligence: Catalyzing the NeuroAI Revolutioncited by 78
  29. 2021Vision Transformers with Patch Diversificationcited by 45
  30. 2021Refiner: Refining Self-attention for Vision Transformerscited by 38
  31. 2019T-GSA: Transformer with Gaussian-weighted self-attention for speech enhancementcited by 34
  32. 2022Locality Guidance for Improving Vision Transformers on Tiny Datasetscited by 33
  33. 2018Self-Attentional Acoustic Modelscited by 29
  34. 2021Mask Attention Networks: Rethinking and Strengthen Transformercited by 28
  35. 2023Visual Atoms: Pre-training Vision Transformers with Sinusoidal Wavescited by 20

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.