Papers
Topics
Authors
Recent
Search
2000 character limit reached

MagicLens: Self-Supervised Image Retrieval with Open-Ended Instructions

Published 28 Mar 2024 in cs.CV, cs.AI, cs.CL, cs.IR, and cs.MM | (2403.19651v2)

Abstract: Image retrieval, i.e., finding desired images given a reference image, inherently encompasses rich, multi-faceted search intents that are difficult to capture solely using image-based measures. Recent works leverage text instructions to allow users to more freely express their search intents. However, they primarily focus on image pairs that are visually similar and/or can be characterized by a small set of pre-defined relations. The core thesis of this paper is that text instructions can enable retrieving images with richer relations beyond visual similarity. To show this, we introduce MagicLens, a series of self-supervised image retrieval models that support open-ended instructions. MagicLens is built on a key novel insight: image pairs that naturally occur on the same web pages contain a wide range of implicit relations (e.g., inside view of), and we can bring those implicit relations explicit by synthesizing instructions via foundation models. Trained on 36.7M (query image, instruction, target image) triplets with rich semantic relations mined from the web, MagicLens achieves results comparable with or better than prior best on eight benchmarks of various image retrieval tasks, while maintaining high parameter efficiency with a significantly smaller model size. Additional human analyses on a 1.4M-image unseen corpus further demonstrate the diversity of search intents supported by MagicLens. Code and models are publicly available at https://open-vision-language.github.io/MagicLens/.

Citations (14)

Summary

  • The paper introduces a self-supervised framework that mines 36.7M triplets from the web to capture rich image relationships.
  • It employs a dual-encoder architecture augmented with LMMs and LLMs to synthesize open-ended instructions for nuanced retrieval.
  • The approach demonstrates superior performance across eight benchmarks, achieving state-of-the-art results with a significantly smaller model.

Self-Supervised Image Retrieval with Open-Ended Instructions

Introduction to MagicLens

In the pursuit of enhancing image retrieval capabilities, the MagicLens model introduces a paradigm shift by incorporating open-ended instructions in the retrieval process. Utilizing a novel self-supervised learning approach, this model significantly outperforms existing state-of-the-art (SOTA) methods across a variety of benchmarks, all the while employing a substantially smaller model size. The critical insight underpinning MagicLens is the realization that naturally occurring image pairs on the web encapsulate a wide distribution of implicit relations. By synthesizing explicit instructions using Large Multimodal Models (LMMs) and LLMs, MagicLens can retrieve images with rich semantic relations, extending well beyond mere visual similarities.

Key Contributions

  • Innovative Self-Supervised Learning Approach: MagicLens is trained on a large dataset of 36.7M triplets, each consisting of a query image, an open-ended instruction, and a target image. These triplets are mined from the web, reflecting a broad spectrum of natural image relations.
  • Superior Performance with Reduced Model Size: Despite its leaner architecture, MagicLens demonstrates superior or comparable performance on eight diverse benchmarks related to various image retrieval tasks. Notably, it outshines prior SOTA methods with a model size 50 times smaller on several benchmarks.
  • Demonstrated Efficacy in Handling Complex Queries: Through extensive evaluations, including on a 1.4M image corpus, MagicLens has shown remarkable capability in understanding and fulfilling complex and beyond-visual search intents based on open-ended instructions.

Approach and Methodology

The foundation of MagicLens lies in its unique data construction pipeline, leveraging the web as a vast source of self-supervised training signals. By extracting and pairing images that co-occur naturally on the same web pages, a broad variety of implicit image relations are harnessed. Subsequent enrichment of these pairs with metadata and explicit instructions synthesized through LMMs and LLMs contributes to the creation of a rich training dataset.

The model architecture of MagicLens employs a dual-encoder approach with shared parameters, initialized with baseline models like CLIP and CoCa. This design is augmented with self-attention layers for deep modality integration, enabling effective training with a simple contrastive loss function.

Data Construction Insights

A significant advancement brought forth by MagicLens is its method of data construction, yielding 36.7M high-quality triplets. Natural image pairs from the same web pages offer a spectrum of relations, ranging from visual to contextual associations. LLMs play a pivotal role in generating instructions that are diverse and coherent, contributing to the model's nuanced understanding of varying search intents.

Performance Evaluation

MagicLens's effectiveness is validated through its stellar performance across multiple benchmarks, including CIRCO, DTIN, and GeneCIS. Its ability to retain the text-to-image retrieval enhancement further highlights the versatility and robustness of the proposed method. Furthermore, the model demonstrates a marked improvement in understanding complex and multi-faceted search intents, as evidenced by human evaluative studies on a 1.4M unseen image corpus.

Future Directions

The success of MagicLens opens new avenues for research and application in the fields of search engines, digital assistants, and more, where nuanced image retrieval can significantly enhance user experience. The methodology of constructing self-supervised training data from web-mined image pairs introduces a scalable paradigm that can be extended to other domains beyond image retrieval.

In conclusion, MagicLens represents a significant leap forward in the field of image retrieval, marrying the flexibility of open-ended instructions with the precision of deep learning models. Its success lays the groundwork for future exploration in utilizing naturally occurring data to train more intelligent and versatile models.

This summary reflects the essence and contributions of the MagicLens paper without exploring over-generalizations or sensationalized language. It aims to provide the reader with a clear understanding of the model's capabilities, methodology, and impact on the field of image retrieval and beyond.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Collections

Sign up for free to add this paper to one or more collections.

Tweets

Sign up for free to view the 17 tweets with 713 likes about this paper.