Segment Everything Everywhere All at Once
Authors:
- Xueyan ZouXZXueyan Zou
- Hao ZhangHZHao Zhang
- Feng LiFLFeng Li
- Linjie LiLLLinjie Li
- Jianfeng WangJWJianfeng Wang
- Lijuan WangLWLijuan Wang
- Yong Jae LeeYLYong Jae Lee
Preprint
Abstract
In this work, we present SEEM, a promptable and interactive model for segmenting everything everywhere all at once in an image, as shown in Fig.1. In SEEM, we propose a novel decoding mechanism that enables diverse prompting for all types of segmentation tasks, aiming at a universal segmentation interface that behaves like large language models (LLMs). More specifically, SEEM is designed with four desiderata: i) Versatility. We introduce a new visual prompt to unify different spatial queries including points, boxes, scribbles and masks, which can further generalize to a different referring image; ii) Compositionality. We learn a joint visual-semantic space between text and visual prompts, which facilitates the dynamic composition of two prompt types required for various segmentation tasks; iii) Interactivity. We further incorporate learnable memory prompts into the decoder to retain segmentation history through mask-guided cross-attention from decoder to image features; and iv) Semantic-awareness. We use a text encoder to encode text queries and mask labels into the same semantic space for open-vocabulary segmentation. We conduct a comprehensive empirical study to validate the effectiveness of SEEM across diverse segmentation tasks. Notably, our single SEEM model achieves competitive performance across interactive segmentation, generic segmentation, referring segmentation, and video object segmentation on 9 datasets with minimum 1/100 supervision. Furthermore, SEEM showcases a remarkable capacity for generalization to novel prompts or their combinations, rendering it a readily universal image segmentation interface.Keywords
All Related Versions
This publication has 28 references indexed in Scilit:
- A Mutual Supervision Framework for Referring Expression Segmentation and GenerationInternational Journal of Computer Vision, 2025
- OneFormer: One Transformer to Rule Universal Image Segmentation2023
- Mask DINO: Towards A Unified Transformer-based Framework for Object Detection and Segmentation2023
- DaViT: Dual Attention Vision Transformers2022
- Language as Queries for Referring Video Object Segmentation2022
- Unified Contrastive Learning in Image-Text-Label Space2022
- A Generative Appearance Model for End-To-End Video Object Segmentation2019
- Microsoft COCO: Common Objects in Context2014
- Normalized cuts and image segmentationIEEE Transactions on Pattern Analysis and Machine Intelligence, 2000
- A survey on image segmentationPattern Recognition, 1981