TL;DR
Vision-Language Models (VLMs) often struggle with multi-image in-context learning because they fail to extract logical rules from examples and suffer from severe visual attention biases. This paper introduces MMInduction, a framework that restructures multimodal in-context learning into a formal inductive-deductive process using visual token pruning, dynamic attention rebalancing, and reinforcement learning with verifiable rewards. The approach eliminates performance degradation in multi-shot reasoning tasks, achieving robust gains across eight diverse benchmarks.
What Problem Does This Paper Address?
In-context learning (ICL)—the ability of a model to learn a task simply by looking at a few examples in its prompt—has been a massive success for text-based Large Language Models. However, extending this to Vision-Language Models (VLMs) has proven surprisingly fragile, especially for complex reasoning tasks.
The authors identify a critical "inductive correctness gap": VLMs often guess the right answer through flawed logic ("lucky guesses") rather than actually inducing the underlying rule from the provided examples. This cognitive failure is severely exacerbated by two representation-level bottlenecks:
- Visual Token Redundancy: Images contribute a massive number of tokens (often over 50-60% of the total prompt), which drowns out the crucial textual cues needed for cross-case rule extraction.
- Attention Imbalance: Pre-trained VLMs exhibit a strong positional bias, focusing heavily on the first image in the prompt while largely ignoring subsequent examples and the query itself.
Methods
To bridge this gap, the authors propose MMInduction, a framework designed to clear the visual representation barriers and enforce a structured reasoning path.
The framework consists of three core components:
- Inductive-Deductive Chain-of-Thought (CoT): Instead of jumping straight to an answer, the model follows a strict template: Case Analysis (individually evaluating if an example is helpful or just distracting noise), Rule Induction (synthesizing a generalizable rule from helpful cases), and Deduction (applying the rule step-by-step to the query).
- Similarity-Guided Visual Token Pruning: To prevent text from being drowned out, this module calculates intra-region token similarity and prunes redundant background patches, reducing the visual token count by roughly 80% without losing semantic integrity.
- Dynamic Visual Attention: A lightweight mechanism that applies learnable per-token scaling factors to rebalance attention across all images in the context, mitigating the first-image bias.
Training Strategy: The model is cold-started with Supervised Fine-Tuning (SFT) using high-quality reasoning chains distilled from Gemini 3.1-pro. It is then refined using Reinforcement Learning with Verifiable Rewards (RLVR) via the DAPO algorithm. The reward function is composite, optimizing for final answer correctness ($R_{task}$), noise detection ($R_{helpful}$), and explicit case citation ($R_{cite}$).
Datasets
The framework was evaluated across eight diverse benchmarks covering four distinct cognitive domains:
- Visual Perception: VQAv2, TextVQA
- Logical Reasoning: MMIQ, MME Reasoning
- STEM Knowledge: MDK12, CSVQA
- Sarcasm/Harm Detection: MAMI, Harmeme
Key Insights and Ideas
- The "Lucky Guess" Phenomenon: Diagnostic tests on the graphic reasoning benchmark (MMIQ) revealed that for standard VLMs (like Qwen3VL-8B), only 2.7% of correct answers in a 1-shot setting came from correct inductive reasoning; the rest were right answers derived from flawed logic.
- More Examples Can Hurt: In complex reasoning tasks, adding more shots to a vanilla VLM actually degrades performance (e.g., Qwen3-VL-8B's accuracy monotonically declines from 32.30% at 0-shot to 27.22% at 3-shot on MMIQ). MMInduction completely reverses this negative shot effect.
- Visual Pruning Enables Textual Reasoning: Compressing images isn't just about saving compute; it physically frees up the language backbone's attention capacity to focus on cross-case textual and logical patterns.
Key Results
MMInduction achieved robust and consistent gains across all eight benchmarks over standard ICL baselines (such as SoFA, LoRA, and DARA).
On the logical reasoning benchmark (MMIQ), MMInduction boosted Qwen3-VL-8B from a baseline of 27.22% (3-shot) to 38.46%, turning a performance inversion into a steady upward trend. Ablation studies showed that removing either the token pruning or the dynamic attention module led to sharp performance drops, proving that structured reasoning templates alone cannot compensate for a corrupted visual foundation.
Limitations and Future Work
- Length-vs-Depth Trade-off: The structured CoT significantly increases the length of generated sequences. When extended to 4 or 5 shots, the model tends to over-analyze, producing excessively long responses that exceed context limits and trigger reasoning failures.
- Mathematical Computation Limits: While MMInduction improves rule extraction, it still struggles on complex STEM problems requiring multi-step algebraic manipulation due to the underlying VLM's inherent calculation weaknesses.
- Retrieval Dependency: Performance remains bound to the quality of the similarity-based retrieval module used to fetch the context examples. The authors suggest integrating external verifiers for numerical reasoning and length-adaptive CoT pruning as promising future directions.
Summary updated