mlsanityData to 7 Oct 2026

Many-Shot In-Context Learning in Multimodal Foundation Models

arXiv 2405.09798 ↗First posted 16 May 2024cs.LG cs.AI cs.CLcited by 64

Not on the map. Why?

Cited by 35 in Multimodal LLMs / vision-language models, but placed by its own abstract, which didn’t fit.

Abstract (arXiv)

Large language models are effective at few-shot in-context learning (ICL). Recent advancements in multimodal foundation models have enabled unprecedentedly long context windows, presenting an opportunity to explore their capability to perform ICL with many more demonstrating examples. In this work, we evaluate the performance of multimodal foundation models scaling from few-shot to many-shot ICL. We benchmark GPT-4o and Gemini 1.5 Pro across 14 datasets spanning multiple domains (natural imagery, medical imagery, remote sensing, and molecular imagery) and tasks (image classification, visual QA, and object localization). We observe that many-shot ICL, including up to almost 2,000 demonstrating examples, leads to substantial improvements compared to few-shot (<100 examples) ICL across all of the datasets. Further, Gemini 1.5 Pro performance continues to improve log-linearly up to the maximum number of tested examples on many datasets. We also find open-weights multimodal foundation models like Llama 3.2-Vision do not benefit from the demonstrating examples, highlighting an important gap between open and closed multimodal foundation models. Given the high inference costs required for many-shot ICL, we also explore the impact of batching multiple queries in a single API call. We show that batching up to 50 queries can lead to performance improvements under zero-shot and many-shot ICL, with substantial gains in the zero-shot setting on multiple datasets, while drastically reducing per-query cost and latency. Finally, while GPT-4o and Gemini 1.5 Pro achieve similar zero-shot performance across the datasets, Gemini 1.5 Pro learns more quickly than GPT-4o on most datasets. Our results suggest that many-shot ICL could enable users to efficiently adapt multimodal foundation models to new applications and domains. Our codebase is publicly available at https://github.com/stanfordmlgroup/ManyICL .

Key facts. Cited by 64 papers in the map (data through 7 Oct 2026). Builds on 25 of its 40 references that are in the map. First posted on arXiv 16 May 2024.

Builds on

25 of 40 references.

References · 25

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2023GPT-4 Technical Reportcited by 18,132
  3. 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,175
  4. 2013Describing Textures in the Wildcited by 2,110
  5. 2017EuroSAT: A Novel Dataset and Deep Learning Benchmark for Land Use and Land Cover Classificationcited by 1,488
  6. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
  7. 2019CheXpert: A Large Chest Radiograph Dataset with Uncertainty Labels and Expert Comparisoncited by 1,410
  8. 2018Recognition in Terra Incognitacited by 655
  9. 2019Object Detection in Optical Remote Sensing Images: A Survey and A New Benchmarkcited by 339
  10. 2024Many-Shot In-Context Learningcited by 203
  11. 2020RSVQA: Visual Question Answering for Remote Sensing Datacited by 197
  12. 2023MMICL: Empowering Vision-language Model with Multi-Modal In-Context Learningcited by 171
13 more
  1. 2024In-Context Learning with Long-Context Models: An In-Depth Explorationcited by 126
  2. 2023Contextual Object Detection with Multimodal Large Language Modelscited by 100
  3. 2022Learning from Few Examples: A Summary of Approaches to Few-Shot Learningcited by 86
  4. 2023Batch Prompting: Efficient Inference with Large Language Model APIscited by 84
  5. 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
  6. 2024DetToolChain: A New Prompting Paradigm to Unleash Detection Ability of MLLMcited by 45
  7. 2023Self-ICL: Zero-Shot In-Context Learning with Self-Generated Demonstrationscited by 42
  8. 2023In-Context Learning with Many Demonstration Examplescited by 39
  9. 2024On the Out-Of-Distribution Generalization of Multimodal Large Language Modelscited by 30
  10. 2024Multi-Task Inference: Can Large Language Models Follow Multiple Instructions at Once?cited by 28
  11. 2023How Well Does GPT-4V(ision) Adapt to Distribution Shifts? A Preliminary Investigationcited by 22
  12. 2023BatchPrompt: Accomplish more with lesscited by 16
  13. 2024CliqueParcel: An Approach For Batching LLM Prompts That Jointly Optimizes Efficiency And Faithfulnesscited by 12

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 16; 2025: 32; 2026: 16.

64 papers.

Sort:

