ActICL: Post-Training for Agentic Multimodal In-Context Learning
Organizations: University of Texas at Austin · 2Rutgers University
Abstract
Multimodal in-context learning (ICL) is an important capability of multimodal large language models (MLLMs). Its performance is closely tied to the demonstrations it uses, making demonstration retrieval a core problem for ICL. Common methods use fixed scoring methods to retrieve all the demonstrations at once, which may introduce redundancy and noise. Context-aware retrieval methods have emerged to address this problem by allowing incremental retrieval from a growing context. However, none of them lets the MLLM learn how to judge what new demonstrations it needs and then carry out progressive retrieval on its own. To this end, we introduce ActICL, which trains an MLLM agent to acquire and use an ICL context via tool-augmented reasoning. An ActICL agent analyzes its own information gaps during iterative reasoning and tool-use actions. Based on these gaps, it performs targeted retrieval to acquire a set of initial candidates. It can then use the existing context to further filter the candidates and refine the context, or it can iteratively perform a new retrieval. When the agent judges that the context is sufficient for the task, or when the resource limit is reached with the user request met, it sends the acquired context to an answering model, either the agent itself or another MLLM. We use a two-stage post-training procedure that jointly optimizes the agent's acquisition and answering. With an adaptive number of demonstrations, ActICL improves average performance by 11.6 percentage points over standard similarity-based retrieval across seven benchmarks and three MLLMs, and by 4.4 points compared to the strongest prior baseline. The contexts acquired by ActICL agents can also be used effectively by frontier models. When GPT-5.6-Sol performs 4-shot ICL, ActICL's contexts improve its performance by 3.5 points over standard retrieval, averaged over three benchmarks.
Figures & tables
| Methods | TextVQA | MME-R | CharXiv | GVL | MathVision | MDK12 | VL-ICL | Avg. |
| Qwen3-VL-8B | 0.735 | 0.238 | 0.473 | 0.554 | 0.528 | 0.462 | 0.293 | 0.469 |
| +Rand. Sample | 0.728 | 0.259 | 0.482 | 0.527 | 0.540 | 0.449 | 0.562 | 0.507 |
| +MMICES | 0.743 | 0.278 | 0.495 | 0.583 | 0.543 | 0.485 | 0.695 | 0.546 |
| +ContextNav | 0.764 | 0.295 | 0.527 | 0.605 | 0.558 | 0.510 | 0.761 | 0.574 |
| +LSD | 0.779 | 0.308 | 0.519 | 0.629 | 0.552 | 0.518 | 0.784 | 0.584 |
| +ProMSA | 0.819 | 0.326 | 0.546 | 0.684 | 0.575 | 0.561 | 0.873 | 0.626 |
| Method | MME-R | MathVision | MMStar | MuirBench | BLINK | |||
| 4-shot | 8-shot | 4-shot | 8-shot | 4-shot | 8-shot | |||
| Qwen3-VL-8B | 0.278 | 0.316 | 0.543 | 0.557 | 0.746 | 0.753 | 0.653 | 0.702 |
| +LoRA | 0.295 | 0.324 | 0.536 | 0.569 | 0.762 | 0.784 | 0.709 | 0.735 |
| +DARA | 0.306 | 0.305 | 0.529 | 0.568 | 0.770 | 0.769 | 0.684 | 0.719 |
| +ActICL | 0.344 | 0.375 | 0.591 | 0.584 | 0.783 | 0.797 | 0.717 | 0.744 |
| Qwen3-VL-30B-A3B | 0.308 | 0.332 | 0.597 | 0.609 | 0.751 | 0.746 | 0.629 | 0.683 |
| Method | PerceptionBench | MindCube | MMMU-Pro |
| Qwen3.5-397B-A17B | 0.458 | 0.477 | 0.757 |
| +MMICES | 0.472 | 0.492 | 0.761 |
| +ContextNav | 0.487 | 0.524 | 0.772 |
| +ActICL | 0.500 | 0.545 | 0.780 |
| GPT-5.6-Luna (max) | 0.559 | 0.638 | 0.785 |
| +MMICES | 0.568 | 0.634 | 0.802 |
Appendix figures & tables11 assets
Supplementary material from the paper’s appendix.
Appendix
| Tier | Calls | ||
| Tight | 14 | 98,304 | 8,192 |
| Standard | 20 | 196,608 | 16,384 |
| Wide | 28 | 393,216 | 32,768 |
| Query mixture | Pool | |||
| Source | RL (%) | RL | SFT | Bank |
| ReasonVQA | 10 | 2,000 | 400 | 8,000 |
| A-OKVQA | 8 | 1,600 | 320 | 5,000 |
| VCR (Q A) | 8 | 1,600 | 320 | 7,500 |
| DocVQA | 10 | 2,000 | 400 | 5,500 |
| ChartQA | 8 | 1,600 | 320 | 5,000 |
| Core routes (%) | ||||
| Profile | Source | Similarity | Cross | Prob. (%) |
| Source-heavy | 50 | 25 | 25 | 20 |
| Mixed | 25 | 50 | 25 | 50 |
| Similarity-heavy | 12.5 | 62.5 | 25 | 30 |
| Fixed count | ||||||
| Tier | Adaptive | 1 | 2 | 4 | 8 | Total |
| Tight | 10 | 2.5 | 4 | 2.5 | 1 | 20 |
| Standard | 25 | 1.5 | 7 | 11 | 5.5 | 50 |
| Wide | 15 | 1 | 4 | 6.5 | 3.5 | 30 |
| Total | 50 | 5 | 15 | 20 | 10 | 100 |
| Setting | RS-SFT | Joint RL |
| Training volume and batching | ||
| Training volume | 4,000 pairs, 2 epochs | 20,000 instances, 1 pass |
| Global batch | 16 pairs | 32 groups per rollout batch |
| Optimizer minibatch | 16 pairs | 8 complete groups |
| Optimizer updates | 500 | 2,500 |
| Optimizer and numerics | ||
| Parameter | Symbol | Value |
| Acquisition trajectories per instance | 4 | |
| Answers per valid context | 2 | |
| Clipping width | 0.2 | |
| Answer baseline mixture | 0.1 | |
| Answer reference baseline | 0.5 | |
| Fixed loss normalizer | 8,192 |
| Benchmark | Available pool (bank / query) | Stratification |
| Released splits preserved | ||
| TextVQA | train / validation | native boundary |
| GVL | train / test | native boundary, per graph task |
| VL-ICL Bench | released image-to-text support / query construction | per subtask |
| New 6:4 partition | ||
| MME-Reasoning | public labeled release | reasoning category and subtype, difficulty where available |
| Method | MME-R | CharXiv | MathVision | Avg. |
| Base | 0.343 | 0.675 | 0.728 | 0.582 |
| SFT only | 0.431 | 0.743 | 0.854 | 0.676 |
| Joint RL only | 0.423 | 0.748 | 0.850 | 0.674 |
| w/o acquisition | 0.402 | 0.740 | 0.838 | 0.660 |
| w/o answering | 0.415 | 0.745 | 0.847 | 0.669 |
| ActICL | 0.427 | 0.751 | 0.862 | 0.680 |
| Variant | MME-R | CharXiv | MathVision | Avg. |
| w/o read | 0.445 | 0.758 | 0.852 | 0.685 |
| w/o curate | 0.448 | 0.771 | 0.859 | 0.693 |
| Add-only curate | 0.457 | 0.782 | 0.862 | 0.700 |
| ActICL | 0.468 | 0.788 | 0.870 | 0.709 |
| Variant | MME-R | CharXiv | MathVision | Avg. | #Shots | Acq. (k) |
| w/o resource costs | 0.461 | 0.779 | 0.868 | 0.703 | 2.94 | 32.7 |
| w/o cost schedule | 0.459 | 0.764 | 0.857 | 0.693 | 2.78 | 30.2 |
| w/o fixed reference | 0.442 | 0.779 | 0.857 | 0.693 | 2.10 | 28.9 |
| ActICL | 0.468 | 0.788 | 0.870 | 0.709 | 2.62 | 26.3 |
| Training bank | MME-R | CharXiv | MathVision | Avg. |
| Own bank | ||||
| Source-only | 0.459 | 0.767 | 0.862 | 0.696 |
| Random | 0.448 | 0.759 | 0.858 | 0.688 |
| ActICL | 0.468 | 0.788 | 0.870 | 0.709 |
| Mixed bank | ||||
| Source-only | 0.422 | 0.743 | 0.844 | 0.670 |
Multimodal ICL
Multimodal in-context learning (ICL) studies how models use examples and other context to solve tasks involving images, text, audio, and video.
See all 46 papers