mlsanityData to 7 Oct 2026

Mamba or RWKV: Exploring High-Quality and High-Efficiency Segment Anything Model

arXiv 2406.19369 ↗First posted 27 Jun 2024cs.CVcited by 18

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

  1. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  2. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  3. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  4. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  5. 2023Segment Anythingcited by 8,158
  6. 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
  7. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  8. 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
  9. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
  10. 2021Masked-attention Mask Transformer for Universal Image Segmentationcited by 2,338
  11. 2016V-Net: Fully Convolutional Neural Networks for Volumetric Medical Image Segmentationcited by 2,284
  12. 2019Searching for MobileNetV3cited by 1,984
38 more
  1. 2018Unified Perceptual Parsing for Scene Understandingcited by 1,265
  2. 2017ShuffleNet: An Extremely Efficient Convolutional Neural Network for Mobile Devicescited by 1,194
  3. 2021Per-Pixel Classification is Not All You Need for Semantic Segmentationcited by 1,148
  4. 2018ShuffleNet V2: Practical Guidelines for Efficient CNN Architecture Designcited by 1,132
  5. 2016Semantic Understanding of Scenes through the ADE20K Datasetcited by 1,063
  6. 2016SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model sizecited by 1,054
  7. 2024Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Modelcited by 1,051
  8. 2024VMamba: Visual State Space Modelcited by 955
  9. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
  10. 2022Exploring Plain Vision Transformer Backbones for Object Detectioncited by 723
  11. 2018BiSeNet: Bilateral Segmentation Network for Real-time Semantic Segmentationcited by 645
  12. 2021MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformercited by 636
  13. 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 490
  14. 2019PointRend: Image Segmentation as Renderingcited by 439
  15. 2019GhostNet: More Features from Cheap Operationscited by 410
  16. 2023Segment Anything in High Qualitycited by 373
  17. 2018Efficient Attention: Attention with Linear Complexitiescited by 366
  18. 2023Faster Segment Anything: Towards Lightweight SAM for Mobile Applicationscited by 345
  19. 2024VideoMamba: State Space Model for Efficient Video Understandingcited by 325
  20. 2020BiSeNet V2: Bilateral Network with Guided Aggregation for Real-time Semantic Segmentationcited by 294
  21. 2023Fast Segment Anythingcited by 286
  22. 2017ICNet for Real-Time Semantic Segmentation on High-Resolution Imagescited by 261
  23. 2021Mobile-Former: Bridging MobileNet and Transformercited by 234
  24. 2023EfficientSAM: Leveraged Masked Image Pretraining for Efficient Segment Anythingcited by 187
  25. 2024Eagle and Finch: RWKV with Matrix-Valued States and Dynamic Recurrencecited by 155
  26. 2018ESPNet: Efficient Spatial Pyramid of Dilated Convolutions for Semantic Segmentationcited by 133
  27. 2020Semantic Flow for Fast and Accurate Scene Parsingcited by 128
  28. 2023Transformer-Based Visual Segmentation: A Surveycited by 124
  29. 2024HGRN2: Gated Linear RNNs with State Expansioncited by 122
  30. 2022EdgeNeXt: Efficiently Amalgamated CNN-Transformer Architecture for Mobile Vision Applicationscited by 121
  31. 2022EdgeViTs: Competing Light-weight CNNs on Mobile Devices with Vision Transformerscited by 116
  32. 2020CascadePSP: Toward Class-Agnostic and Very High-Resolution Segmentation via Global and Local Refinementcited by 113
  33. 2020EfficientPS: Efficient Panoptic Segmentationcited by 111
  34. 2022Highly Accurate Dichotomous Image Segmentationcited by 110
  35. 2023Hierarchically Gated Recurrent Neural Network for Sequence Modelingcited by 100
  36. 2020Improving Semantic Segmentation via Decoupled Body and Edge Supervisioncited by 98
  37. 2024Vision-RWKV: Efficient and Scalable Visual Perception with RWKV-Like Architecturescited by 97
  38. 2022High-Quality Entity Segmentationcited by 93

50 most cited of 76 All 76 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 9; 2025: 6; 2026: 3.

18 papers.

Sort:

By area:

  1. 2024Restore-RWKV: Efficient and Effective Medical Image Restoration with RWKVcited by 36
  2. 2025Linear Attention Modeling for Learned Image Compressioncited by 22
  3. 2024Mamba in Vision: A Comprehensive Survey of Techniques and Applicationscited by 18
  4. 2024On Efficient Variants of Segment Anything Model: A Surveycited by 16
  5. 2025RGB-Event based Pedestrian Attribute Recognition: A Benchmark Dataset and An Asymmetric RWKV Fusion Frameworkcited by 7
  6. 2025The 1st Solution for 7th LSVOS RVOS Track: SaSaSa2VAcited by 7
  7. 2024Retinex-RAWMamba: Bridging Demosaicing and Denoising for Low-Light RAW Image Enhancementcited by 6
  8. 2024EMOv2: Pushing 5M Vision Model Frontiercited by 5
  9. 2024A Survey of RWKVcited by 5
  10. 2024StyleRWKV: High-Quality and High-Efficiency Style Transfer with RWKV-like Architecturecited by 2
  11. 20254th PVUW MeViS 3rd Place Report: Sa2VAcited by 2
  12. 2024Optimized Vessel Segmentation: A Structure-Agnostic Approach with Small Vessel Enhancement and Morphological Correctioncited by 0
6 more
  1. 2024GDSR: Global-Detail Integration through Dual-Branch Network with Wavelet Losses for Remote Sensing Image Super-Resolutioncited by 0
  2. 2025RSRWKV: A Linear-Complexity 2D Attention Mechanism for Efficient Remote Sensing Vision Taskcited by 0
  3. 2025ITC-RWKV: Interactive Tissue-Cell Modeling with Recurrent Key-Value Aggregation for Histopathological Subtypingcited by 0
  4. 2026SaSaSaSa2VA: 2nd Place of the 5th PVUW MeViS-Text Trackcited by 0
  5. 2026PestVL-Net: Enabling Multimodal Pest Learning via Fine-grained Vision-Language Interactioncited by 0
  6. 2026FU-Mamba: A Frequency-Enhanced Dynamic Scanning Framework for Oralscan Image Segmentationcited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2026A Hybrid Mamba-SAM Architecture for Efficient 3D Medical Image Segmentation
  2. 2024SAM-Mamba: Mamba Guided SAM Architecture for Generalized Zero-Shot Polyp Segmentation
  3. 2024LoG-VMamba: Local-Global Vision Mamba for Medical Image Segmentation
  4. 2024Mamba-UNet: UNet-Like Pure Visual Mamba for Medical Image Segmentation
  5. 2025MambaVesselNet++: A Hybrid CNN-Mamba Architecture for Medical Image Segmentation
  6. 2024U-Mamba: Enhancing Long-range Dependency for Biomedical Image Segmentation
  7. 2025A Comprehensive Analysis of Mamba for 3D Volumetric Medical Image Segmentation
  8. 2026Beyond ZOH: Advanced Discretization Strategies for Vision Mamba