atlas

Research map / Vision-language and multimodal / Multimodal LLMs

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

AAAI 2025 · Vision-language and multimodal › Multimodal LLMs · approach: Benchmarks and analysis of MLLMs · 4 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes AIM, a light framework that aggregates each demonstration's image information into fused virtual tokens at its text positions, letting single-image MLLMs (Qwen-VL, LLaVA-Next) perform efficient multimodal in-context learning with a frozen backbone and a 17M projection layer.

Problem

Multimodal ICL is hampered because most MLLMs are trained only on single-image data and multi-image demonstrations produce thousands of visual tokens, causing memory blow-up and degraded ICL performance.

Approach

Forward each image-text demonstration independently through the first N LLM layers, keep only the hidden states at the text label positions, and project them with a learned linear layer into fused virtual tokens that replace the image-text pair, so the prompt resembles one query image plus text-like demonstrations.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
aggregate demonstration images into text-like fused tokens and drop their visual tokensQWen-VL · Flickr30k, 16-shotCIDEr: 66.1 -> 82.3Helped
aggregate demonstration images into text-like fused tokens and drop their visual tokensQWen-VL · OKVQA, 16-shotVQA-ACC: 53.7 -> 56.0Helped
aggregate demonstration images into text-like fused tokens and drop their visual tokensQWen-VL · Vizwiz, 16-shotVQA-ACC: 29.8 -> 36.1Helped
aggregate demonstration images into text-like fused tokens and drop their visual tokensQWen-VL · Hateful Memes, 16-shotROC-AUC: 58.2 -> 57.1Hurt
aggregate demonstration images into text-like fused tokens and drop their visual tokensLLaVA-Next · Flickr30k, 16-shotCIDEr: <1 -> 53.4Helped
aggregate demonstration images into text-like fused tokens and drop their visual tokensLLaVA-Next · OKVQA, 16-shotVQA-ACC: <1 -> 54.6Helped
aggregate demonstration images into text-like fused tokens and drop their visual tokensLLaVA-Next · Vizwiz, 16-shotVQA-ACC: <1 -> 20.2Helped
aggregate demonstration images into text-like fused tokens and drop their visual tokensLLaVA-Next · Hateful Memes, 16-shotROC-AUC: NaN -> 55.6Helped
use the first 16 rather than all LLM layers for image-information aggregation (ablation)QWen-VL AIM · Flickr30k, 16-shotCIDEr: 82.3 -> 84.1Helped
use the first 16 rather than all LLM layers for image-information aggregation (ablation)LLaVA-Next AIM · Flickr30k, 16-shotCIDEr: 53.4 -> 26.5Hurt
use the first 24 rather than all LLM layers for image-information aggregation (ablation)LLaVA-Next AIM · Flickr30k, 16-shotCIDEr: 53.4 -> 38.0Hurt
provide text-only demonstrations instead of visual demonstrations (ablation)QWen-VL · Flickr30k, 16-shotCIDEr: 66.1 -> 71.7Helped

Surprising findings

Limitations

Experimental setup

Datasets: MMC4 Flickr30k OKVQA VizWiz Hateful Memes

Benchmarks: Flickr30k OKVQA VizWiz Hateful Memes

Metrics: CIDEr VQA accuracy ROC AUC accuracy perplexity throughput memory cost

Baselines: Flamingo OpenFlamingo QWen-VL LLaVA-Next MMICL Otter

Builds on: Flamingo OpenFlamingo Qwen-VL LLaVA-Next ICAE

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy