RMP-SAM: Towards Real-Time Multi-Purpose Segment Anything

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Xu, Shilin, Yuan, Haobo, Shi, Qingyu, Qi, Lu, Wang, Jingbo, Yang, Yibo, Li, Yining, Chen, Kai, Tong, Yunhai, Ghanem, Bernard, Li, Xiangtai, Yang, Ming-Hsuan
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866910848711131136
author Xu, Shilin
Yuan, Haobo
Shi, Qingyu
Qi, Lu
Wang, Jingbo
Yang, Yibo
Li, Yining
Chen, Kai
Tong, Yunhai
Ghanem, Bernard
Li, Xiangtai
Yang, Ming-Hsuan
author_facet Xu, Shilin
Yuan, Haobo
Shi, Qingyu
Qi, Lu
Wang, Jingbo
Yang, Yibo
Li, Yining
Chen, Kai
Tong, Yunhai
Ghanem, Bernard
Li, Xiangtai
Yang, Ming-Hsuan
contents 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/.
format Preprint
id arxiv_https___arxiv_org_abs_2401_10228
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle RMP-SAM: Towards Real-Time Multi-Purpose Segment Anything
Xu, Shilin
Yuan, Haobo
Shi, Qingyu
Qi, Lu
Wang, Jingbo
Yang, Yibo
Li, Yining
Chen, Kai
Tong, Yunhai
Ghanem, Bernard
Li, Xiangtai
Yang, Ming-Hsuan
Computer Vision and Pattern Recognition
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/.
title RMP-SAM: Towards Real-Time Multi-Purpose Segment Anything
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2401.10228