Skip to main content
QUICK REVIEW

[Paper Review] Candidate Set Re-ranking for Composed Image Retrieval with Dual Multi-modal Encoder

Zheyuan Liu, Weixuan Sun|arXiv (Cornell University)|May 25, 2023
Multimodal Machine Learning ApplicationsComputer Science6 citations
TL;DR

This paper proposes a two-stage composed image retrieval method that first filters candidates using fast vector similarity and then re-ranks the top candidates using a dual multi-modal encoder that explicitly models interactions between reference images, text queries, and candidates. The approach achieves state-of-the-art performance on Fashion-IQ and CIRR benchmarks by combining efficiency with fine-grained cross-modal reasoning.

ABSTRACT

Composed image retrieval aims to find an image that best matches a given multi-modal user query consisting of a reference image and text pair. Existing methods commonly pre-compute image embeddings over the entire corpus and compare these to a reference image embedding modified by the query text at test time. Such a pipeline is very efficient at test time since fast vector distances can be used to evaluate candidates, but modifying the reference image embedding guided only by a short textual description can be difficult, especially independent of potential candidates. An alternative approach is to allow interactions between the query and every possible candidate, i.e., reference-text-candidate triplets, and pick the best from the entire set. Though this approach is more discriminative, for large-scale datasets the computational cost is prohibitive since pre-computation of candidate embeddings is no longer possible. We propose to combine the merits of both schemes using a two-stage model. Our first stage adopts the conventional vector distancing metric and performs a fast pruning among candidates. Meanwhile, our second stage employs a dual-encoder architecture, which effectively attends to the input triplet of reference-text-candidate and re-ranks the candidates. Both stages utilize a vision-and-language pre-trained network, which has proven beneficial for various downstream tasks. Our method consistently outperforms state-of-the-art approaches on standard benchmarks for the task. Our implementation is available at https://github.com/Cuberick-Orion/Candidate-Reranking-CIR.

Motivation & Objective

  • To address the trade-off between inference efficiency and discriminative power in composed image retrieval (CIR).
  • To improve retrieval accuracy by enabling explicit query-candidate interactions through triplet modeling.
  • To maintain acceptable inference time by combining fast pre-filtering with a computationally heavier re-ranking stage.
  • To leverage vision-and-language pre-trained models effectively in a dual-encoder architecture for CIR.

Proposed method

  • The method uses a two-stage pipeline: first, a fast vector distance-based filtering to reduce candidate set size.
  • The filtering stage computes cosine similarity between the query-modified reference embedding and pre-computed candidate embeddings.
  • The re-ranking stage employs a dual-encoder architecture that jointly attends to the triplet of reference image, text query, and candidate image.
  • The dual-encoder model processes the three inputs in a multi-modal transformer encoder to compute refined relevance scores.
  • Both stages are built on a vision-and-language pre-trained backbone, ensuring strong feature representation.
  • The final prediction is selected from the re-ranked top-K candidates based on the highest relevance score.

Experimental results

Research questions

  • RQ1Can a two-stage approach balance inference efficiency and discriminative power in composed image retrieval?
  • RQ2How effective is explicit triplet-level interaction (reference-text-candidate) in improving retrieval accuracy compared to indirect feature modification?
  • RQ3Can a dual-encoder architecture effectively model cross-modal interactions in composed image retrieval with minimal performance degradation?
  • RQ4What is the optimal trade-off between candidate set size (K) and inference cost in the re-ranking stage?
  • RQ5To what extent does the re-ranking stage improve over the initial filtering stage in terms of recall and precision?

Key findings

  • The proposed method achieves state-of-the-art performance on both Fashion-IQ and CIRR benchmarks, outperforming existing SOTA methods.
  • The re-ranking stage improves average Recall by approximately 5 percentage points compared to the filtered results alone.
  • On Fashion-IQ, the inference time for the re-ranking step is about 8 times slower than the filtering step, and on CIRR, it is about 35 times slower.
  • The filtering module effectively removes easy negatives, as shown in qualitative results where top-6 filtered candidates already resemble the reference image.
  • The re-ranking model successfully brings the true target forward in 3 out of 4 qualitative examples on CIRR, particularly excelling in detecting added objects like cats or new scene elements like libraries.
  • The model fails in cases requiring compositional reasoning, such as correctly interpreting 'with' to detect two entities simultaneously, as seen in the failure case (d) of Figure 4.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.