mlsanityData to 7 Oct 2026

AIM: Let Any Multi-modal Large Language Models Embrace Efficient In-Context Learning

arXiv 2406.07588 ↗First posted 11 Jun 2024cs.MM cs.CLcited by 4

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

Abstract (arXiv)

In-context learning (ICL) facilitates Large Language Models (LLMs) exhibiting emergent ability on downstream tasks without updating billions of parameters. However, in the area of multi-modal Large Language Models (MLLMs), two problems hinder the application of multi-modal ICL: (1) Most primary MLLMs are only trained on single-image datasets, making them unable to read multi-modal demonstrations. (2) With the demonstrations increasing, thousands of visual tokens highly challenge hardware and degrade ICL performance. During preliminary explorations, we discovered that the inner LLM tends to focus more on the linguistic modality within multi-modal demonstrations to generate responses. Therefore, we propose a general and light-weighted framework AIM to tackle the mentioned problems through Aggregating Image information of Multimodal demonstrations to the dense latent space of the corresponding linguistic part. Specifically, AIM first uses the frozen backbone MLLM to read each image-text demonstration and extracts the vector representations on top of the text. These vectors naturally fuse the information of the image-text pair, and AIM transforms them into fused virtual tokens acceptable for the inner LLM via a trainable projection layer. Ultimately, these fused tokens function as variants of multi-modal demonstrations, fed into the MLLM to direct its response to the current query as usual. Because these fused tokens stem from the textual component of the image-text pair, a multi-modal demonstration is nearly reduced to a pure textual demonstration, thus seamlessly applying to any MLLMs. With its de facto MLLM frozen, AIM is parameter-efficient and we train it on public multi-modal web corpora which have nothing to do with downstream test tasks.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in MLLM training and visual instruction tuning, one of 16 directions in Multimodal LLMs / vision-language models. Builds on 36 of its 48 references that are in the map. First posted on arXiv 11 Jun 2024.

Builds on

36 of 48 references.

Closest ancestors · 3

Same direction, newest first

  1. 2023Improved Baselines with Visual Instruction Tuning5 Oct
  2. 2023MMICL: Empowering Vision-language Model with Multi-Modal In-Context Learning14 Sep
  3. 2023InstructBLIP: Towards General-purpose Vision-Language Models with Instruction Tuning11 May

Other references · 33

  1. 2017Attention Is All You Needcited by 59,932
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  6. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  7. 2020Rethinking Attention with Performerscited by 1,584
  8. 2015Flickr30k Entities: Collecting Region-to-Phrase Correspondences for Richer Image-to-Sentence Modelscited by 1,352
  9. 2019OK-VQA: A Visual Question Answering Benchmark Requiring External Knowledgecited by 1,114
  10. 2022Token Merging: Your ViT But Fastercited by 995
  11. 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
  12. 2018VizWiz Grand Challenge: Answering Visual Questions from Blind Peoplecited by 852
21 more
  1. 2023LLaMA-Adapter: Efficient Fine-tuning of Language Models with Zero-init Attentioncited by 776
  2. 2021Multimodal Few-Shot Learning with Frozen Language Modelscited by 657
  3. 2023Language Is Not All You Need: Aligning Perception with Language Modelscited by 543
  4. 2020The Hateful Memes Challenge: Detecting Hate Speech in Multimodal Memescited by 485
  5. 2023Is ChatGPT a Good NLG Evaluator? A Preliminary Studycited by 420
  6. 2023Learning to Compress Prompts with Gist Tokenscited by 379
  7. 2023Adapting Language Models to Compress Contextscited by 350
  8. 2021An Empirical Study of GPT-3 for Few-Shot Knowledge-Based VQAcited by 298
  9. 2023InternLM-XComposer: A Vision-Language Large Model for Advanced Text-image Comprehension and Compositioncited by 297
  10. 2023MIMIC-IT: Multi-Modal In-Context Instruction Tuningcited by 264
  11. 2023ChatIE: Zero-Shot Information Extraction via Chatting with ChatGPTcited by 250
  12. 2023Label Words are Anchors: An Information Flow Perspective for Understanding In-Context Learningcited by 235
  13. 2023Multimodal C4: An Open, Billion-scale Corpus of Images Interleaved with Textcited by 208
  14. 2021Noisy Channel Language Model Prompting for Few-Shot Text Classificationcited by 163
  15. 2021Learned Token Pruning for Transformerscited by 138
  16. 2023Exploring the Limits of ChatGPT for Query or Aspect-based Text Summarizationcited by 122
  17. 2022Prompt Compression and Contrastive Conditioning for Controllability and Toxicity Reduction in Language Modelscited by 96
  18. 2023Is ChatGPT a Good Sentiment Analyzer? A Preliminary Studycited by 96
  19. 2023Exploring Diverse In-Context Configurations for Image Captioningcited by 63
  20. 2023Unlocking Context Constraints of LLMs: Enhancing Context Efficiency of LLMs with Self-Information-Based Content Filteringcited by 62
  21. 2024UniICL: An Efficient Unified Framework Unifying Compression, Selection, and Generationcited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 3; 2025: 0; 2026: 1.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024From Introspection to Best Practices: Principled Analysis of Demonstrations in Multimodal In-Context Learning
  2. 2023Can Multimodal Large Language Models Truly Perform Multimodal In-Context Learning?
  3. 2024What Makes Multimodal In-Context Learning Work?
  4. 2024Towards Multimodal In-Context Learning for Vision & Language Models
  5. 2025What do vision-language models see in the context? Investigating multimodal in-context learning
  6. 2025Advancing Multimodal In-Context Learning in Large Vision-Language Models with Task-aware Demonstrations
  7. 2024Can MLLMs Perform Text-to-Image In-Context Learning?
  8. 2024What Factors Affect Multi-Modal In-Context Learning? An In-Depth Exploration