--- pretty_name: M³Diff Instruction-Tuning Data language: - en license: other task_categories: - image-to-text tags: - image - text - image-difference-captioning - multimodal - multi-image - visual-instruction-tuning - m3diff size_categories: - 100KDifference:" }, { "from": "gpt", "value": "the small yellow cylinder changed to brown." } ] } ``` Fields: - `image_id` or `id`: source-specific sample identifier. Older converted records use `image_id`, while some records use `id`. - `image`: two paths relative to the common image root, ordered as the first and second images being compared. - `conversations`: a two-turn LLaVA-style conversation. The human turn contains two `` placeholders and the GPT turn contains the target difference caption. All 896,015 records contain exactly two image paths and one human/GPT conversation pair. The data uses 30 paraphrased prompt templates to reduce dependence on a single question formulation. ## Loading Load the annotations directly from the Hub: ```python from datasets import load_dataset dataset = load_dataset("IVC-liuyuan/training_m3diff", split="train") print(dataset[0]) ``` Alternatively, download the raw JSON: ```python from huggingface_hub import hf_hub_download annotation_path = hf_hub_download( repo_id="IVC-liuyuan/training_m3diff", repo_type="dataset", filename="training_m3diff.json", ) ``` To train M³Diff, arrange the separately obtained images under a common root so the paths in each record resolve as follows: ```text / ├── OmniDiff/ ├── CLEVR-Change/ ├── CLEVR-DC/ ├── IEdit/ ├── spot-the-diff/ └── birds-to-words/ ``` ## Intended use This dataset is intended for research on image difference captioning, fine-grained paired-image understanding, and multimodal instruction tuning. It was assembled for training M³Diff, which augments LLaVA-OneVision-7B with a Multi-scale Differential Perception (MDP) module. ## License The repository aggregates annotation records derived from multiple datasets, so no single license is asserted for the complete mixture. The annotations, image paths, and separately downloaded images remain subject to the terms of OmniDiff and their respective upstream datasets: Spot-the-Diff, IEdit, Birds-to-Words, CLEVR-Change, and CLEVR-DC. Consult each source before use or redistribution. Uploading this JSON file does not relicense any image. ## Citation If this training set or M³Diff is useful in your research, please cite: ```bibtex @inproceedings{liu2025omnidiff, title={OmniDiff: A Comprehensive Benchmark for Fine-grained Image Difference Captioning}, author={Liu, Yuan and Hou, Saihui and Hou, Saijie and Du, Jiabao and Meng, Shibei and Huang, Yongzhen}, booktitle={Proceedings of the IEEE/CVF International Conference on Computer Vision}, pages={21440--21449}, year={2025} } ``` ## Acknowledgements M³Diff builds on OmniDiff, LLaVA-OneVision, Qwen2, and SigLIP. We also acknowledge the creators of Spot-the-Diff, IEdit, Birds-to-Words, CLEVR-Change, and CLEVR-DC. Please cite the corresponding upstream works when using their portions of this training mixture.