TL;DR
MIA-DPO is a novel framework that aligns Large Vision-Language Models (LVLMs) for multi-image tasks without requiring expensive human or GPT-4 annotations. By augmenting existing single-image datasets and using internal attention maps to automatically identify model hallucinations, it achieves significant performance gains on multi-image benchmarks while preserving single-image proficiency.
What Problem Does This Paper Address?
While current open-source LVLMs perform admirably on single-image tasks, they often stumble when faced with multiple images—a common scenario in real-world applications like analyzing multi-page documents or web content. Aligning these models to human preferences typically requires Direct Preference Optimization (DPO), which relies on pairs of "chosen" (correct) and "rejected" (hallucinated) responses.
The challenge is twofold:
- Data Scarcity: Diverse multi-image training data is rare compared to single-image datasets.
- High Annotation Costs: Creating preference pairs for multi-image scenarios is prohibitively expensive, whether using human annotators or high-end proprietary models like GPT-4o.
Furthermore, multi-image contexts introduce unique failure modes, such as Sequence Confusion (losing track of which image is which) and Element Interference (mixing up visual details across different images).
Methods
The authors introduce Multi-Image Augmented Direct Preference Optimization (MIA-DPO), which automates the entire preference data pipeline.
1. Multi-Image Data Augmentation
Instead of collecting new data, MIA-DPO "recycles" single-image datasets (like LLaVA-665k) by inserting the target image into three multi-image formats:
- Sequence: Images are arranged one after another.
- Grid Collage: Multiple images are merged into a single grid.
- Pic-in-Pic: One image is overlaid onto another.
2. Attention-Aware Selection
The core innovation is how the "rejected" samples are identified. The authors observed that when a model hallucinates in a multi-image setting, its internal attention often drifts to the wrong image. By calculating an Attention Ratio—the proportion of attention focused on the target image versus irrelevant ones—the framework can automatically flag incorrect responses where the model was "looking at the wrong place."
3. Post-Selection Cleaning
To ensure high-quality training pairs, the framework applies additional filters based on:
- Perplexity (PPL): Filtering out low-confidence, likely hallucinated responses.
- Length Ratio: Preventing the model from simply favoring longer answers.
- Edit Distance: Ensuring the chosen and rejected answers are sufficiently different to provide a clear learning signal.
Datasets
- Training: Augmented versions of the LLaVA-665k dataset.
- Multi-Image Evaluation: MMMU, BLINK, Mantis, NLVR2, and MVBench.
- Single-Image Evaluation: A suite of seven benchmarks including MMStar, ScienceQA, and MathVista to ensure no performance regression.
Key Insights and Ideas
- Attention as a Hallucination Proxy: Internal model states (attention maps) are a reliable, "free" indicator of multi-image hallucinations. If the model is asked about Image A but attends heavily to Image B, its answer is likely wrong.
- Synthetic Complexity: You don't need complex multi-image scenarios to train better models; adding "noise" (unrelated images) to simple tasks forces the model to learn robust visual grounding and focus.
- Layer-Specific Insights: The authors found that image-specific attention is most pronounced in the middle layers of the transformer, which is where the "ratio calculation" for data selection is most effective.
Key Results
MIA-DPO demonstrates impressive cross-architecture compatibility and performance:
- LLaVA-v1.5 (7B): Achieved an average performance boost of 3.0% across five multi-image benchmarks.
- InternLM-XC2.5 (7B): Saw an even higher average improvement of 4.3%.
- Efficiency: It outperforms existing alignment methods that rely on expensive GPT-4 APIs, providing a much more scalable solution for the research community.
- Robustness: Crucially, the model's ability to understand single images remained stable, avoiding the "catastrophic forgetting" often seen when fine-tuning for new tasks.
Limitations and Future Work
The authors acknowledge that while MIA-DPO is effective, performance gains begin to diminish as the number of images increases beyond the model's comfortable context window. Additionally, the model can still fail on highly specialized, out-of-domain knowledge (e.g., medical imaging or rare plant species) that wasn't present in the base training data.
Future directions include extending this attention-aware approach to even longer multi-image sequences and exploring its application in video understanding, where "temporal" sequence confusion is a major hurdle.
Summary updated