GRIP: Feedback-Guided Prompt Retrieval for Large Multimodal Models
On the map: Multimodal LLMs / vision-language models → Document understanding and multimodal RAG
Abstract (arXiv)
In-Context Learning (ICL) has become a powerful mechanism for adapting Large Language Models (LLMs) to new tasks without fine-tuning. Extending this concept to Large Multimodal Models (LMMs), Multimodal In-Context Learning (M-ICL) relies on retrieving relevant examples, such as images, captions, or question-answer pairs, to guide predictions across tasks like classification, captioning, and visual question answering (VQA). Most existing approaches select in-context examples based on feature-space similarity, assuming that semantically similar samples provide the most useful context. However, our systematic analysis reveals that this assumption does not always hold: visually similar examples are not necessarily those that most effectively enhance in-context learning performance. To address this, we propose the Guided Retrieval of In-context Prompts (GRIP), a learnable vision-only retrieval framework that leverages feedback from LMMs to identify examples that truly improve model predictions. GRIP learns to distinguish beneficial from detrimental in-context examples through contrastive training, refining retrieval beyond pure similarity. Across three multimodal tasks, namely classification, captioning, and VQA, GRIP improves consistently over similarity-based retrieval on Qwen2.5-VL-7B, with its strongest gains in classification on Idefics2-8B. Moreover, we demonstrate that retrievers trained with feedback from one open LMM can be transferred to other models without retraining, including closed-source GPT-4o and Gemini, enabling scalable and cost-efficient deployment of M-ICL. Code will be published upon acceptance.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Document understanding and multimodal RAG, one of 16 directions in Multimodal LLMs / vision-language models. Builds on 22 of its 24 references that are in the map. First posted on arXiv 10 Jun 2026.
Builds on
22 of 24 references.
Closest ancestors · 1
Same direction, newest first
Other references · 21
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,386
- 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,152
- 2020Supervised Contrastive Learningcited by 2,829
- 2013Describing Textures in the Wildcited by 2,125
- 2022Learn to Explain: Multimodal Reasoning via Thought Chains for Science Question Answeringcited by 1,919
- 2015Microsoft COCO Captions: Data Collection and Evaluation Servercited by 1,462
- 2023SEED-Bench: Benchmarking Multimodal LLMs with Generative Comprehensioncited by 940
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 648
- 2024What matters when building vision-language models?cited by 326
9 more
- 2021VL-Adapter: Parameter-Efficient Transfer Learning for Vision-and-Language Taskscited by 320
- 2021An Empirical Study of GPT-3 for Few-Shot Knowledge-Based VQAcited by 301
- 2023MMICL: Empowering Vision-language Model with Multi-Modal In-Context Learningcited by 172
- 2023Dr.ICL: Demonstration-Retrieved In-context Learningcited by 72
- 2023Learning to Retrieve In-Context Examples for Large Language Modelscited by 60
- 2023Can Multimodal Large Language Models Truly Perform Multimodal In-Context Learning?cited by 34
- 2025Syntriever: How to Train Your Retriever with Synthetic Data from LLMscited by 11
- 2024Demonstration Selection for In-Context Learning via Reinforcement Learningcited by 8
- 2026Retrieving Counterfactuals Improves Visual In-Context Learningcited by 4
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2025Unveiling Effective In-Context Configurations for Image Captioning: An External & Internal Analysis
- 2025ContextNav: Towards Agentic Multimodal In-Context Learning
- 2025What do vision-language models see in the context? Investigating multimodal in-context learning
- 2025True Multimodal In-Context Learning Needs Attention to the Visual Context
- 2026Why Multimodal In-Context Learning Lags Behind? Unveiling the Inner Mechanisms and Bottlenecks
- 2023Link-Context Learning for Multimodal LLMs
- 2024What Makes Multimodal In-Context Learning Work?
- 2026Two Vectors Replace In-Context Demos: Structured Task Adaptation via Embeddings