ActICL: Post-Training for Agentic Multimodal In-Context Learning
Yanshu Li, Ruixiang Tang, Junyi Jessy Li, Elias Stengel-Eskin
Key points
From the paper's conclusion- We use a two-stage post-training procedure that jointly optimizes the agent's acquisition and answering.
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Agentic In-Context Learning: What Algorithms Can Transformers Learn in Closed-Loop Interaction?arXiv · 2026
- TraceICL: Thread-Resolved Demonstration Curation with Consistency Calibration for Robust Multimodal In-Context LearningarXiv · 2026
- Do LLMs Learn from Rewards in Context? : Rethinking the role of reward in In-Context Reinforcement LearningarXiv · 2026
- MXI-MemICL: Towards In-Context Robot Manipulation through Self-Retrieved Interaction MemoryarXiv · 2026
- Where Should LLM Agents Adapt at Test Time? In Context, in Weights, or BotharXiv · 2026
- Visual Grounding First, Multimodal In-context Learning FollowsarXiv · 2026