[Paper Review] Visual In-Context Learning for Large Vision-Language Models
The paper introduces Visual In-Context Learning (VICL) to enhance LVLMs by using Visual Demonstration Retrieval, Intent-Oriented Image Summarization, and Intent-Oriented Demonstration Composition, improving cross-modal reasoning and enabling in-context unlearning.
In Large Visual Language Models (LVLMs), the efficacy of In-Context Learning (ICL) remains limited by challenges in cross-modal interactions and representation disparities. To overcome these challenges, we introduce a novel Visual In-Context Learning (VICL) method comprising Visual Demonstration Retrieval, Intent-Oriented Image Summarization, and Intent-Oriented Demonstration Composition. Our approach retrieves images via ''Retrieval & Rerank'' paradigm, summarises images with task intent and task-specific visual parsing, and composes language-based demonstrations that reduce token count and alleviate cross-modal interaction problem. Experimental evaluations on five visual reasoning datasets demonstrate the effectiveness of our method. Moreover, our extensive experiments leverage information flow analysis to elucidate the effectiveness of our method, and investigate the impact of length and position of demonstrations for LVLM. The use of in-context unlearning further shows promise in resetting specific model knowledge without retraining.
Motivation & Objective
- Motivate and address cross-modal interaction and representation gaps in LVLM in-context learning (ICL).
- Propose VICL with three components: Visual Demonstration Retrieval, Intent-Oriented Image Summarization, and Intent-Oriented Demonstration Composition.
- Show that VICL improves LVLM accuracy across five visual reasoning datasets and analyze information flow and demonstration length/ordering.
- Demonstrate in-context unlearning capabilities without model retraining.
Proposed method
- Visual Demonstration Retrieval uses a pre-trained image encoder to retrieve candidate demonstrations and a textual reranking with a VL-Enc model to refine relevance.
- Intent-Oriented Image Summarization (IOIS) generates task-intent aligned visual summaries from image-question-answer triplets to reduce cognitive load on LVLMs.
- Intent-Oriented Demonstration Composition (IODC) replaces images with image summaries in demonstrations and concatenates S_i, Q_i, A_i into unified demonstrations to enrich context under token limits.
- An information flow analysis (Taylor expansion-based saliency) evaluates how VICL shifts attention and information across layers and heads.
- In-context unlearning experiments test the model’s ability to discard mislabeled information via demonstrations without retraining.
Experimental results
Research questions
- RQ1Does VICL outperform standard ICL and zero-shot prompts across multiple LVLMs and visual reasoning datasets?
- RQ2How do visual demonstration retrieval, image summarization, and demonstration composition contribute to performance gains?
- RQ3What is the impact of demonstration length, order, and the type of visual summarization on LVLMs?
- RQ4Can VICL enable in-context unlearning effectively without model updates?
Key findings
- VICL consistently outperforms Zero-Shot and ICL across all four LVLMs and five datasets.
- IOIS-based summarization (and its variants) yields the best results, with IOIS achieving the highest gains.
- Increasing the number of demonstrations generally benefits VICL more than ICL, with diminishing returns for ICL.
- Demonstration order, especially head and tail positions, significantly affects accuracy across datasets.
- In-context unlearning: VICL achieves the highest unlearning accuracy, showing robustness to mislabeled demonstrations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.