mlsanityData to 14 Oct 2026

Adapting Large Multimodal Models to Distribution Shifts: The Role of In-Context Learning

arXiv 2405.12217 ↗First posted 20 May 2024cs.CV cs.AI cs.LGcited by 4

On the map: Multimodal LLMs / vision-language models → MLLM training and visual instruction tuning

Abstract (arXiv)

Recent studies indicate that large multimodal models (LMMs) potentially act as general-purpose assistants and are highly robust against different distributions. Despite this, domain-specific adaptation is still necessary particularly in specialized areas like healthcare. Due to the impracticality of fine-tuning LMMs given their vast parameter space, this work investigates in-context learning (ICL) as an effective alternative for enhancing LMMs' adaptability. Our study addresses this by evaluating an unsupervised ICL method which selects in-context examples through a nearest example search based on feature similarity. We uncover that its effectiveness is limited by the deficiencies of pre-trained vision encoders under distribution shift scenarios. To address these challenges, we propose InvariantSelectPR, a novel method leveraging Class-conditioned Contrastive Invariance (CCI) for more robust demonstration selection. Specifically, CCI enhances pre-trained vision encoders by improving their discriminative capabilities across different classes and ensuring invariance to domain-specific variations. This enhancement allows the encoders to effectively identify and retrieve the most informative examples, which are then used to guide LMMs in adapting to new query samples under varying distributions. Our experiments show that InvariantSelectPR substantially improves the adaptability of LMMs, achieving significant performance gains on benchmark datasets, with a 34.2%uparrow accuracy increase in 7-shot on Camelyon17 and 16.9%uparrow increase in 7-shot on HAM10000 compared to the baseline zero-shot performance.

Key facts. Cited by 4 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 57 of its 76 references that are in the map. First posted on arXiv 20 May 2024.

Builds on

57 of 76 references.

Closest ancestors · 2

Same direction, newest first

  1. 2023The Dawn of LMMs: Preliminary Explorations with GPT-4V(ision)29 Sep
  2. 2023OBELICS: An Open Web-Scale Filtered Dataset of Interleaved Image-Text Documents21 Jun

Other references · 55

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  5. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
  6. 2023Visual Instruction Tuningcited by 7,869
  7. 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,386
  8. 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
  9. 2022Emergent Abilities of Large Language Modelscited by 2,512
  10. 2014Unsupervised Domain Adaptation by Backpropagationcited by 1,917
  11. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,434
  12. 2018Moment Matching for Multi-Source Domain Adaptationcited by 1,331
38 more
  1. 2016Deep CORAL: Correlation Alignment for Deep Domain Adaptationcited by 1,200
  2. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
  3. 2017Deep Hashing Network for Unsupervised Domain Adaptationcited by 1,188
  4. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
  5. 2020In Search of Lost Domain Generalizationcited by 1,054
  6. 2017ChestX-ray8: Hospital-scale Chest X-ray Database and Benchmarks on Weakly-Supervised Classification and Localization of Common Thorax Diseasescited by 972
  7. 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 938
  8. 2021Generalizing to Unseen Domains: A Survey on Domain Generalizationcited by 766
  9. 2021Domain Generalization: A Surveycited by 764
  10. 2017Learning to Generalize: Meta-Learning for Domain Generalizationcited by 763
  11. 2018Generalizing to Unseen Domains via Adversarial Data Augmentationcited by 451
  12. 2019Domain Generalization by Solving Jigsaw Puzzlescited by 450
  13. 2022Images Speak in Images: A Generalist Painter for In-Context Visual Learningcited by 318
  14. 2022Visual Prompting via Image Inpaintingcited by 250
  15. 2023Multimodal Foundation Models: From Specialists to General-Purpose Assistantscited by 247
  16. 2024Capabilities of Gemini Models in Medicinecited by 237
  17. 2021A Fine-Grained Analysis on Distribution Shiftcited by 171
  18. 2023Fundamental Limitations of Alignment in Large Language Modelscited by 155
  19. 2023What Makes Good Examples for Visual In-Context Learning?cited by 150
  20. 2020Efficient Domain Generalization via Common-Specific Low-Rank Decompositioncited by 134
  21. 2020Learning to Balance Specificity and Invariance for In and Out of Domain Generalizationcited by 128
  22. 2023The Learnability of In-Context Learningcited by 127
  23. 2023In-Context Learning Unlocked for Diffusion Modelscited by 104
  24. 2023CLIPood: Generalizing CLIP to Out-of-Distributionscited by 96
  25. 2021FREE: Feature Refinement for Generalized Zero-Shot Learningcited by 67
  26. 2024Many-Shot In-Context Learning in Multimodal Foundation Modelscited by 67
  27. 2024What Makes Multimodal In-Context Learning Work?cited by 56
  28. 2021TransZero: Attribute-guided Transformer for Zero-Shot Learningcited by 54
  29. 2022DrugOOD: Out-of-Distribution (OOD) Dataset Curator and Benchmark for AI-aided Drug Discovery -- A Focus on Affinity Prediction Problems with Noise Annotationscited by 54
  30. 2023Towards In-context Scene Understandingcited by 47
  31. 2023Explore In-Context Learning for 3D Point Cloud Understandingcited by 40
  32. 2024Elephants Never Forget: Memorization and Learning of Tabular Data in Large Language Modelscited by 36
  33. 2023InfoPrompt: Information-Theoretic Soft Prompt Tuning for Natural Language Understandingcited by 30
  34. 2018The HAM10000 dataset, a large collection of multi-source dermatoscopic images of common pigmented skin lesionscited by 26
  35. 2023ManyDG: Many-domain Generalization for Healthcare Applicationscited by 23
  36. 2023How Well Does GPT-4V(ision) Adapt to Distribution Shifts? A Preliminary Investigationcited by 22
  37. 2021Reliable and Trustworthy Machine Learning for Health Using Dataset Shift Detectioncited by 21
  38. 2023Evolving Semantic Prototype Improves Generative Zero-Shot Learningcited by 20

50 most cited of 55 All 55 (JSON)

Built on by

Cited by year

Citing papers per year: 2025: 4.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Large Multimodal Models as General In-Context Classifiers
  2. 2025What do vision-language models see in the context? Investigating multimodal in-context learning
  3. 2025Mimic In-Context Learning for Multimodal Tasks
  4. 2024Context-Aware Multimodal Pretraining
  5. 2025Advancing Multimodal In-Context Learning in Large Vision-Language Models with Task-aware Demonstrations
  6. 2026Enhancing Multimodal In-Context Learning via Inductive-Deductive Reasoning
  7. 2026UniICL: Systematizing Unified Multimodal In-context Learning through a Capability-Oriented Taxonomy
  8. 2025Make LVLMs Focus: Context-Aware Attention Modulation for Better Multimodal In-Context Learning