Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Img-Diff: Contrastive Data Synthesis for Multimodal Large Language Models

About

High-performance Multimodal Large Language Models (MLLMs) are heavily dependent on data quality. To advance fine-grained image recognition within MLLMs, we introduce a novel data synthesis method inspired by contrastive learning and image difference captioning. Our key idea involves challenging the model to discern both matching and distinct elements by scrutinizing object differences in detailed regions across similar images. We begin by generating pairs of similar images that emphasize object variations. Following this, we employ a Difference Area Generator to pinpoint object differences, and subsequently, a Difference Captions Generator to articulate these differences. This process results in a high-quality dataset of "object replacement" samples, termed Img-Diff, which can be scaled as needed due to its automated nature. We leverage this generated dataset to fine-tune state-of-the-art (SOTA) MLLMs, such as InternVL2, achieving substantial improvements across various image difference and Visual Question Answering tasks. Notably, the trained models significantly outperform existing SOTA models like GPT-4V and Gemini on the MMVP benchmark. Additionally, we conduct comprehensive evaluations to validate the dataset's diversity, quality, and robustness, offering several insights into the synthesis of such contrastive datasets. We release our codes and dataset to encourage further research on multimodal data synthesis and MLLMs' fundamental capabilities for image understanding.

Qirui Jiao, Daoyuan Chen, Yilun Huang, Bolin Ding, Yaliang Li, Ying Shen• 2024

Related benchmarks

TaskDatasetResultRank
Visual Question AnsweringVQA v2
Accuracy81.8
1165
Visual Question AnsweringGQA
Accuracy62.8
963
Object Hallucination EvaluationPOPE--
935
Multimodal Capability EvaluationMM-Vet
Score52.6
282
Science Question AnsweringScienceQA SQA-I
Accuracy96.6
81
Multimodal ReasoningMMBench
Accuracy82.7
50
Multimodal ReasoningMMBench CN
Accuracy81.4
22
Multimodal ReasoningSEED-Bench
Accuracy69.9
14
Image Difference CaptioningImage-Edit-Request (test)
BLEU16.6
11
Image Difference CaptioningSpot-the-Diff (test)
BLEU10.8
10
Showing 10 of 10 rows

Other info

Code

Follow for update