Mamba or RWKV: Exploring High-Quality and High-Efficiency Segment Anything Model
On the map: State-space sequence models (S4, Mamba) → Mamba for medical image analysis
Abstract (arXiv)
Transformer-based segmentation methods face the challenge of efficient inference when dealing with high-resolution images. Recently, several linear attention architectures, such as Mamba and RWKV, have attracted much attention as they can process long sequences efficiently. In this work, we focus on designing an efficient segment-anything model by exploring these different architectures. Specifically, we design a mixed backbone that contains convolution and RWKV operation, which achieves the best for both accuracy and efficiency. In addition, we design an efficient decoder to utilize the multiscale tokens to obtain high-quality masks. We denote our method as RWKV-SAM, a simple, effective, fast baseline for SAM-like models. Moreover, we build a benchmark containing various high-quality segmentation datasets and jointly train one efficient yet high-quality segmentation model using this benchmark. Based on the benchmark results, our RWKV-SAM achieves outstanding performance in efficiency and segmentation quality compared to transformers and other linear attention models. For example, compared with the same-scale transformer model, RWKV-SAM achieves more than 2x speedup and can achieve better segmentation performance on various datasets. In addition, RWKV-SAM outperforms recent vision Mamba models with better classification and semantic segmentation results. Code and models will be publicly available.
Key facts. Cited by 18 papers in the map (data through 7 Oct 2026). Placed in Mamba for medical image analysis, one of 10 directions in State-space sequence models (S4, Mamba). Builds on 76 of its 83 references that are in the map. First posted on arXiv 27 Jun 2024.
Builds on
76 of 83 references.
References · 76
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2023Segment Anythingcited by 8,158
- 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
- 2021Masked-attention Mask Transformer for Universal Image Segmentationcited by 2,338
- 2016V-Net: Fully Convolutional Neural Networks for Volumetric Medical Image Segmentationcited by 2,284
- 2019Searching for MobileNetV3cited by 1,984
38 more
- 2018Unified Perceptual Parsing for Scene Understandingcited by 1,265
- 2017ShuffleNet: An Extremely Efficient Convolutional Neural Network for Mobile Devicescited by 1,194
- 2021Per-Pixel Classification is Not All You Need for Semantic Segmentationcited by 1,148
- 2018ShuffleNet V2: Practical Guidelines for Efficient CNN Architecture Designcited by 1,132
- 2016Semantic Understanding of Scenes through the ADE20K Datasetcited by 1,063
- 2016SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model sizecited by 1,054
- 2024Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Modelcited by 1,051
- 2024VMamba: Visual State Space Modelcited by 955
- 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
- 2022Exploring Plain Vision Transformer Backbones for Object Detectioncited by 723
- 2018BiSeNet: Bilateral Segmentation Network for Real-time Semantic Segmentationcited by 645
- 2021MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformercited by 636
- 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 490
- 2019PointRend: Image Segmentation as Renderingcited by 439
- 2019GhostNet: More Features from Cheap Operationscited by 410
- 2023Segment Anything in High Qualitycited by 373
- 2018Efficient Attention: Attention with Linear Complexitiescited by 366
- 2023Faster Segment Anything: Towards Lightweight SAM for Mobile Applicationscited by 345
- 2024VideoMamba: State Space Model for Efficient Video Understandingcited by 325
- 2020BiSeNet V2: Bilateral Network with Guided Aggregation for Real-time Semantic Segmentationcited by 294
- 2023Fast Segment Anythingcited by 286
- 2017ICNet for Real-Time Semantic Segmentation on High-Resolution Imagescited by 261
- 2021Mobile-Former: Bridging MobileNet and Transformercited by 234
- 2023EfficientSAM: Leveraged Masked Image Pretraining for Efficient Segment Anythingcited by 187
- 2024Eagle and Finch: RWKV with Matrix-Valued States and Dynamic Recurrencecited by 155
- 2018ESPNet: Efficient Spatial Pyramid of Dilated Convolutions for Semantic Segmentationcited by 133
- 2020Semantic Flow for Fast and Accurate Scene Parsingcited by 128
- 2023Transformer-Based Visual Segmentation: A Surveycited by 124
- 2024HGRN2: Gated Linear RNNs with State Expansioncited by 122
- 2022EdgeNeXt: Efficiently Amalgamated CNN-Transformer Architecture for Mobile Vision Applicationscited by 121
- 2022EdgeViTs: Competing Light-weight CNNs on Mobile Devices with Vision Transformerscited by 116
- 2020CascadePSP: Toward Class-Agnostic and Very High-Resolution Segmentation via Global and Local Refinementcited by 113
- 2020EfficientPS: Efficient Panoptic Segmentationcited by 111
- 2022Highly Accurate Dichotomous Image Segmentationcited by 110
- 2023Hierarchically Gated Recurrent Neural Network for Sequence Modelingcited by 100
- 2020Improving Semantic Segmentation via Decoupled Body and Edge Supervisioncited by 98
- 2024Vision-RWKV: Efficient and Scalable Visual Perception with RWKV-Like Architecturescited by 97
- 2022High-Quality Entity Segmentationcited by 93
50 most cited of 76 All 76 (JSON)
Built on by
Citing papers per year: 2024: 9; 2025: 6; 2026: 3.
18 papers.
Sort:
By area:
- 2024Restore-RWKV: Efficient and Effective Medical Image Restoration with RWKVcited by 36
- 2025Linear Attention Modeling for Learned Image Compressioncited by 22
- 2024Mamba in Vision: A Comprehensive Survey of Techniques and Applicationscited by 18
- 2024On Efficient Variants of Segment Anything Model: A Surveycited by 16
- 2025RGB-Event based Pedestrian Attribute Recognition: A Benchmark Dataset and An Asymmetric RWKV Fusion Frameworkcited by 7
- 2025The 1st Solution for 7th LSVOS RVOS Track: SaSaSa2VAcited by 7
- 2024Retinex-RAWMamba: Bridging Demosaicing and Denoising for Low-Light RAW Image Enhancementcited by 6
- 2024EMOv2: Pushing 5M Vision Model Frontiercited by 5
- 2024A Survey of RWKVcited by 5
- 2024StyleRWKV: High-Quality and High-Efficiency Style Transfer with RWKV-like Architecturecited by 2
- 20254th PVUW MeViS 3rd Place Report: Sa2VAcited by 2
- 2024Optimized Vessel Segmentation: A Structure-Agnostic Approach with Small Vessel Enhancement and Morphological Correctioncited by 0
6 more
- 2024GDSR: Global-Detail Integration through Dual-Branch Network with Wavelet Losses for Remote Sensing Image Super-Resolutioncited by 0
- 2025RSRWKV: A Linear-Complexity 2D Attention Mechanism for Efficient Remote Sensing Vision Taskcited by 0
- 2025ITC-RWKV: Interactive Tissue-Cell Modeling with Recurrent Key-Value Aggregation for Histopathological Subtypingcited by 0
- 2026SaSaSaSa2VA: 2nd Place of the 5th PVUW MeViS-Text Trackcited by 0
- 2026PestVL-Net: Enabling Multimodal Pest Learning via Fine-grained Vision-Language Interactioncited by 0
- 2026FU-Mamba: A Frequency-Enhanced Dynamic Scanning Framework for Oralscan Image Segmentationcited by 0
- 2026FU-Mamba: A Frequency-Enhanced Dynamic Scanning Framework for Oralscan Image Segmentation27 Aug 2026
- 2026PestVL-Net: Enabling Multimodal Pest Learning via Fine-grained Vision-Language Interaction19 Apr 2026
- 2026SaSaSaSa2VA: 2nd Place of the 5th PVUW MeViS-Text Track28 Mar 2026
- 2025ITC-RWKV: Interactive Tissue-Cell Modeling with Recurrent Key-Value Aggregation for Histopathological Subtyping24 Oct 2025
- 2025The 1st Solution for 7th LSVOS RVOS Track: SaSaSa2VA21 Sep 2025
- 2025RGB-Event based Pedestrian Attribute Recognition: A Benchmark Dataset and An Asymmetric RWKV Fusion Framework14 Apr 2025
- 20254th PVUW MeViS 3rd Place Report: Sa2VA1 Apr 2025
- 2025RSRWKV: A Linear-Complexity 2D Attention Mechanism for Efficient Remote Sensing Vision Task26 Mar 2025
- 2025Linear Attention Modeling for Learned Image Compression9 Feb 2025
- 2024GDSR: Global-Detail Integration through Dual-Branch Network with Wavelet Losses for Remote Sensing Image Super-Resolution31 Dec 2024
- 2024StyleRWKV: High-Quality and High-Efficiency Style Transfer with RWKV-like Architecture27 Dec 2024
- 2024A Survey of RWKV19 Dec 2024
6 more
- 2024EMOv2: Pushing 5M Vision Model Frontier9 Dec 2024
- 2024Optimized Vessel Segmentation: A Structure-Agnostic Approach with Small Vessel Enhancement and Morphological Correction22 Nov 2024
- 2024On Efficient Variants of Segment Anything Model: A Survey7 Oct 2024
- 2024Mamba in Vision: A Comprehensive Survey of Techniques and Applications4 Oct 2024
- 2024Retinex-RAWMamba: Bridging Demosaicing and Denoising for Low-Light RAW Image Enhancement11 Sep 2024
- 2024Restore-RWKV: Efficient and Effective Medical Image Restoration with RWKV14 Jul 2024
- 2024Restore-RWKV: Efficient and Effective Medical Image Restoration with RWKVcited by 36
- 2025Linear Attention Modeling for Learned Image Compressioncited by 22
- 2024On Efficient Variants of Segment Anything Model: A Surveycited by 16
- 2025RGB-Event based Pedestrian Attribute Recognition: A Benchmark Dataset and An Asymmetric RWKV Fusion Frameworkcited by 7
- 2025The 1st Solution for 7th LSVOS RVOS Track: SaSaSa2VAcited by 7
- 2024Retinex-RAWMamba: Bridging Demosaicing and Denoising for Low-Light RAW Image Enhancementcited by 6
- 2024EMOv2: Pushing 5M Vision Model Frontiercited by 5
- 2024A Survey of RWKVcited by 5
- 2024StyleRWKV: High-Quality and High-Efficiency Style Transfer with RWKV-like Architecturecited by 2
- 20254th PVUW MeViS 3rd Place Report: Sa2VAcited by 2
- 2024Optimized Vessel Segmentation: A Structure-Agnostic Approach with Small Vessel Enhancement and Morphological Correctioncited by 0
- 2024GDSR: Global-Detail Integration through Dual-Branch Network with Wavelet Losses for Remote Sensing Image Super-Resolutioncited by 0
12 most cited of 16 All 16 (JSON)
- 2026PestVL-Net: Enabling Multimodal Pest Learning via Fine-grained Vision-Language Interaction19 Apr 2026
- 2026SaSaSaSa2VA: 2nd Place of the 5th PVUW MeViS-Text Track28 Mar 2026
- 2025ITC-RWKV: Interactive Tissue-Cell Modeling with Recurrent Key-Value Aggregation for Histopathological Subtyping24 Oct 2025
- 2025The 1st Solution for 7th LSVOS RVOS Track: SaSaSa2VA21 Sep 2025
- 2025RGB-Event based Pedestrian Attribute Recognition: A Benchmark Dataset and An Asymmetric RWKV Fusion Framework14 Apr 2025
- 20254th PVUW MeViS 3rd Place Report: Sa2VA1 Apr 2025
- 2025RSRWKV: A Linear-Complexity 2D Attention Mechanism for Efficient Remote Sensing Vision Task26 Mar 2025
- 2025Linear Attention Modeling for Learned Image Compression9 Feb 2025
- 2024GDSR: Global-Detail Integration through Dual-Branch Network with Wavelet Losses for Remote Sensing Image Super-Resolution31 Dec 2024
- 2024StyleRWKV: High-Quality and High-Efficiency Style Transfer with RWKV-like Architecture27 Dec 2024
- 2024A Survey of RWKV19 Dec 2024
- 2024EMOv2: Pushing 5M Vision Model Frontier9 Dec 2024
12 newest of 16 All 16 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2026A Hybrid Mamba-SAM Architecture for Efficient 3D Medical Image Segmentation
- 2024SAM-Mamba: Mamba Guided SAM Architecture for Generalized Zero-Shot Polyp Segmentation
- 2024LoG-VMamba: Local-Global Vision Mamba for Medical Image Segmentation
- 2024Mamba-UNet: UNet-Like Pure Visual Mamba for Medical Image Segmentation
- 2025MambaVesselNet++: A Hybrid CNN-Mamba Architecture for Medical Image Segmentation
- 2024U-Mamba: Enhancing Long-range Dependency for Biomedical Image Segmentation
- 2025A Comprehensive Analysis of Mamba for 3D Volumetric Medical Image Segmentation
- 2026Beyond ZOH: Advanced Discretization Strategies for Vision Mamba