RMT: Retentive Networks Meet Vision Transformers
Not on the map. Why?
Abstract (arXiv)
Vision Transformer (ViT) has gained increasing attention in the computer vision community in recent years. However, the core component of ViT, Self-Attention, lacks explicit spatial priors and bears a quadratic computational complexity, thereby constraining the applicability of ViT. To alleviate these issues, we draw inspiration from the recent Retentive Network (RetNet) in the field of NLP, and propose RMT, a strong vision backbone with explicit spatial prior for general purposes. Specifically, we extend the RetNet's temporal decay mechanism to the spatial domain, and propose a spatial decay matrix based on the Manhattan distance to introduce the explicit spatial prior to Self-Attention. Additionally, an attention decomposition form that adeptly adapts to explicit spatial prior is proposed, aiming to reduce the computational burden of modeling global information without disrupting the spatial decay matrix. Based on the spatial decay matrix and the attention decomposition form, we can flexibly integrate explicit spatial prior into the vision backbone with linear complexity. Extensive experiments demonstrate that RMT exhibits exceptional performance across various vision tasks. Specifically, without extra training data, RMT achieves **84.8%** and **86.1%** top-1 acc on ImageNet-1k with **27M/4.5GFLOPs** and **96M/18.2GFLOPs**. For downstream tasks, RMT achieves **54.5** box AP and **47.2** mask AP on the COCO detection task, and **52.8** mIoU on the ADE20K semantic segmentation task. Code is available at https://github.com/qhfan/RMT
Key facts. Cited by 68 papers in the map (data through 14 Oct 2026). Builds on 76 of its 86 references that are in the map. First posted on arXiv 20 Sep 2023.
Builds on
76 of 86 references.
References · 76
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 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
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,442
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
- 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,864
- 2022A ConvNet for the 2020scited by 3,579
38 more
- 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,884
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,269
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,962
- 2019MMDetection: Open MMLab Detection Toolbox and Benchmarkcited by 1,385
- 2017Cascade R-CNN: Delving into High Quality Object Detectioncited by 1,276
- 2018Unified Perceptual Parsing for Scene Understandingcited by 1,271
- 2017Random Erasing Data Augmentationcited by 1,239
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
- 2016Deep Networks with Stochastic Depthcited by 979
- 2021CvT: Introducing Convolutions to Vision Transformerscited by 947
- 2021Multiscale Vision Transformerscited by 897
- 2023RWKV: Reinventing RNNs for the Transformer Eracited by 827
- 2021CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classificationcited by 806
- 2021Going deeper with Image Transformerscited by 764
- 2021PVT v2: Improved Baselines with Pyramid Vision Transformercited by 751
- 2019Panoptic Feature Pyramid Networkscited by 645
- 2021Transformer in Transformercited by 633
- 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 613
- 2021Twins: Revisiting the Design of Spatial Attention in Vision Transformerscited by 565
- 2021CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windowscited by 527
- 2021MViTv2: Improved Multiscale Vision Transformers for Classification and Detectioncited by 519
- 2022InternImage: Exploring Large-Scale Vision Foundation Models with Deformable Convolutionscited by 482
- 2022MaxViT: Multi-Axis Vision Transformercited by 476
- 2022Unified-IO: A Unified Model for Vision, Language, and Multi-Modal Taskscited by 421
- 2021Conditional Positional Encodings for Vision Transformerscited by 406
- 2021CMT: Convolutional Neural Networks Meet Vision Transformerscited by 310
- 2022Vision Transformer with Deformable Attentioncited by 295
- 2021Focal Self-attention for Local-Global Interactions in Vision Transformerscited by 288
- 2022Neighborhood Attention Transformercited by 239
- 2022Visual Attention Networkcited by 210
- 2021Multi-Scale Vision Longformer: A New Vision Transformer for High-Resolution Image Encodingcited by 207
- 2022Focal Modulation Networkscited by 186
- 2022UniFormer: Unified Transformer for Efficient Spatiotemporal Representation Learningcited by 184
- 2022DaViT: Dual Attention Vision Transformerscited by 175
- 2021VOLO: Vision Outlooker for Visual Recognitioncited by 165
- 2023mPLUG-2: A Modularized Multi-modal Foundation Model Across Text, Image and Videocited by 154
- 2023BiFormer: Vision Transformer with Bi-Level Routing Attentioncited by 151
- 2021All Tokens Matter: Token Labeling for Training Better Vision Transformerscited by 144
50 most cited of 76 All 76 (JSON)
Built on by
Citing papers per year: 2023: 2; 2024: 23; 2025: 27; 2026: 16.
68 papers.
Sort:
By area:
- 2024VMamba: Visual State Space Modelcited by 969
- 2024Vision-RWKV: Efficient and Scalable Visual Perception with RWKV-Like Architecturescited by 98
- 2024The Hidden Attention of Mamba Modelscited by 91
- 2024DreamClear: High-Capacity Real-World Image Restoration with Privacy-Safe Dataset Curationcited by 65
- 2024Breaking the Low-Rank Dilemma of Linear Attentioncited by 31
- 2025DFormerv2: Geometry Self-Attention for RGBD Semantic Segmentationcited by 31
- 2024VSSD: Vision Mamba with Non-Causal State Space Dualitycited by 29
- 2025ViT3: Unlocking Test-Time Training in Visioncited by 18
- 2025Rectifying Magnitude Neglect in Linear Attentioncited by 16
- 2024Explaining Modern Gated-Linear RNNs via a Unified Implicit Attention Formulationcited by 11
- 2025Do we really have to filter out random noise in pre-training data for language models?cited by 11
- 2025Bokehlicious: Photorealistic Bokeh Rendering with Controllable Aperturescited by 11
38 more
- 2024SCSA: Exploring the Synergistic Effects Between Spatial and Channel Attentioncited by 10
- 2025Hadamard product in deep learning: Introduction, Advances and Challengescited by 9
- 2024Vision Transformer with Sparse Scan Priorcited by 6
- 2023Large Language Models Meet Computer Vision: A Brief Surveycited by 5
- 2024SVIPTR: Fast and Efficient Scene Text Recognition with Vision Permutable Extractorcited by 5
- 2024Semantic Equitable Clustering: A Simple and Effective Strategy for Clustering Vision Tokenscited by 5
- 2024AsCAN: Asymmetric Convolution-Attention Networks for Efficient Recognition and Generationcited by 5
- 2024RepNeXt: A Fast Multi-Scale CNN using Structural Reparameterizationcited by 4
- 2024Depth Matters: Exploring Deep Interactions of RGB-D for Semantic Segmentation in Traffic Scenescited by 3
- 2025AnchorFormer: Differentiable Anchor Attention for Efficient Vision Transformercited by 3
- 2025S2AFormer: Strip Self-Attention for Efficient Vision Transformercited by 3
- 2025SAGA: Selective Adaptive Gating for Efficient and Expressive Linear Attentioncited by 3
- 2024A Manifold Representation of the Key in Vision Transformerscited by 2
- 2024DuoFormer: Leveraging Hierarchical Visual Representations by Local and Global Attentioncited by 2
- 2025HAD: Hybrid Architecture Distillation Outperforms Teacher in Genomic Sequence Modelingcited by 2
- 2025Norm×Direction: Restoring the Missing Query Norm in Vision Linear Attentioncited by 2
- 2023RetSeg: Retention-based Colorectal Polyps Segmentation Networkcited by 1
- 2024HybridHash: Hybrid Convolutional and Self-Attention Deep Hashing for Image Retrievalcited by 1
- 2024FFNet: MetaMixer-based Efficient Convolutional Mixer Designcited by 1
- 2024Focus on the Whole Character: Discriminative Character Modeling for Scene Text Recognitioncited by 1
- 2024DSDFormer: An Innovative Transformer-Mamba Framework for Robust High-Precision Driver Distraction Identificationcited by 1
- 2025TT-DF: A Large-Scale Diffusion-Based Dataset and Benchmark for Human Body Forgery Detectioncited by 1
- 2025Temporal and Spatial Feature Fusion Framework for Dynamic Micro Expression Recognitioncited by 1
- 2025HyRet-Change: A hybrid retentive network for remote sensing change detectioncited by 1
- 2025Polyline Path Masked Attention for Vision Transformercited by 1
- 2025A2Mamba: Attention-augmented State Space Models for Visual Recognitioncited by 1
- 2025Learning Spatial Decay for Vision Transformerscited by 1
- 2026Partial Ring Scan: Revisiting Scan Order in Vision State Space Modelscited by 1
- 2026DRetHTR: Linear-Time Decoder-Only Retentive Network for Handwritten Text Recognitioncited by 1
- 2026EIB-Net: Entropy-Guided Information Bottleneck for Generalizable AI-Generated Image Detectioncited by 1
- 2024CFPFormer: Feature-pyramid like Transformer Decoder for Segmentation and Detectioncited by 0
- 2024BFA-YOLO: A balanced multiscale object detection network for building faccade attachments detectioncited by 0
- 2024Brain-Inspired Stepwise Patch Merging for Vision Transformerscited by 0
- 2025Fraesormer: Learning Adaptive Sparse Transformer for Efficient Food Recognitioncited by 0
- 2025RSRWKV: A Linear-Complexity 2D Attention Mechanism for Efficient Remote Sensing Vision Taskcited by 0
- 2025OminiAdapt: Learning Cross-Task Invariance for Robust and Environment-Aware Robotic Manipulationcited by 0
- 2025Efficient Masked Image Compression with Position-Indexed Self-Attentioncited by 0
- 2025Unveiling the Hidden: Movie Genre and User Bias in Spoiler Detectioncited by 0
50 most cited of 68 All 68 (JSON)
- 2026VisionHOPE: Visual Backbones as Self-Modifying Learning Systems27 Sep 2026
- 2026EIB-Net: Entropy-Guided Information Bottleneck for Generalizable AI-Generated Image Detection24 Sep 2026
- 2026CMAMBADEPTH: Self-supervised Monocular Depth Estimation with Channel Mamba and Hybrid Attention21 Sep 2026
- 2026DINOcular: Self-Supervised Visuospatial Representations27 Aug 2026
- 2026Spatial Priors via Space Filling Curves for Small and Limited Data Vision Transformers8 Jun 2026
- 2026Activation-Free Backbones for Image Recognition: Polynomial Alternatives within MetaFormer-Style Vision Models20 May 2026
- 2026ScribbleDose: Scribble-Guided Dose Prediction in Radiotherapy12 May 2026
- 2026Advancing Vision Transformer with Enhanced Spatial Priors20 Apr 2026
- 2026Gated-SwinRMT: Unifying Swin Windowed Attention with Retentive Manhattan Decay via Input-Dependent Gating7 Apr 2026
- 2026PGR-Net: Prior-Guided ROI Reasoning Network for Brain Tumor MRI Segmentation23 Mar 2026
- 2026Random Wins All: Rethinking Grouping Strategies for Vision Tokens28 Feb 2026
- 2026Self-Attention And Beyond the Infinite: Towards Linear Transformers with Infinite Self-Attention26 Feb 2026
38 more
- 2026DRetHTR: Linear-Time Decoder-Only Retentive Network for Handwritten Text Recognition19 Feb 2026
- 2026MirrorLA: Reflecting Feature Map for Vision Linear Attention4 Feb 2026
- 2026Partial Ring Scan: Revisiting Scan Order in Vision State Space Models4 Feb 2026
- 2026DCCS-Det: Directional Context and Cross-Scale-Aware Detector for Infrared Small Target23 Jan 2026
- 2025Edge-Aware and Content-Adaptive Infrared Gas Leak Detection for Industrial Safety Monitoring29 Dec 2025
- 2025ViT3: Unlocking Test-Time Training in Vision1 Dec 2025
- 2025SAGA: Selective Adaptive Gating for Efficient and Expressive Linear Attention16 Sep 2025
- 2025Learning Spatial Decay for Vision Transformers13 Aug 2025
- 2025A2Mamba: Attention-augmented State Space Models for Visual Recognition22 Jul 2025
- 2025Block-based Symmetric Pruning and Fusion for Efficient Vision Transformers16 Jul 2025
- 2025Scaling Attention to Very Long Sequences in Linear Time with Wavelet-Enhanced Random Spectral Attention (WERSA)11 Jul 2025
- 2025Rectifying Magnitude Neglect in Linear Attention1 Jul 2025
- 2025Norm×Direction: Restoring the Missing Query Norm in Vision Linear Attention26 Jun 2025
- 2025Polyline Path Masked Attention for Vision Transformer19 Jun 2025
- 2025DuoFormer: Leveraging Hierarchical Representations by Local and Global Attention Vision Transformer15 Jun 2025
- 2025HyRet-Change: A hybrid retentive network for remote sensing change detection15 Jun 2025
- 2025A Survey of Retentive Network7 Jun 2025
- 2025S2AFormer: Strip Self-Attention for Efficient Vision Transformer28 May 2025
- 2025HAD: Hybrid Architecture Distillation Outperforms Teacher in Genomic Sequence Modeling27 May 2025
- 2025AnchorFormer: Differentiable Anchor Attention for Efficient Vision Transformer22 May 2025
- 2025Temporal and Spatial Feature Fusion Framework for Dynamic Micro Expression Recognition22 May 2025
- 2025TT-DF: A Large-Scale Diffusion-Based Dataset and Benchmark for Human Body Forgery Detection13 May 2025
- 2025Unveiling the Hidden: Movie Genre and User Bias in Spoiler Detection24 Apr 2025
- 2025Hadamard product in deep learning: Introduction, Advances and Challenges17 Apr 2025
- 2025Efficient Masked Image Compression with Position-Indexed Self-Attention17 Apr 2025
- 2025DFormerv2: Geometry Self-Attention for RGBD Semantic Segmentation7 Apr 2025
- 2025OminiAdapt: Learning Cross-Task Invariance for Robust and Environment-Aware Robotic Manipulation27 Mar 2025
- 2025RSRWKV: A Linear-Complexity 2D Attention Mechanism for Efficient Remote Sensing Vision Task26 Mar 2025
- 2025Bokehlicious: Photorealistic Bokeh Rendering with Controllable Apertures20 Mar 2025
- 2025Fraesormer: Learning Adaptive Sparse Transformer for Efficient Food Recognition15 Mar 2025
- 2025Do we really have to filter out random noise in pre-training data for language models?10 Feb 2025
- 2024Breaking the Low-Rank Dilemma of Linear Attention12 Nov 2024
- 2024AsCAN: Asymmetric Convolution-Attention Networks for Efficient Recognition and Generation7 Nov 2024
- 2024DreamClear: High-Capacity Real-World Image Restoration with Privacy-Safe Dataset Curation24 Oct 2024
- 2024Depth Matters: Exploring Deep Interactions of RGB-D for Semantic Segmentation in Traffic Scenes12 Sep 2024
- 2024Brain-Inspired Stepwise Patch Merging for Vision Transformers11 Sep 2024
- 2024DSDFormer: An Innovative Transformer-Mamba Framework for Robust High-Precision Driver Distraction Identification9 Sep 2024
- 2024BFA-YOLO: A balanced multiscale object detection network for building faccade attachments detection6 Sep 2024
50 newest of 68 All 68 (JSON)
- 2024The Hidden Attention of Mamba Modelscited by 91
- 2024VSSD: Vision Mamba with Non-Causal State Space Dualitycited by 29
- 2024Explaining Modern Gated-Linear RNNs via a Unified Implicit Attention Formulationcited by 11
- 2024DSDFormer: An Innovative Transformer-Mamba Framework for Robust High-Precision Driver Distraction Identificationcited by 1
- 2025A2Mamba: Attention-augmented State Space Models for Visual Recognitioncited by 1
- 2026CMAMBADEPTH: Self-supervised Monocular Depth Estimation with Channel Mamba and Hybrid Attentioncited by 0
- 2026CMAMBADEPTH: Self-supervised Monocular Depth Estimation with Channel Mamba and Hybrid Attention21 Sep 2026
- 2025A2Mamba: Attention-augmented State Space Models for Visual Recognition22 Jul 2025
- 2024DSDFormer: An Innovative Transformer-Mamba Framework for Robust High-Precision Driver Distraction Identification9 Sep 2024
- 2024VSSD: Vision Mamba with Non-Causal State Space Duality26 Jul 2024
- 2024Explaining Modern Gated-Linear RNNs via a Unified Implicit Attention Formulation26 May 2024
- 2024The Hidden Attention of Mamba Models3 Mar 2024
- 2024VMamba: Visual State Space Modelcited by 969
- 2024Vision-RWKV: Efficient and Scalable Visual Perception with RWKV-Like Architecturescited by 98
- 2024Breaking the Low-Rank Dilemma of Linear Attentioncited by 31
- 2025DFormerv2: Geometry Self-Attention for RGBD Semantic Segmentationcited by 31
- 2025ViT3: Unlocking Test-Time Training in Visioncited by 18
- 2025Rectifying Magnitude Neglect in Linear Attentioncited by 16
- 2025Do we really have to filter out random noise in pre-training data for language models?cited by 11
- 2025Bokehlicious: Photorealistic Bokeh Rendering with Controllable Aperturescited by 11
- 2024SCSA: Exploring the Synergistic Effects Between Spatial and Channel Attentioncited by 10
- 2025Hadamard product in deep learning: Introduction, Advances and Challengescited by 9
- 2024Vision Transformer with Sparse Scan Priorcited by 6
- 2023Large Language Models Meet Computer Vision: A Brief Surveycited by 5
12 most cited of 59 All 59 (JSON)
- 2026VisionHOPE: Visual Backbones as Self-Modifying Learning Systems27 Sep 2026
- 2026EIB-Net: Entropy-Guided Information Bottleneck for Generalizable AI-Generated Image Detection24 Sep 2026
- 2026DINOcular: Self-Supervised Visuospatial Representations27 Aug 2026
- 2026Spatial Priors via Space Filling Curves for Small and Limited Data Vision Transformers8 Jun 2026
- 2026Activation-Free Backbones for Image Recognition: Polynomial Alternatives within MetaFormer-Style Vision Models20 May 2026
- 2026ScribbleDose: Scribble-Guided Dose Prediction in Radiotherapy12 May 2026
- 2026Advancing Vision Transformer with Enhanced Spatial Priors20 Apr 2026
- 2026Gated-SwinRMT: Unifying Swin Windowed Attention with Retentive Manhattan Decay via Input-Dependent Gating7 Apr 2026
- 2026PGR-Net: Prior-Guided ROI Reasoning Network for Brain Tumor MRI Segmentation23 Mar 2026
- 2026Random Wins All: Rethinking Grouping Strategies for Vision Tokens28 Feb 2026
- 2026Self-Attention And Beyond the Infinite: Towards Linear Transformers with Infinite Self-Attention26 Feb 2026
- 2026DRetHTR: Linear-Time Decoder-Only Retentive Network for Handwritten Text Recognition19 Feb 2026
12 newest of 59 All 59 (JSON)