TwinICL: Diagnosing Multimodal In-Context Learning through Paired Counterfactuals
Zihan Xue, Po-Yi Lu, Serhii Honcharenko, Zih-Ching Chen, Hsuan-Tien Lin, Nanyun Peng, I-Hung Hsu, Kuan-Hao Huang
Abstract
In-context learning (ICL) enables models to infer tasks from demonstrations, but existing benchmarks generally lack matched text and image versions needed to compare ICL performance across modalities. We introduce TwinICL, a procedurally generated benchmark providing such pairs for controlled comparison. Across six open-weight models and 38 tasks, multimodal ICL consistently underperforms text-only ICL, with gaps varying by task family. To test whether this gap can be recovered, we target visual access, task framing, and reasoning through three interventions. Their combination recovers strong multimodal ICL performance on a diagnostic subset, despite limited or inconsistent individual effects. To distinguish difficulties in executing tasks from those in inferring them, we evaluate models with explicit task instructions, revealing a modality gap even when the task is known. We then examine how adding demonstration inputs and outputs reshapes this gap, highlighting demonstrations' dual role as additional context to process and evidence about the task. The dataset is available at https://github.com/lab-flair/TwinICL.
Create a lesson
Metadata
- Categories
- cs.CV, cs.LG
- Comments
- 21 pages, 4 figures
Related papers
V-ICAL Bench: Evaluating Video In-Context Learning for Multimodal Agents in Interactive Environments
Shared title terminologycs.CVZiqian Fan, Shibo Xu, Junjie Li et al.
From Diagnosing Alignment to Joint Supervision in Multimodal Draft Training
Shared title terminologycs.CVHaozhe Du, Runze Liu, Jiaming Fan et al.
What Do Hallucinations Reveal About Multimodal Reasoning? Diagnosing Visual Grounding Failures via Contrastive Decoding Probes
Shared title terminologycs.CVZhipeng Zhao, Wenxu Wang, Peishun Liu et al.
Seeing the Right Context: Grounded On-Policy Distillation for Remote Sensing
Shared title terminologycs.CVYichang Luo, Hourun Zhu, Shixiong Liu et al.
A Hard Background Pairing Transfers across Classifiers and Images
Shared title terminologycs.CVKarl Li
PRAM: Activating Latent Multimodal Knowledge through Partwise Reasoning
Shared title terminologycs.CVHaidong Chen, Ying Guo, Shangze Li et al.