By area:

  1. 2024LLaVA-NeXT-Interleave: Tackling Multi-image, Video, and 3D in Large Multimodal Modelscited by 571
  2. 2024MuirBench: A Comprehensive Benchmark for Robust Multi-image Understandingcited by 178
  3. 2025MedAgentBench: A Realistic Virtual EHR Environment to Benchmark Medical LLM Agentscited by 56
  4. 2024Multimodal Task Vectors Enable Many-Shot Multimodal In-Context Learningcited by 49
  5. 2024LMAct: A Benchmark for In-Context Imitation Learning with Long Multimodal Demonstrationscited by 32
  6. 2024A Picture is Worth A Thousand Numbers: Enabling LLMs Reason about Time Series via Visualizationcited by 31
  7. 2024Next Token Prediction Towards Multimodal Intelligence: A Comprehensive Surveycited by 27
  8. 2024Leveraging Vision Language Models for Specialized Agricultural Taskscited by 24
  9. 2025Identifying and Mitigating Position Bias of Multi-image Vision-Language Modelscited by 24
  10. 2025From Few to Many: Self-Improving Many-Shot Reasoners Through Iterative Optimization and Generationcited by 20
  11. 2024VipAct: Visual-Perception Enhancement via Specialized VLM Agent Collaboration and Tool-usecited by 17
  12. 2024VideoICL: Confidence-based Iterative In-context Learning for Out-of-Distribution Video Understandingcited by 17
38 more
  1. 2025How Well Does GPT-4o Understand Vision? Evaluating Multimodal Foundation Models on Standard Computer Vision Taskscited by 14
  2. 2025True Multimodal In-Context Learning Needs Attention to the Visual Contextcited by 14
  3. 2024Vector-ICL: In-context Learning with Continuous Vector Representationscited by 13
  4. 2025MAPLE: Many-Shot Adaptive Pseudo-Labeling for In-Context Learningcited by 13
  5. 2024WONDERBREAD: A Benchmark for Evaluating Multimodal Foundation Models on Business Process Management Taskscited by 11
  6. 2025Visual RAG: Expanding MLLM visual knowledge without fine-tuningcited by 11
  7. 2026QCalEval: Benchmarking Vision-Language Models for Quantum Calibration Plot Understandingcited by 9
  8. 2025MIR-Bench: Can Your LLM Recognize Complicated Patterns via Many-Shot In-Context Reasoning?cited by 7
  9. 2025Efficient Multi-modal Long Context Learning for Training-free Adaptationcited by 7
  10. 2025Large (Vision) Language Models are Unsupervised In-Context Learnerscited by 6
  11. 2025Zoomer: Adaptive Image Focus Optimization for Black-box MLLMcited by 5
  12. 2025Uncertainty Unveiled: Can Exposure to More In-context Examples Mitigate Uncertainty for Large Language Models?cited by 5
  13. 2025Unlabeled Data Improves Fine-Grained Image Zero-shot Classification with Multimodal LLMscited by 5
  14. 2024Adapting Large Multimodal Models to Distribution Shifts: The Role of In-Context Learningcited by 4
  15. 2025Retrieval-augmented in-context learning for multimodal large language models in disease classificationcited by 4
  16. 2025Where and What Matters: Sensitivity-Aware Task Vectors for Many-Shot Multimodal In-Context Learningcited by 4
  17. 2024Auto-Demo Prompting: Leveraging Generated Outputs as Demonstrations for Enhanced Batch Promptingcited by 3
  18. 2025Mind the (Data) Gap: Evaluating Vision Systems in Small Data Applicationscited by 3
  19. 2025Selecting Demonstrations for Many-Shot In-Context Learning via Gradient Matchingcited by 3
  20. 2025Towards Compute-Optimal Many-Shot In-Context Learningcited by 3
  21. 2025MachineLearningLM: Scaling Many-shot In-context Learning via Continued Pretrainingcited by 3
  22. 2025Test time training enhances in-context learning of nonlinear functionscited by 3
  23. 2025TextBO: Bayesian Optimization in Language Space for Eval-Efficient Self-Improving AIcited by 3
  24. 2026Multi-Modal Data-Enhanced Foundation Models for Prediction and Control in Wireless Networks: A Surveycited by 3
  25. 2024In-context Learning in Presence of Spurious Correlationscited by 2
  26. 2024Error-driven Data-efficient Large Multimodal Model Tuningcited by 2
  27. 2025Cache-of-Thought: Master-Apprentice Framework for Cost-Effective Vision Language Model Reasoningcited by 2
  28. 2025BiasICL: In-Context Learning and Demographic Biases of Vision Language Modelscited by 2
  29. 2025Investigating Vision-Language Model for Point Cloud-based Vehicle Classificationcited by 2
  30. 2025Spoken Language Understanding on Unseen Tasks With In-Context Learningcited by 2
  31. 2026VIOLA: Towards Video In-Context Learning with Minimal Annotationscited by 2
  32. 2026Personal Visual Context Learning in Large Multimodal Modelscited by 2
  33. 2025A Thousand Words or An Image: Studying the Influence of Persona Modality in Multimodal LLMscited by 1
  34. 2025Efficient but Vulnerable: Benchmarking and Defending LLM Batch Prompting Attackcited by 1
  35. 2025COUNTS: Benchmarking Object Detectors and Multimodal Large Language Models under Distribution Shiftscited by 1
  36. 2025When Many-Shot Prompting Fails: An Empirical Study of LLM Code Translationcited by 1
  37. 2026ArtifactLens: Hundreds of Labels Are Enough for Artifact Detection with VLMscited by 1
  38. 2024Align, Generate, Learn: A Novel Closed-Loop Framework for Cross-Lingual In-Context Learningcited by 0

50 most cited of 64 All 64 (JSON)