E-InMeMo: Enhanced Prompting for Visual In-Context Learning
Not on the map. Why?
Abstract (arXiv)
Large-scale models trained on extensive datasets have become the standard due to their strong generalizability across diverse tasks. In-context learning (ICL), widely used in natural language processing, leverages these models by providing task-specific prompts without modifying their parameters. This paradigm is increasingly being adapted for computer vision, where models receive an input-output image pair, known as an in-context pair, alongside a query image to illustrate the desired output. However, the success of visual ICL largely hinges on the quality of these prompts. To address this, we propose Enhanced Instruct Me More (E-InMeMo), a novel approach that incorporates learnable perturbations into in-context pairs to optimize prompting. Through extensive experiments on standard vision tasks, E-InMeMo demonstrates superior performance over existing state-of-the-art methods. Notably, it improves mIoU scores by 7.99 for foreground segmentation and by 17.04 for single object detection when compared to the baseline without learnable prompts. These results highlight E-InMeMo as a lightweight yet effective strategy for enhancing visual ICL. Code is publicly available at: https://github.com/Jackieam/E-InMeMo
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 60 of its 69 references that are in the map. First posted on arXiv 25 Apr 2025.
Builds on
60 of 69 references.
References · 60
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,974
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,386
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
- 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
38 more
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
- 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,253
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,724
- 2021Learning to Prompt for Vision-Language Modelscited by 2,281
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,234
- 2022Visual Prompt Tuningcited by 1,681
- 2022Conditional Prompt Learning for Vision-Language Modelscited by 1,433
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
- 2022Measuring and Narrowing the Compositionality Gap in Language Modelscited by 1,075
- 2021CLIP-Adapter: Better Vision-Language Models with Feature Adapterscited by 1,026
- 2020AdapterFusion: Non-Destructive Task Composition for Transfer Learningcited by 788
- 2023LLaMA-Adapter: Efficient Fine-tuning of Language Models with Zero-init Attentioncited by 781
- 2021Domain Generalization: A Surveycited by 764
- 2022AdaptFormer: Adapting Vision Transformers for Scalable Visual Recognitioncited by 719
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 648
- 2019Kvasir-SEG: A Segmented Polyp Datasetcited by 589
- 2021MetaICL: Learning to Learn In Contextcited by 454
- 2017One-Shot Learning for Semantic Segmentationcited by 337
- 2022Images Speak in Images: A Generalist Painter for In-Context Visual Learningcited by 318
- 2022Exploring Visual Prompts for Adapting Large-Scale Modelscited by 274
- 2022Black-Box Tuning for Language-Model-as-a-Servicecited by 256
- 2022Visual Prompting via Image Inpaintingcited by 250
- 2021PTR: Prompt Tuning with Rules for Text Classificationcited by 238
- 2022Demystifying Prompts in Language Models via Perplexity Estimationcited by 216
- 2023Sequential Modeling Enables Scalable Learning for Large Vision Modelscited by 212
- 2016Skin Lesion Analysis toward Melanoma Detection: A Challenge at the International Symposium on Biomedical Imaging (ISBI) 2016, hosted by the International Skin Imaging Collaboration (ISIC)cited by 198
- 2021Knowledgeable Prompt-tuning: Incorporating Knowledge into Prompt Verbalizer for Text Classificationcited by 183
- 2021Noisy Channel Language Model Prompting for Few-Shot Text Classificationcited by 165
- 2022Instruction Induction: From Few Examples to Natural Language Task Descriptionscited by 152
- 2023What Makes Good Examples for Visual In-Context Learning?cited by 150
- 2018Adversarial Reprogramming of Neural Networkscited by 116
- 2022An Information-theoretic Approach to Prompt Engineering Without Ground Truth Labelscited by 89
- 2022Understanding and Improving Visual Prompting: A Label-Mapping Perspectivecited by 87
- 2020Transfer Learning without Knowing: Reprogramming Black-box Machine Learning Models with Scarce Data and Limited Resourcescited by 83
- 2023BlackVIP: Black-Box Visual Prompting for Robust Transfer Learningcited by 70
- 2022Self-Generated In-Context Learning: Leveraging Auto-regressive Language Models as a Demonstration Generatorcited by 68
- 2023How Do In-Context Examples Affect Compositional Generalization?cited by 51
50 most cited of 60 All 60 (JSON)
Built on by
Citing papers per year: 2026: 1.
1 paper.