Research map / Vision-language and multimodal / Multimodal LLMs
Efficient Multi-modal Long Context Learning for Training-free Adaptation
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 EMLoC, a training-free method that compresses many-shot multimodal demonstration contexts into compact KV memory via chunk-wise compression and layer-wise adaptive pruning gated by a JS-divergence check.
Problem
Multi-modal long-context in-context learning with many demonstrations gives strong adaptation but incurs prohibitive inference compute and memory costs, while fine-tuning requires parameter updates.
Approach
Process demonstrations in chunks, and for each chunk prune KV tokens layer by layer (top to bottom), choosing the smallest retention ratio per layer whose output distribution stays within a Jensen-Shannon divergence threshold of the unpruned output, using answer-token attention as importance.
Key results
- On ImageNet100 with 200 examples, EMLoC reaches 63.7% accuracy at 22.4% of the context (3643 tokens vs 16264), matching MLoC's 62.6% at full length.
- On ImageNet100 with 200 examples, EMLoC cuts inference FLOPs from 1.76T to 1.35T and inference time from 1866s to 1107s versus MLoC.
- EMLoC (54.9 average) edges out LoRA (54.7) and full fine-tuning (52.4) across ImageNet100, MME-RW and OK-VQA without updating weights.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| compress the 20-example long context with EMLoC instead of using full-memory MLoC | Qwen2-VL · ImageNet100 (200 examples) | accuracy: 62.6 -> 63.7 | Helped |
| compress the 20-example long context with EMLoC instead of using full-memory MLoC | Qwen2-VL · MME-RW (20 examples) | accuracy: 41.1 -> 42.2 | Helped |
| compress the 20-example long context with EMLoC instead of using full-memory MLoC | Qwen2-VL · YouCook2 (20 examples) | accuracy: 108.8 -> 102.0 | Hurt |
| replace full-memory MLoC with EMLoC compression | Qwen2-VL · VideoMME without subtitles (384 frames) | overall accuracy: 60.3 vs. 60.1 | No clear effect |
| increase chunk number from 10 to 20 and use group-wise retention ratios (ablation) | EMLoC · ImageNet100 (200 examples) | accuracy: 63.7→60.9 | Hurt |
| use 0.8k rather than 1.6k chunks (ablation) | EMLoC · ImageNet100 (200 examples) | accuracy: 63.7 -> 62.4 | Hurt |
| use 2.4k rather than 1.6k chunks (ablation) | EMLoC · ImageNet100 (200 examples) | accuracy: 63.7 -> 63.4 | Hurt |
| use 2.8k rather than 1.6k chunks (ablation) | EMLoC · ImageNet100 (200 examples) | accuracy: 63.7 -> 62.5 | Hurt |
| set minimum retention ratio to 0.2 instead of 0.1 (ablation) | EMLoC · ImageNet100 (200 examples) | accuracy: 63.7 -> 61.6 | Hurt |
| add minimum retention ratio 0.05 (ablation) | EMLoC · ImageNet100 (200 examples) | accuracy: 63.7 -> 58.6 | Hurt |
| add retention ratio 0.8 (ablation) | EMLoC · ImageNet100 (200 examples) | accuracy: 63.7 -> 62.2 | Hurt |
| preserve all answer tokens in memory (ablation) | EMLoC · ImageNet100 (200 examples) | accuracy: 61.9 -> 63.7 | Helped |
Surprising findings
- Layer importance does not follow the pyramid pattern assumed by PyramidKV; certain early layers (e.g., layers 4, 8, 14 of Qwen2-VL) are critical and need more tokens.
- Empirically the global JS bound stays roughly constant across chunk counts K rather than growing linearly as the theory predicts.
Limitations
- Evaluated on a small set of benchmarks, with 100 randomly sampled test examples for datasets lacking validation splits.
- Theoretical bound relies on worst-case assumptions and an empirical independence assumption; the linear dependence on K is not observed empirically.
- Performance drops at extreme compression (15.7%, delta=0.02 gives 57.7% on ImageNet100).
Experimental setup
Datasets: ImageNet100 ScreenSpot MME-RW IllusionVQA OK-VQA YouCook2 VideoMME
Benchmarks: ImageNet100 ScreenSpot MME-RW IllusionVQA OK-VQA YouCook2 VideoMME
Metrics: accuracy context length inference FLOPs inference time peak memory
Baselines: MLoC RICES MTV LoRA Full fine-tuning M2PT VPT E2PT SnapKV H2O PyramidKV FastGen
Builds on: multi-modal long context learning (MLoC) PyramidKV SnapKV H2O FastV
Closest papers by meaning
- Efficient Large Multi-modal Models via Visual Context Compression (NeurIPS 2024 · similarity 0.86)
- CATP: Contextually Adaptive Token Pruning for Efficient and Enhanced Multimodal In-Context Learning (AAAI 2026 · similarity 0.86)
- Online Adaptation of Language Models with a Memory of Amortized Contexts (NeurIPS 2024 · similarity 0.86)
- MoDA: Modulation Adapter for Fine-Grained Visual Understanding in Instructional MLLMs (ICML 2026 · similarity 0.86)
- MMRL: Multi-Modal Representation Learning for Vision-Language Models (CVPR 2025 · similarity 0.86)
- Towards General Continuous Memory for Vision-Language Models (NeurIPS 2025 · similarity 0.86)
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.
