M2IV: Towards Efficient and Fine-grained Multimodal In-Context Learning via Representation Engineering
On the map: Multimodal LLMs / vision-language models → MLLM training and visual instruction tuning
Abstract (arXiv)
Multimodal in-context learning (ICL) equips Large Vision-language Models (LVLMs) with the ability to adapt to new tasks via multiple user-provided demonstrations, without requiring any model parameter updates. However, its effectiveness is constrained by the token-intensive nature of multimodal inputs and the complexity of cross-modal few-shot reasoning, which together hinder LVLMs from extracting useful patterns from demonstrations. To address these challenges, we propose M2IV, a novel representation engineering approach that replaces explicit token-level demonstrations with a set of learnable Multimodal In-context Vectors directly injected into the residual streams of LVLMs. By analyzing the distinct roles of multi-head attention (MHA) and multi-layer perceptrons (MLP) in the ICL process, we design a training strategy that enables M2IV to perform fine-grained semantic distillation and robust cross-modal representation learning. M2IV not only improves performance across diverse tasks and LVLMs but also significantly reduces token overhead, enabling graceful scaling to many-shot scenarios. To further enhance usability, we introduce VLibrary, a repository that stores trained M2IVs for flexible retrieval and injection. With VLibrary, users can steer pre-trained LVLMs in a customized manner that meets diverse requirements. Extensive experiments demonstrate that M2IV consistently outperforms vanilla ICL and prior representation engineering baselines, achieving an average accuracy gain of 3.74% with substantial improvements in overall efficiency.
Key facts. Cited by 35 papers in the map (data through 14 Oct 2026). Placed in MLLM training and visual instruction tuning, one of 16 directions in Multimodal LLMs / vision-language models. Builds on 44 of its 55 references that are in the map. First posted on arXiv 6 Apr 2025.
Builds on
44 of 55 references.
Closest ancestors · 5
Same direction, newest first
- 2025Advancing Multimodal In-Context Learning in Large Vision-Language Models with Task-aware Demonstrations5 Mar
- 2024Expanding Performance Boundaries of Open-Source Multimodal Models with Model, Data, and Test-Time Scaling6 Dec
- 2024LLaVA-OneVision: Easy Visual Task Transfer6 Aug
- 2024MIBench: Evaluating Multimodal Large Language Models over Multiple Images21 Jul
- 2023OBELICS: An Open Web-Scale Filtered Dataset of Interleaved Image-Text Documents21 Jun
Other references · 39
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2023Visual Instruction Tuningcited by 7,869
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2025Qwen2.5-VL Technical Reportcited by 5,587
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
- 2016Making the V in VQA Matter: Elevating the Role of Image Understanding in Visual Question Answeringcited by 2,516
- 2021Learning to Prompt for Vision-Language Modelscited by 2,281
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
- 2019OK-VQA: A Visual Question Answering Benchmark Requiring External Knowledgecited by 1,121
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 938
27 more
- 2018VizWiz Grand Challenge: Answering Visual Questions from Blind Peoplecited by 858
- 2023Vision-Language Models for Vision Tasks: A Surveycited by 839
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 715
- 2022A-OKVQA: A Benchmark for Visual Question Answering using World Knowledgecited by 710
- 2023OpenFlamingo: An Open-Source Framework for Training Large Autoregressive Vision-Language Modelscited by 565
- 2020The Hateful Memes Challenge: Detecting Hate Speech in Multimodal Memescited by 490
- 2024What matters when building vision-language models?cited by 326
- 2023In-Context Learning Creates Task Vectorscited by 312
- 2023Function Vectors in Large Language Modelscited by 308
- 2024Long-CLIP: Unlocking the Long-Text Capability of CLIPcited by 300
- 2023MM-SafetyBench: A Benchmark for Safety Evaluation of Multimodal Large Language Modelscited by 274
- 2023In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steeringcited by 245
- 2023Label Words are Anchors: An Information Flow Perspective for Understanding In-Context Learningcited by 236
- 2022Why Can GPT Learn In-Context? Language Models Implicitly Perform Gradient Descent as Meta-Optimizerscited by 204
- 2024Vision-Language Models for Medical Report Generation and Visual Question Answering: A Reviewcited by 125
- 2024CVQA: Culturally-diverse Multilingual Visual Question Answering Benchmarkcited by 120
- 2024Multi-IF: Benchmarking LLMs on Multi-Turn and Multilingual Instructions Followingcited by 102
- 2023Language Models Implement Simple Word2Vec-style Vector Arithmeticcited by 98
- 2022Finding Skill Neurons in Pre-trained Transformer-based Language Modelscited by 66
- 2023Exploring Diverse In-Context Configurations for Image Captioningcited by 63
- 2024RULE: Reliable Multimodal RAG for Factuality in Medical Vision Language Modelscited by 60
- 2023How to Configure Good In-Context Sequence for Visual Question Answeringcited by 33
- 2024What Factors Affect Multi-Modal In-Context Learning? An In-Depth Explorationcited by 31
- 2024Implicit In-context Learningcited by 11
- 2024MIND: Multimodal Shopping Intention Distillation from Large Vision-language Models for E-commerce Purchase Understandingcited by 10
- 2024When Parts Are Greater Than Sums: Individual LLM Components Can Outperform Full Modelscited by 6
- 2024II-MMR: Identifying and Improving Multi-modal Multi-hop Reasoning in Visual Question Answeringcited by 4
Built on by
Citing papers per year: 2025: 14; 2026: 21.
35 papers.
Sort:
By area:
- 2025UniCTokens: Boosting Personalized Understanding and Generation via Unified Concept Tokenscited by 56
- 2025UniME-V2: MLLM-as-a-Judge for Universal Multimodal Embedding Learningcited by 42
- 2025TACO: Enhancing Multimodal In-context Learning via Task Mapping-Guided Sequence Configurationcited by 23
- 2025Causal Tracing of Object Representations in Large Vision Language Models: Mechanistic Interpretability and Hallucination Mitigationcited by 23
- 2026TEMA: Anchor the Image, Follow the Text for Multi-Modification Composed Image Retrievalcited by 15
- 2026Steering Vector Fields for Context-Aware Inference-Time Control in Large Language Modelscited by 13
- 2025CentaurEval: Benchmarking Human-in-the-Loop Value in Agentic Codingcited by 12
- 2025Hy-Facial: Hybrid Feature Extraction by Dimensionality Reduction Methods for Enhanced Facial Expression Classificationcited by 10
- 2025MRFD: Multi-Region Fusion Decoding with Self-Consistency for Mitigating Hallucinations in LVLMscited by 9
- 2025Train Once, Reuse Everywhere: Generalizable Implicit In-Context Learning by Routing Attentioncited by 8
- 2025FakeSV-VLM: Taming VLM for Detecting Fake Short-Video News via Progressive Mixture-Of-Experts Adaptercited by 7
- 2026Instruction Anchor: Dissecting the Mechanistic Dynamics of Modality Arbitrationcited by 6
23 more
- 2026ActorMind: Emulating Human Actor Reasoning for Speech Role-Playingcited by 4
- 2025U2UData+: A Scalable Swarm UAVs Autonomous Flight Dataset for Embodied Long-horizon Taskscited by 3
- 2026HotComment: A Benchmark for Evaluating Popularity of Online Commentscited by 3
- 2026MM-StanceDet: Retrieval-Augmented Multi-modal Multi-agent Stance Detectioncited by 3
- 2026Personalize Your Large Vision-language Models With In-context Prompt Tuningcited by 3
- 2026Enhancing Multimodal In-Context Learning via Inductive-Deductive Reasoningcited by 2
- 2026A2TGPO: Agentic Turn-Group Policy Optimization with Adaptive Turn-level Clippingcited by 2
- 2025STARE at the Structure: Steering ICL Exemplar Selection with Structural Alignmentcited by 1
- 2026HIFICL: High-Fidelity In-Context Learning for Multimodal Taskscited by 1
- 2026Balancing Multimodal Domain Generalization via Gradient Modulation and Projectioncited by 1
- 2026Hyper-ICL: Attention Calibration with Hyperbolic Anchor Distillation for Multimodal In-Context Learningcited by 1
- 2026Beyond Surface Imitation: Contrastive Modeling for Reasoning Path Alignment in Multimodal In-Context Learningcited by 1
- 2025ModRWKV: Transformer Multimodality in Linear Timecited by 0
- 2025Zero-shot Cross-lingual NER via Mitigating Language Difference: An Entity-aligned Translation Perspectivecited by 0
- 2025Two Heads are Better than One: Distilling Large Language Model Features Into Small Models with Feature Decomposition and Mixturecited by 0
- 2026UniCreative: Unifying Long-form Logic and Short-form Sparkle via Reference-Free Reinforcement Learningcited by 0
- 2026Neutral-Reference Prompting for Vision-Language Modelscited by 0
- 2026Criterion-Conditional In-Context Learning: Evaluating Criterion-Shift Adaptation in Vision-Language Modelscited by 0
- 2026Grounding latent algorithm routing in transformer reasoningcited by 0
- 2026When Is a Task Vector Enough? An Empirical Theory of Implicit Multimodal ICLcited by 0
- 2026Taming Visual Neglect: A Variational Information Bottleneck Framework for Adaptive Attention in Multimodal In-Context Learningcited by 0
- 2026Efficient Task Adaptation in Large Language Models: A Survey of Weight-Based, Prompt-Based, and Embedding-Based Adaptationscited by 0
- 2026Two Vectors Replace In-Context Demos: Structured Task Adaptation via Embeddingscited by 0
- 2026Two Vectors Replace In-Context Demos: Structured Task Adaptation via Embeddings6 Oct 2026
- 2026Efficient Task Adaptation in Large Language Models: A Survey of Weight-Based, Prompt-Based, and Embedding-Based Adaptations1 Oct 2026
- 2026Beyond Surface Imitation: Contrastive Modeling for Reasoning Path Alignment in Multimodal In-Context Learning9 Sep 2026
- 2026When Is a Task Vector Enough? An Empirical Theory of Implicit Multimodal ICL13 Aug 2026
- 2026Grounding latent algorithm routing in transformer reasoning27 Jul 2026
- 2026Criterion-Conditional In-Context Learning: Evaluating Criterion-Shift Adaptation in Vision-Language Models30 Jun 2026
- 2026Taming Visual Neglect: A Variational Information Bottleneck Framework for Adaptive Attention in Multimodal In-Context Learning14 Jun 2026
- 2026Hyper-ICL: Attention Calibration with Hyperbolic Anchor Distillation for Multimodal In-Context Learning3 Jun 2026
- 2026Personalize Your Large Vision-language Models With In-context Prompt Tuning29 May 2026
- 2026Neutral-Reference Prompting for Vision-Language Models15 May 2026
- 2026A2TGPO: Agentic Turn-Group Policy Optimization with Adaptive Turn-level Clipping7 May 2026
- 2026Enhancing Multimodal In-Context Learning via Inductive-Deductive Reasoning4 May 2026
23 more
- 2026MM-StanceDet: Retrieval-Augmented Multi-modal Multi-agent Stance Detection30 Apr 2026
- 2026HotComment: A Benchmark for Evaluating Popularity of Online Comments28 Apr 2026
- 2026TEMA: Anchor the Image, Follow the Text for Multi-Modification Composed Image Retrieval23 Apr 2026
- 2026ActorMind: Emulating Human Actor Reasoning for Speech Role-Playing13 Apr 2026
- 2026UniCreative: Unifying Long-form Logic and Short-form Sparkle via Reference-Free Reinforcement Learning7 Apr 2026
- 2026Balancing Multimodal Domain Generalization via Gradient Modulation and Projection15 Mar 2026
- 2026HIFICL: High-Fidelity In-Context Learning for Multimodal Tasks13 Mar 2026
- 2026Instruction Anchor: Dissecting the Mechanistic Dynamics of Modality Arbitration3 Feb 2026
- 2026Steering Vector Fields for Context-Aware Inference-Time Control in Large Language Models2 Feb 2026
- 2025CentaurEval: Benchmarking Human-in-the-Loop Value in Agentic Coding30 Nov 2025
- 2025Two Heads are Better than One: Distilling Large Language Model Features Into Small Models with Feature Decomposition and Mixture10 Nov 2025
- 2025Causal Tracing of Object Representations in Large Vision Language Models: Mechanistic Interpretability and Hallucination Mitigation8 Nov 2025
- 2025UniME-V2: MLLM-as-a-Judge for Universal Multimodal Embedding Learning15 Oct 2025
- 2025Hy-Facial: Hybrid Feature Extraction by Dimensionality Reduction Methods for Enhanced Facial Expression Classification30 Sep 2025
- 2025Train Once, Reuse Everywhere: Generalizable Implicit In-Context Learning by Routing Attention26 Sep 2025
- 2025Zero-shot Cross-lingual NER via Mitigating Language Difference: An Entity-aligned Translation Perspective1 Sep 2025
- 2025STARE at the Structure: Steering ICL Exemplar Selection with Structural Alignment28 Aug 2025
- 2025FakeSV-VLM: Taming VLM for Detecting Fake Short-Video News via Progressive Mixture-Of-Experts Adapter27 Aug 2025
- 2025U2UData+: A Scalable Swarm UAVs Autonomous Flight Dataset for Embodied Long-horizon Tasks25 Aug 2025
- 2025MRFD: Multi-Region Fusion Decoding with Self-Consistency for Mitigating Hallucinations in LVLMs14 Aug 2025
- 2025TACO: Enhancing Multimodal In-context Learning via Task Mapping-Guided Sequence Configuration21 May 2025
- 2025UniCTokens: Boosting Personalized Understanding and Generation via Unified Concept Tokens20 May 2025
- 2025ModRWKV: Transformer Multimodality in Linear Time20 May 2025
- 2025TACO: Enhancing Multimodal In-context Learning via Task Mapping-Guided Sequence Configurationcited by 23
- 2025Causal Tracing of Object Representations in Large Vision Language Models: Mechanistic Interpretability and Hallucination Mitigationcited by 23
- 2026Personalize Your Large Vision-language Models With In-context Prompt Tuningcited by 3
- 2026HIFICL: High-Fidelity In-Context Learning for Multimodal Taskscited by 1
- 2026Hyper-ICL: Attention Calibration with Hyperbolic Anchor Distillation for Multimodal In-Context Learningcited by 1
- 2026Neutral-Reference Prompting for Vision-Language Modelscited by 0
- 2026Criterion-Conditional In-Context Learning: Evaluating Criterion-Shift Adaptation in Vision-Language Modelscited by 0
- 2026Taming Visual Neglect: A Variational Information Bottleneck Framework for Adaptive Attention in Multimodal In-Context Learningcited by 0
- 2026Two Vectors Replace In-Context Demos: Structured Task Adaptation via Embeddingscited by 0
- 2026Two Vectors Replace In-Context Demos: Structured Task Adaptation via Embeddings6 Oct 2026
- 2026Criterion-Conditional In-Context Learning: Evaluating Criterion-Shift Adaptation in Vision-Language Models30 Jun 2026
- 2026Taming Visual Neglect: A Variational Information Bottleneck Framework for Adaptive Attention in Multimodal In-Context Learning14 Jun 2026
- 2026Hyper-ICL: Attention Calibration with Hyperbolic Anchor Distillation for Multimodal In-Context Learning3 Jun 2026
- 2026Personalize Your Large Vision-language Models With In-context Prompt Tuning29 May 2026
- 2026Neutral-Reference Prompting for Vision-Language Models15 May 2026
- 2026HIFICL: High-Fidelity In-Context Learning for Multimodal Tasks13 Mar 2026
- 2025Causal Tracing of Object Representations in Large Vision Language Models: Mechanistic Interpretability and Hallucination Mitigation8 Nov 2025
- 2025TACO: Enhancing Multimodal In-context Learning via Task Mapping-Guided Sequence Configuration21 May 2025
- 2025MRFD: Multi-Region Fusion Decoding with Self-Consistency for Mitigating Hallucinations in LVLMscited by 9
- 2026Enhancing Multimodal In-Context Learning via Inductive-Deductive Reasoningcited by 2
- 2026Beyond Surface Imitation: Contrastive Modeling for Reasoning Path Alignment in Multimodal In-Context Learningcited by 1
- 2026Grounding latent algorithm routing in transformer reasoningcited by 0
- 2026Beyond Surface Imitation: Contrastive Modeling for Reasoning Path Alignment in Multimodal In-Context Learning9 Sep 2026
- 2026Grounding latent algorithm routing in transformer reasoning27 Jul 2026
- 2026Enhancing Multimodal In-Context Learning via Inductive-Deductive Reasoning4 May 2026
- 2025MRFD: Multi-Region Fusion Decoding with Self-Consistency for Mitigating Hallucinations in LVLMs14 Aug 2025
- 2025UniCTokens: Boosting Personalized Understanding and Generation via Unified Concept Tokenscited by 56
- 2025UniME-V2: MLLM-as-a-Judge for Universal Multimodal Embedding Learningcited by 42
- 2026TEMA: Anchor the Image, Follow the Text for Multi-Modification Composed Image Retrievalcited by 15
- 2025Hy-Facial: Hybrid Feature Extraction by Dimensionality Reduction Methods for Enhanced Facial Expression Classificationcited by 10
- 2025Train Once, Reuse Everywhere: Generalizable Implicit In-Context Learning by Routing Attentioncited by 8
- 2026Instruction Anchor: Dissecting the Mechanistic Dynamics of Modality Arbitrationcited by 6
- 2026ActorMind: Emulating Human Actor Reasoning for Speech Role-Playingcited by 4
- 2025U2UData+: A Scalable Swarm UAVs Autonomous Flight Dataset for Embodied Long-horizon Taskscited by 3
- 2026HotComment: A Benchmark for Evaluating Popularity of Online Commentscited by 3
- 2025STARE at the Structure: Steering ICL Exemplar Selection with Structural Alignmentcited by 1
- 2026Balancing Multimodal Domain Generalization via Gradient Modulation and Projectioncited by 1
- 2025ModRWKV: Transformer Multimodality in Linear Timecited by 0
12 most cited of 15 All 15 (JSON)
- 2026Efficient Task Adaptation in Large Language Models: A Survey of Weight-Based, Prompt-Based, and Embedding-Based Adaptations1 Oct 2026
- 2026When Is a Task Vector Enough? An Empirical Theory of Implicit Multimodal ICL13 Aug 2026
- 2026HotComment: A Benchmark for Evaluating Popularity of Online Comments28 Apr 2026
- 2026TEMA: Anchor the Image, Follow the Text for Multi-Modification Composed Image Retrieval23 Apr 2026
- 2026ActorMind: Emulating Human Actor Reasoning for Speech Role-Playing13 Apr 2026
- 2026Balancing Multimodal Domain Generalization via Gradient Modulation and Projection15 Mar 2026
- 2026Instruction Anchor: Dissecting the Mechanistic Dynamics of Modality Arbitration3 Feb 2026
- 2025UniME-V2: MLLM-as-a-Judge for Universal Multimodal Embedding Learning15 Oct 2025
- 2025Hy-Facial: Hybrid Feature Extraction by Dimensionality Reduction Methods for Enhanced Facial Expression Classification30 Sep 2025
- 2025Train Once, Reuse Everywhere: Generalizable Implicit In-Context Learning by Routing Attention26 Sep 2025
- 2025Zero-shot Cross-lingual NER via Mitigating Language Difference: An Entity-aligned Translation Perspective1 Sep 2025
- 2025STARE at the Structure: Steering ICL Exemplar Selection with Structural Alignment28 Aug 2025
12 newest of 15 All 15 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2024Towards Multimodal In-Context Learning for Vision & Language Models
- 2025What do vision-language models see in the context? Investigating multimodal in-context learning
- 2025Mimicking or Reasoning: Rethinking Multi-Modal In-Context Learning in Vision-Language Models
- 2024From Introspection to Best Practices: Principled Analysis of Demonstrations in Multimodal In-Context Learning
- 2023Towards More Unified In-context Visual Understanding
- 2024AIM: Let Any Multi-modal Large Language Models Embrace Efficient In-Context Learning
- 2025Make LVLMs Focus: Context-Aware Attention Modulation for Better Multimodal In-Context Learning
- 2026UniICL: Systematizing Unified Multimodal In-context Learning through a Capability-Oriented Taxonomy