Visual Prompt Selection for In-Context Learning Segmentation
Not on the map. Why?
Abstract (arXiv)
As a fundamental and extensively studied task in computer vision, image segmentation aims to locate and identify different semantic concepts at the pixel level. Recently, inspired by In-Context Learning (ICL), several generalist segmentation frameworks have been proposed, providing a promising paradigm for segmenting specific objects. However, existing works mostly ignore the value of visual prompts or simply apply similarity sorting to select contextual examples. In this paper, we focus on rethinking and improving the example selection strategy. By comprehensive comparisons, we first demonstrate that ICL-based segmentation models are sensitive to different contexts. Furthermore, empirical evidence indicates that the diversity of contextual prompts plays a crucial role in guiding segmentation. Based on the above insights, we propose a new stepwise context search method. Different from previous works, we construct a small yet rich candidate pool and adaptively search the well-matched contexts. More importantly, this method effectively reduces the annotation cost by compacting the search space. Extensive experiments show that our method is an effective strategy for selecting examples and enhancing segmentation performance.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 38 of its 56 references that are in the map. First posted on arXiv 14 Jul 2024.
Builds on
38 of 56 references.
References · 38
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2023Segment Anythingcited by 8,158
- 2017Mask R-CNNcited by 7,259
- 2014Fully Convolutional Networks for Semantic Segmentationcited by 4,845
- 2015SegNet: A Deep Convolutional Encoder-Decoder Architecture for Image Segmentationcited by 1,483
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
26 more
- 2017Bottom-Up and Top-Down Attention for Image Captioning and Visual Question Answeringcited by 1,310
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
- 2022Automatic Chain of Thought Prompting in Large Language Modelscited by 684
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 641
- 2022InternImage: Exploring Large-Scale Vision Foundation Models with Deformable Convolutionscited by 479
- 2017One-Shot Learning for Semantic Segmentationcited by 337
- 2022Images Speak in Images: A Generalist Painter for In-Context Visual Learningcited by 317
- 2021TransFuse: Fusing Transformers and CNNs for Medical Image Segmentationcited by 258
- 2022Visual Prompting via Image Inpaintingcited by 248
- 2022Selective Annotation Makes Language Models Better Few-Shot Learnerscited by 242
- 2020Multi-task Collaborative Network for Joint Referring Expression Comprehension and Segmentationcited by 204
- 2019iSAID: A Large-scale Dataset for Instance Segmentation in Aerial Imagescited by 195
- 2023SegGPT: Segmenting Everything In Contextcited by 193
- 2022In-context Examples Selection for Machine Translationcited by 172
- 2023What Makes Good Examples for Visual In-Context Learning?cited by 150
- 2023Compositional Exemplars for In-context Learningcited by 143
- 2023Unified Demonstration Retriever for In-Context Learningcited by 141
- 2022Cost Aggregation with 4D Convolutional Swin Transformer for Few-Shot Segmentationcited by 114
- 2020Scalable Active Learning for Object Detectioncited by 58
- 2016A Haar Wavelet-Based Perceptual Similarity Index for Image Quality Assessmentcited by 57
- 2023Exploring Effective Factors for Improving Visual In-Context Learningcited by 43
- 2020Real-time Fusion Network for RGB-D Semantic Segmentation Incorporating Unexpected Obstacle Detection for Road-driving Imagescited by 36
- 2023H2RBox-v2: Incorporating Symmetry for Boosting Horizontal Box Supervised Oriented Object Detectioncited by 28
- 2021Unsupervised Selective Labeling for More Effective Semi-Supervised Learningcited by 27
- 2020Semantic Object Prediction and Spatial Sound Super-Resolution with Binaural Soundscited by 26
- 2023S3C: Semi-Supervised VQA Natural Language Explanation via Self-Critical Learningcited by 10
Built on by
Citing papers per year: 2024: 1; 2025: 8; 2026: 3.
12 papers.
- 2025A Survey on Progress in LLM Alignment from the Perspective of Reward Designcited by 15
- 2024Unleashing In-context Learning of Autoregressive Models for Few-shot Image Manipulationcited by 13
- 2025ContextNav: Towards Agentic Multimodal In-Context Learningcited by 9
- 2025Embracing Collaboration Over Competition: Condensing Multiple Prompts for Visual In-Context Learningcited by 7
- 2025Unlocking In-Context Learning for Natural Datasets Beyond Language Modellingcited by 4
- 2025Omni-Referring Image Segmentationcited by 2
- 2025E-InMeMo: Enhanced Prompting for Visual In-Context Learningcited by 1
- 2025PANICL: Mitigating Over-Reliance on Single Prompt in Visual In-Context Learningcited by 1
- 2025Cycle Context Verification for In-Context Medical Image Segmentationcited by 0
- 2026Toward Robust In-Context Segmentation via Concept Guidancecited by 0
- 2026In-Context Learning for Wound Classification with Small Multimodal Language Modelscited by 0
- 2026SOS! : A Streamlined Object-Conditional Transformer for Model-free Segmentationcited by 0
- 2026SOS! : A Streamlined Object-Conditional Transformer for Model-free Segmentation15 Aug 2026
- 2026In-Context Learning for Wound Classification with Small Multimodal Language Models21 Jul 2026
- 2026Toward Robust In-Context Segmentation via Concept Guidance26 Jun 2026
- 2025Omni-Referring Image Segmentation7 Dec 2025
- 2025ContextNav: Towards Agentic Multimodal In-Context Learning6 Oct 2025
- 2025PANICL: Mitigating Over-Reliance on Single Prompt in Visual In-Context Learning26 Sep 2025
- 2025Cycle Context Verification for In-Context Medical Image Segmentation11 Jul 2025
- 2025A Survey on Progress in LLM Alignment from the Perspective of Reward Design5 May 2025
- 2025Embracing Collaboration Over Competition: Condensing Multiple Prompts for Visual In-Context Learning30 Apr 2025
- 2025E-InMeMo: Enhanced Prompting for Visual In-Context Learning25 Apr 2025
- 2025Unlocking In-Context Learning for Natural Datasets Beyond Language Modelling9 Jan 2025
- 2024Unleashing In-context Learning of Autoregressive Models for Few-shot Image Manipulation2 Dec 2024