RMP-SAM: Towards Real-Time Multi-Purpose Segment Anything
Not on the map. Why?
Abstract (arXiv)
Recent segmentation methods, which adopt large-scale data training and transformer architecture, aim to create one foundation model that can perform multiple tasks. However, most of these methods rely on heavy encoder and decoder frameworks, hindering their performance in real-time scenarios. To explore real-time segmentation, recent advancements primarily focus on semantic segmentation within specific environments, such as autonomous driving. However, they often overlook the generalization ability of these models across diverse scenarios. Therefore, to fill this gap, this work explores a novel real-time segmentation setting called real-time multi-purpose segmentation. It contains three fundamental sub-tasks: interactive segmentation, panoptic segmentation, and video instance segmentation. Unlike previous methods, which use a specific design for each task, we aim to use only a single end-to-end model to accomplish all these tasks in real-time. To meet real-time requirements and balance multi-task learning, we present a novel dynamic convolution-based method, Real-Time Multi-Purpose SAM (RMP-SAM). It contains an efficient encoder and an efficient decoupled adapter to perform prompt-driven decoding. Moreover, we further explore different training strategies and one new adapter design to boost co-training performance further. We benchmark several strong baselines by extending existing works to support our multi-purpose segmentation. Extensive experiments demonstrate that RMP-SAM is effective and generalizes well on proposed benchmarks and other specific semantic tasks. Our implementation of RMP-SAM achieves the optimal balance between accuracy and speed for these tasks.Our code and model are available at https://github.com/xushilin1/RAP-SAM/.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 91 of its 103 references that are in the map. First posted on arXiv 18 Jan 2024.
Builds on
91 of 103 references.
References · 91
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2023Segment Anythingcited by 8,158
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2017Mask R-CNNcited by 7,259
- 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
- 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,848
- 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
38 more
- 2022A ConvNet for the 2020scited by 3,545
- 2018Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentationcited by 3,210
- 2016Pyramid Scene Parsing Networkcited by 2,472
- 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
- 2017Rethinking Atrous Convolution for Semantic Image Segmentationcited by 2,154
- 2019Searching for MobileNetV3cited by 1,984
- 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
- 2021Open-vocabulary Object Detection via Vision and Language Knowledge Distillationcited by 903
- 2018Panoptic Segmentationcited by 796
- 2018CCNet: Criss-Cross Attention for Semantic Segmentationcited by 717
- 2018BiSeNet: Bilateral Segmentation Network for Real-time Semantic Segmentationcited by 645
- 2021MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformercited by 636
- 2020Simple Copy-Paste is a Strong Data Augmentation Method for Instance Segmentationcited by 595
- 2019Segmentation Transformer: Object-Contextual Representations for Semantic Segmentationcited by 573
- 2020Sparse R-CNN: End-to-End Object Detection with Learnable Proposalscited by 494
- 2019Hybrid Task Cascade for Instance Segmentationcited by 479
- 2019GhostNet: More Features from Cheap Operationscited by 410
- 2019Video Instance Segmentationcited by 391
- 2020MaX-DeepLab: End-to-End Panoptic Segmentation with Mask Transformerscited by 355
- 2023Faster Segment Anything: Towards Lightweight SAM for Mobile Applicationscited by 345
- 2022Mask DINO: Towards A Unified Transformer-based Framework for Object Detection and Segmentationcited by 341
- 2022OneFormer: One Transformer to Rule Universal Image Segmentationcited by 327
- 2022Images Speak in Images: A Generalist Painter for In-Context Visual Learningcited by 317
- 2020BiSeNet V2: Bilateral Network with Guided Aggregation for Real-time Semantic Segmentationcited by 294
- 2019SOLO: Segmenting Objects by Locationscited by 289
- 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
- 2021K-Net: Towards Unified Image Segmentationcited by 211
- 2023SegGPT: Segmenting Everything In Contextcited by 193
- 2023Universal Instance Perception as Object Discovery and Retrievalcited by 190
- 2023EfficientSAM: Leveraged Masked Image Pretraining for Efficient Segment Anythingcited by 187
- 2023Semantic-SAM: Segment and Recognize Anything at Any Granularitycited by 185
50 most cited of 91 All 91 (JSON)
Built on by
Citing papers per year: 2024: 4; 2025: 1.
5 papers.
- 2024Mamba or RWKV: Exploring High-Quality and High-Efficiency Segment Anything Modelcited by 18
- 2024On Efficient Variants of Segment Anything Model: A Surveycited by 16
- 2024EMOv2: Pushing 5M Vision Model Frontiercited by 5
- 2025The Missing Point in Vision Transformers for Universal Image Segmentationcited by 2
- 2024HRSAM: Efficient Interactive Segmentation in High-Resolution Imagescited by 1
- 2025The Missing Point in Vision Transformers for Universal Image Segmentation26 May 2025
- 2024EMOv2: Pushing 5M Vision Model Frontier9 Dec 2024
- 2024On Efficient Variants of Segment Anything Model: A Survey7 Oct 2024
- 2024HRSAM: Efficient Interactive Segmentation in High-Resolution Images2 Jul 2024
- 2024Mamba or RWKV: Exploring High-Quality and High-Efficiency Segment Anything Model27 Jun 2024