ViR: Towards Efficient Vision Retention Backbones
Not on the map. Why?
Abstract (arXiv)
Vision Transformers (ViTs) have attracted a lot of popularity in recent years, due to their exceptional capabilities in modeling long-range spatial dependencies and scalability for large scale training. Although the training parallelism of self-attention mechanism plays an important role in retaining great performance, its quadratic complexity baffles the application of ViTs in many scenarios which demand fast inference. This effect is even more pronounced in applications in which autoregressive modeling of input features is required. In Natural Language Processing (NLP), a new stream of efforts has proposed parallelizable models with recurrent formulation that allows for efficient inference in generative applications. Inspired by this trend, we propose a new class of computer vision models, dubbed Vision Retention Networks (ViR), with dual parallel and recurrent formulations, which strike an optimal balance between fast inference and parallel training with competitive performance. In particular, ViR scales favorably for image throughput and memory consumption in tasks that require higher-resolution images due to its flexible formulation in processing large sequence lengths. The ViR is the first attempt to realize dual parallel and recurrent equivalency in a general vision backbone for recognition tasks. We have validated the effectiveness of ViR through extensive experiments with different dataset sizes and various image resolutions and achieved competitive performance. Code: https://github.com/NVlabs/ViR
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 49 of its 56 references that are in the map. First posted on arXiv 30 Oct 2023.
Builds on
49 of 56 references.
References · 49
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2017Mask R-CNNcited by 7,277
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,005
- 2016Layer Normalizationcited by 5,669
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
- 2022A ConvNet for the 2020scited by 3,579
- 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,546
37 more
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,962
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
- 2018Unified Perceptual Parsing for Scene Understandingcited by 1,271
- 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,228
- 2021EfficientNetV2: Smaller Models and Faster Trainingcited by 1,135
- 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,101
- 2022MaskGIT: Masked Generative Image Transformercited by 1,099
- 2020Designing Network Design Spacescited by 960
- 2021CvT: Introducing Convolutions to Vision Transformerscited by 947
- 2016Conditional Image Generation with PixelCNN Decoderscited by 862
- 2023RWKV: Reinventing RNNs for the Transformer Eracited by 827
- 2016Pixel Recurrent Neural Networkscited by 816
- 2021CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classificationcited by 806
- 2018Image Transformercited by 772
- 2019Large Batch Optimization for Deep Learning: Training BERT in 76 minutescited by 674
- 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 613
- 2021Twins: Revisiting the Design of Spatial Attention in Vision Transformerscited by 565
- 2021MetaFormer Is Actually What You Need for Visioncited by 524
- 2022MaxViT: Multi-Axis Vision Transformercited by 476
- 2021LeViT: a Vision Transformer in ConvNet's Clothing for Faster Inferencecited by 475
- 2021Conditional Positional Encodings for Vision Transformerscited by 406
- 2021ResNet strikes back: An improved training procedure in timmcited by 368
- 2021XCiT: Cross-Covariance Image Transformerscited by 338
- 2015LSTM: A Search Space Odysseycited by 316
- 2022EfficientFormer: Vision Transformers at MobileNet Speedcited by 241
- 2021Co-Scale Conv-Attentional Image Transformerscited by 224
- 2017PixelSNAIL: An Improved Autoregressive Generative Modelcited by 137
- 2021Visformer: The Vision-friendly Transformercited by 137
- 2022A Length-Extrapolatable Transformercited by 127
- 2022EdgeViTs: Competing Light-weight CNNs on Mobile Devices with Vision Transformerscited by 116
- 2021An Attention Free Transformercited by 112
- 2022Global Context Vision Transformerscited by 98
- 2016Efficient softmax approximation for GPUscited by 67
- 2023FasterViT: Fast Vision Transformers with Hierarchical Attentioncited by 65
- 2021The Image Local Autoregressive Transformercited by 14
Built on by
Citing papers per year: 2025: 2.
2 papers.
- 2025Robustness Tokens: Towards Adversarial Robustness of Transformerscited by 2
- 2025A Survey of Retentive Networkcited by 0
- 2025A Survey of Retentive Network7 Jun 2025
- 2025Robustness Tokens: Towards Adversarial Robustness of Transformers13 Mar 2025