[Paper Review] ARTEMIS: Attention-based Retrieval with Text-Explicit Matching and Implicit Similarity
ARTEMIS proposes a two-module, text-guided attention model for image search with free-form text modifiers, combining explicit text-driven matching and implicit similarity to outperform state-of-the-art retrieval baselines without heavy pre-training or multi-level features.
An intuitive way to search for images is to use queries composed of an example image and a complementary text. While the first provides rich and implicit context for the search, the latter explicitly calls for new traits, or specifies how some elements of the example image should be changed to retrieve the desired target image. Current approaches typically combine the features of each of the two elements of the query into a single representation, which can then be compared to the ones of the potential target images. Our work aims at shedding new light on the task by looking at it through the prism of two familiar and related frameworks: text-to-image and image-to-image retrieval. Taking inspiration from them, we exploit the specific relation of each query element with the targeted image and derive light-weight attention mechanisms which enable to mediate between the two complementary modalities. We validate our approach on several retrieval benchmarks, querying with images and their associated free-form text modifiers. Our method obtains state-of-the-art results without resorting to side information, multi-level features, heavy pre-training nor large architectures as in previous works.
Motivation & Objective
- Motivate image search with dual queries: a reference image and a free-form text modifier.
- Develop two complementary modules that separately handle explicit text-driven matching and implicit similarity to the target image.
- Use lightweight attention guided by the text modifier to focus on relevant visual cues.
- Train the two modules jointly with a batch-based classification loss to optimize retrieval.
- Demonstrate strong performance across fashion and open-domain datasets without heavy external information or large architectures.
Proposed method
- Introduce Explicit Matching (EM) module that projects the text modifier into the visual space and applies a text-guided attention to emphasize target-relevant visual dimensions.
- Introduce Implicit Similarity (IS) module that uses a text-guided attention to weight the reference and target image features before computing cosine similarity.
- Compute EM score as the inner product between the transformed text and the attended target features (s_EM = <T(m) | A_EM(m) ⊙ t>).
- Compute IS score as the cosine similarity between the attended reference and attended target features (s_IS = ⟨A_IS(m) ⊙ r | A_IS(m) ⊙ t⟩).
- Combine EM and IS scores via late fusion: s = s_EM + s_IS.
- Train with batch-based classification (BBC) loss (InfoNCE-like) over triplets using the sum of EM and IS as the compatibility score.
Experimental results
Research questions
- RQ1Can a dual-module approach leverage both explicit text-driven modification and implicit visual similarity for better image retrieval with text modifiers?
- RQ2Do light-weight, text-guided attention mechanisms suffice to outperform heavier cross-attention or multi-level feature methods on standard benchmarks?
- RQ3How do isolated EM and IS components compare to the full ARTEMIS model across fashion and open-domain datasets?
- RQ4Is joint training of the EM and IS modules beneficial for generalization across diverse datasets?
Key findings
- ARTEMIS achieves state-of-the-art results on Fashion IQ, Shoes, and CIRR benchmarks without heavy pre-training or large architectures.
- Both EM and IS modules contribute complementary strengths, with the full ARTEMIS model outperforming ablations across datasets.
- Light-weight, text-guided attention enables effective focusing on relevant visual cues for both modalities, yielding robust performance.
- Different backbone configurations (ResNet/RN and LSTM/BiGRU) show ARTEMIS remains competitive and can excel with proper pairing.
- Qualitative results illustrate how EM focuses on caption-relevant regions while IS attends to shared visual cues between reference and target.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.