atlas

Research map / Architectures and efficiency / Attention and transformers

RMT: Retentive Networks Meet Vision Transformers

CVPR 2024 · Architectures and efficiency › Attention and transformers · approach: Hybrid and interpretable ViT designs · 229 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes RMT, a vision backbone that extends RetNet's temporal decay to a 2D Manhattan-distance spatial decay inside self-attention (MaSA), with a decomposed form giving linear-complexity global modeling.

Problem

Vision Transformer self-attention lacks explicit spatial priors and has quadratic cost in the number of tokens, limiting ViT applicability for general vision tasks.

Approach

Transforms RetNet's unidirectional 1D temporal decay into a bidirectional 2D spatial decay gamma^(|x_n-x_m|+|y_n-y_m|) inside softmax attention (Manhattan Self-Attention), and decomposes attention along image axes so the decay matrix is preserved while cost becomes linear.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use RMT instead of BiFormer-SImageNet-1K classification · ImageNet-1KTop-1 accuracy: 83.8 -> 84.1Helped
Use RMT-S* instead of BiFormer-S*ImageNet-1K classification with token labeling · ImageNet-1KTop-1 accuracy: 84.3 -> 84.8Helped
Use RMT instead of InternImage-TCOCO Mask R-CNN 1× · COCO val2017box AP: 47.2 -> 49.0Helped
Use RMT instead of InternImage-BCOCO Mask R-CNN 1× · COCO val2017box AP: 48.8 -> 51.6Helped
Use RMT-B instead of CSWin-SCOCO Cascade Mask R-CNN 3×+MS · COCO val2017box AP: 53.7 -> 54.5Helped
Use RMT-S instead of Shunted-SADE20K Semantic FPN · ADE20KmIoU: 48.2 -> 49.4Helped
Replace MaSA with vanilla attention (ablation)RMT-T · ImageNet-1KTop-1 accuracy: 82.4 -> 81.6(-0.8)Hurt
Replace MaSA with vanilla attention (ablation)RMT-T · COCO val2017, Mask R-CNN 1×box AP: 47.1 -> 44.6(-2.5)Hurt
Replace MaSA with vanilla attention (ablation)RMT-T · ADE20K Semantic FPNmIoU: 46.4 -> 43.9(-2.5)Hurt
Add LCE (ablation)RMT-T · ImageNet-1KTop-1 accuracy: 82.1 -> 82.4Helped
Add CPE (ablation)RMT-T · ImageNet-1KTop-1 accuracy: 82.2 -> 82.4Helped
Add convolutional stem (ablation)RMT-T · ImageNet-1KTop-1 accuracy: 82.2 -> 82.4Helped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet-1K COCO 2017 ADE20K ImageNet-A ImageNet-R ImageNet-V2

Benchmarks: ImageNet-1K COCO 2017 ADE20K ImageNet-A ImageNet-R ImageNet-V2

Metrics: top-1 accuracy box AP mask AP mIoU FLOPs throughput

Baselines: Swin Transformer BiFormer SMT MaxViT InternImage CSWin iFormer DeiT FAT MOAT

Builds on: RetNet ALiBi Swin Transformer CPE BiFormer

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy