Segment Anything In-Context via Visual Demonstrations
Not on the map. Why?
Abstract (arXiv)
We present the Segment Anything Model via Visual Demonstrations (SAYD), a foundation model for in-context segmentation. Given visual demos comprising prompt images and their segmentation masks, SAYD segments coherent regions (e.g., objects or their parts) in a query image by establishing visual correspondences between the prompts and the query. SAYD generalizes to previously-unseen segmentation tasks, including those requiring tacit visual knowledge or involving concepts that are difficult to articulate unambiguously in language. We train SAYD on 12 public datasets originally curated for panoptic segmentation using our proposed techniques, including a lightweight mask decoder for prompt-agnostic mask generation and a learning mechanism for recognizing novel query classes absent in the prompts. These innovations enhance both computational efficiency and out-of-domain generalization. Consequently, SAYD significantly outperforms existing methods of in-context segmentation and open-vocabulary segmentation across 24 out-of-domain benchmarks, spanning natural, biological, ecological, cosmological, medical, pathological, and satellite imagery.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 84 of its 112 references that are in the map. Submitted 23 Nov 2026, announced 24 Nov 2026.
Builds on
84 of 112 references.
References · 84
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 34,995
- 2020Language Models are Few-Shot Learnerscited by 33,113
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 31,277
- 2014Microsoft COCO: Common Objects in Contextcited by 18,045
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,365
- 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 8,800
- 2023Segment Anythingcited by 8,603
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,673
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,619
- 2020End-to-End Object Detection with Transformerscited by 7,562
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 7,264
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 5,132
38 more
- 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,526
- 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,252
- 2023Sigmoid Loss for Language Image Pre-Trainingcited by 3,321
- 2017ScanNet: Richly-annotated 3D Reconstructions of Indoor Scenescited by 3,266
- 2024SAM 2: Segment Anything in Images and Videoscited by 3,200
- 2021Masked-attention Mask Transformer for Universal Image Segmentationcited by 2,453
- 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,431
- 2018Unsupervised Feature Learning via Non-Parametric Instance-level Discriminationcited by 1,857
- 2025DINOv3cited by 1,686
- 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,649
- 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,568
- 2025SAM 3: Segment Anything with Conceptscited by 1,187
- 2021Per-Pixel Classification is Not All You Need for Semantic Segmentationcited by 1,177
- 2024Grounded SAM: Assembling Open-World Models for Diverse Visual Taskscited by 989
- 2016Playing for Data: Ground Truth from Computer Gamescited by 833
- 2018Panoptic Segmentationcited by 833
- 2017Focal Loss for Dense Object Detectioncited by 831
- 2022Exploring Plain Vision Transformer Backbones for Object Detectioncited by 740
- 2020Hypersim: A Photorealistic Synthetic Dataset for Holistic Indoor Scene Understandingcited by 646
- 2018YouTube-VOS: A Large-Scale Video Object Segmentation Benchmarkcited by 393
- 2025Perception Encoder: The best visual embeddings are not at the output of the networkcited by 382
- 2022Images Speak in Images: A Generalist Painter for In-Context Visual Learningcited by 337
- 2022Generalized Decoding for Pixel, Image, and Languagecited by 303
- 2023Demystifying CLIP Datacited by 291
- 2021LoveDA: A Remote Sensing Land-Cover Dataset for Domain Adaptive Semantic Segmentationcited by 281
- 2022Visual Prompting via Image Inpaintingcited by 260
- 2024Rotary Position Embedding for Vision Transformercited by 257
- 2019iSAID: A Large-scale Dataset for Instance Segmentation in Aerial Imagescited by 212
- 2023A Simple Framework for Open-Vocabulary Segmentation and Detectioncited by 204
- 2021Boundary IoU: Improving Object-Centric Image Segmentation Evaluationcited by 202
- 2023SegGPT: Segmenting Everything In Contextcited by 202
- 2023AM-RADIO: Agglomerative Vision Foundation Model -- Reduce All Domains Into Onecited by 194
- 2023Matcher: Segment Anything with One Shot Using All-Purpose Feature Matchingcited by 160
- 2023Alpha-CLIP: A CLIP Model Focusing on Wherever You Wantcited by 156
- 2021Panoptic Segmentation of Satellite Image Time Series with Convolutional Temporal Attention Networkscited by 152
- 2021OpenGAN: Open-Set Recognition via Open Data Generationcited by 137
- 2018Instance-level Human Parsing via Part Grouping Networkcited by 136
- 2021PartImageNet: A Large, High-Quality Dataset of Partscited by 116
50 most cited of 84 All 84 (JSON)
Built on by
Not cited yet.