A clever way to create massive training data for image search by connecting similar images intelligently.
MegaPairs introduces a data synthesis method that creates high-quality training data for multimodal retrieval by leveraging vision language models and open-domain images.
-----
https://arxiv.org/abs/2412.14475
π€ Original Problem:
β Multimodal retrieval systems suffer from severe data scarcity, limiting their effectiveness across diverse tasks and domains
β Existing datasets are either small, lack diversity, or held privately by research labs
-----
π§ Solution in this Paper:
β MegaPairs constructs heterogeneous KNN triplets from open-domain images using three similarity models
β CLIP vision-encoder captures visual-semantic correlations between images
β DINO vision-encoder identifies visual-pattern similarities
β CLIP text-encoder measures caption correlations between image pairs
β A two-stage annotation pipeline uses MLLMs to generate detailed descriptions of image relationships
β LLMs then refine these descriptions into retrieval instructions
-----
π‘ Key Insights:
β Using multiple similarity models creates more diverse and meaningful image pairs
β Two-stage annotation ensures high-quality instruction generation
β Hard negative sampling significantly improves model performance
-----
π Results:
β Generated 26M high-quality training instances
β With just 500K samples, outperformed models trained on 36.7M samples
β Achieved state-of-the-art performance on 4 composed image retrieval benchmarks
β Set new records on 36 MMEB datasets










