mlsanityData to 7 Oct 2026

Exploring Effective Factors for Improving Visual In-Context Learning

arXiv 2304.04748 ↗First posted 10 Apr 2023cs.CVcited by 43

Not on the map. Why?

Abstract (arXiv)

The In-Context Learning (ICL) is to understand a new task via a few demonstrations (aka. prompt) and predict new inputs without tuning the models. While it has been widely studied in NLP, it is still a relatively new area of research in computer vision. To reveal the factors influencing the performance of visual in-context learning, this paper shows that prompt selection and prompt fusion are two major factors that have a direct impact on the inference performance of visual context learning. Prompt selection is the process of identifying the most appropriate prompt or example to help the model understand new tasks. This is important because providing the model with relevant prompts can help it learn more effectively and efficiently. Prompt fusion involves combining knowledge from different positions within the large-scale visual model. By doing this, the model can leverage the diverse knowledge stored in different parts of the model to improve its performance on new tasks. Based these findings, we propose a simple framework prompt-SelF for visual in-context learning. Specifically, we first use the pixel-level retrieval method to select a suitable prompt, and then use different prompt fusion methods to activate all the knowledge stored in the large-scale model, and finally ensemble the prediction results obtained from different prompt fusion methods to obtain the final prediction results. And we conduct extensive experiments on single-object segmentation and detection tasks to demonstrate the effectiveness of prompt-SelF. Remarkably, the prompt-SelF has outperformed OSLSM based meta-learning in 1-shot segmentation for the first time. This indicated the great potential of visual in-context learning. The source code and models will be available at https://github.com/syp2ysy/prompt-SelF.

Key facts. Cited by 43 papers in the map (data through 7 Oct 2026). Builds on 61 of its 86 references that are in the map. First posted on arXiv 10 Apr 2023.

Builds on

61 of 86 references.

References · 61

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  5. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  6. 2022Training language models to follow instructions with human feedbackcited by 15,712
  7. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  8. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  9. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  10. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
  11. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
  12. 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,337
38 more
  1. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
  2. 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,360
  3. 2018Deep contextualized word representationscited by 2,285
  4. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
  5. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
  6. 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
  7. 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,359
  8. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
  9. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
  10. 2022Measuring and Narrowing the Compositionality Gap in Language Modelscited by 1,054
  11. 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
  12. 2022Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learningcited by 886
  13. 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
  14. 2021Learning To Retrieve Prompts for In-Context Learningcited by 641
  15. 2021MetaICL: Learning to Learn In Contextcited by 450
  16. 2019PANet: Few-Shot Image Semantic Segmentation with Prototype Alignmentcited by 449
  17. 2022Unified-IO: A Unified Model for Vision, Language, and Multi-Modal Taskscited by 420
  18. 2021Pix2seq: A Language Modeling Framework for Object Detectioncited by 345
  19. 2017One-Shot Learning for Semantic Segmentationcited by 337
  20. 2022Images Speak in Images: A Generalist Painter for In-Context Visual Learningcited by 317
  21. 2022Context Autoencoder for Self-Supervised Representation Learningcited by 297
  22. 2020Prior Guided Feature Enrichment Network for Few-Shot Segmentationcited by 271
  23. 2019QASC: A Dataset for Question Answering via Sentence Compositioncited by 248
  24. 2022Visual Prompting via Image Inpaintingcited by 248
  25. 2021Adaptive Prototype Learning and Allocation for Few-Shot Segmentationcited by 207
  26. 2022Active Example Selection for In-Context Learningcited by 195
  27. 2021Hypercorrelation Squeeze for Few-Shot Segmentationcited by 193
  28. 2021Noisy Channel Language Model Prompting for Few-Shot Text Classificationcited by 163
  29. 2021Meta-learning via Language Model In-context Tuningcited by 163
  30. 2019FSS-1000: A 1000-Class Dataset for Few-Shot Segmentationcited by 160
  31. 2023What Makes Good Examples for Visual In-Context Learning?cited by 150
  32. 2021Few-Shot Segmentation via Cycle-Consistent Transformercited by 133
  33. 2022Learning What Not to Segment: A New Perspective on Few-Shot Segmentationcited by 120
  34. 2022Ground-Truth Labels Matter: A Deeper Look into Input-Label Demonstrationscited by 116
  35. 2022Cost Aggregation with 4D Convolutional Swin Transformer for Few-Shot Segmentationcited by 114
  36. 2022Self-Support Few-Shot Semantic Segmentationcited by 96
  37. 2023Hierarchical Dense Correlation Distillation for Few-Shot Segmentationcited by 84
  38. 2022On the Effect of Pretraining Corpora on In-context Learning by a Large-scale Language Modelcited by 78

50 most cited of 61 All 61 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 5; 2024: 16; 2025: 14; 2026: 8.

43 papers.

Sort:

By area:

  1. 2024Visual In-Context Learning for Large Vision-Language Modelscited by 124
  2. 2024VidProM: A Million-scale Real Prompt-Gallery Dataset for Text-to-Video Diffusion Modelscited by 124
  3. 2024VRP-SAM: SAM with Visual Reference Promptcited by 75
  4. 2025VisualCloze: A Universal Image Generation Framework via Visual In-Context Learningcited by 39
  5. 2024Image Segmentation in Foundation Model Era: A Surveycited by 35
  6. 2024Self-Calibrated CLIP for Training-Free Open-Vocabulary Segmentationcited by 34
  7. 2023Instruct Me More! Random Prompting for Visual In-Context Learningcited by 30
  8. 2024SketchAgent: Language-Driven Sequential Sketch Generationcited by 30
  9. 2023Unifying Image Processing as Visual Prompting Question Answeringcited by 29
  10. 2023Retrieval-augmented Multi-modal Chain-of-Thoughts Reasoning for Large Language Modelscited by 18
  11. 2025Visual Position Prompt for MLLM based Visual Groundingcited by 16
  12. 2024Towards Global Optimal Visual In-Context Learning Prompt Selectioncited by 15
31 more
  1. 2024Low-Resource Vision Challenges for Foundation Modelscited by 13
  2. 2024Can MLLMs Perform Text-to-Image In-Context Learning?cited by 13
  3. 2024Visual Prompt Selection for In-Context Learning Segmentationcited by 12
  4. 2023Towards More Unified In-context Visual Understandingcited by 10
  5. 2023From Channel Bias to Feature Redundancy: Uncovering the "Less is More" Principle in Few-Shot Learningcited by 9
  6. 2024There is no SAMantics! Exploring SAM as a Backbone for Visual Understanding Taskscited by 7
  7. 2025Embracing Collaboration Over Competition: Condensing Multiple Prompts for Visual In-Context Learningcited by 7
  8. 2024AnyPattern: Towards In-context Image Copy Detectioncited by 5
  9. 2024Efficient In-Context Medical Segmentation with Meta-driven Visual Prompt Selectioncited by 4
  10. 2025U-ViLAR: Uncertainty-Aware Visual Localization for Autonomous Driving via Differentiable Association and Registrationcited by 4
  11. 2025ConText: Driving In-context Learning for Text Removal and Segmentationcited by 3
  12. 2025Is Visual in-Context Learning for Compositional Medical Tasks within Reach?cited by 3
  13. 2025Human-in-Context: Unified Cross-Domain 3D Human Motion Modeling via In-Context Learningcited by 3
  14. 2024AICL: Action In-Context Learning for Video Diffusion Modelcited by 2
  15. 2025Towards Reliable and Holistic Visual In-Context Learning Prompt Selectioncited by 2
  16. 2026SSP-SAM: SAM with Semantic-Spatial Prompt for Referring Expression Segmentationcited by 2
  17. 2026PromptHub: Enhancing Multi-Prompt Visual In-Context Learning with Locality-Aware Fusion, Concentration and Alignmentcited by 2
  18. 2025E-InMeMo: Enhanced Prompting for Visual In-Context Learningcited by 1
  19. 2025MITS: A Large-Scale Multimodal Benchmark Dataset for Intelligent Traffic Surveillancecited by 1
  20. 2025PANICL: Mitigating Over-Reliance on Single Prompt in Visual In-Context Learningcited by 1
  21. 2026Enhancing Visual In-Context Learning by Multi-Faceted Fusioncited by 1
  22. 2024A Simple Framework Uniting Visual In-context Learning with Masked Image Modeling to Improve Ultrasound Segmentationcited by 0
  23. 2024Segment Any Class (SAC): Multi-Class Few-Shot Semantic Segmentation via Class Region Proposalscited by 0
  24. 2025Time-Contrastive Pretraining for In-Context Image and Video Segmentationcited by 0
  25. 2025Cycle Context Verification for In-Context Medical Image Segmentationcited by 0
  26. 2025FlexICL: A Flexible Visual In-context Learning Framework for Elbow and Wrist Ultrasound Segmentationcited by 0
  27. 2026Beyond Single Prompts: Synergistic Fusion and Arrangement for VICLcited by 0
  28. 2026Love Me, Love My Label: Rethinking the Role of Labels in Prompt Retrieval for Visual In-Context Learningcited by 0
  29. 2026Explaining is Harder Than Predicting Alone: Evaluating Concept-based Explanations of MLLMs as ICL Visual Classifierscited by 0
  30. 2026Hyper-ICL: Attention Calibration with Hyperbolic Anchor Distillation for Multimodal In-Context Learningcited by 0
  31. 2026PromptPath: Prompt-Adaptive Computational Pathways for In-Context Learningcited by 0