
===== PDF PAGE 1 =====
                        QuRe: Query-Relevant Retrieval through
                   Hard Negative Sampling in Composed Image Retrieval


              Jaehyun Kwak 1 Ramahdani Muhammad Izaaz Inhar 1 Se-Young Yun 1 Sung-Ju Lee 1


                        Abstract
     Composed Image Retrieval (CIR) retrieves rel-
     evant images based on a reference image and
     accompanying text describing desired modifi-
     cations. However, existing CIR methods only
     focus on retrieving the target image and disre-
     gard the relevance of other images. This limi-
     tation arises because most methods employing
     contrastive learning–which treats the target im-
     age as positive and all other images in the batch                Figure 1. Comparison of existing CIR methods and Q U R E. Tradi-
     as negatives–can inadvertently include false neg-                tional CIR approaches treat all non-target images as negatives in
     atives. This may result in retrieving irrelevant                 contrastive learning. In contrast, Q U R E ranks the image corpus
     images, reducing user satisfaction even when the                 using a learned relevance score to identify a hard negative set. It
     target image is retrieved. To address this issue, we             then applies preference-based optimization to distinguish not only
     propose Query-Relevant Retrieval through Hard                    the target image but also other relevant images from hard negatives,
     Negative Sampling (Q U R E), which optimizes a                   leading to improved retrieval performance.
     reward model objective to reduce false negatives.
     Additionally, we introduce a hard negative sam-                  search capabilities in scenarios where textual descriptions
     pling strategy that selects images positioned be-                alone are insufficient. This task is critical for applications
     tween two steep drops in relevance scores fol-                   such as e-commerce and Internet search, where users often
     lowing the target image, to effectively filter false             seek results that match complex, visually nuanced specifica-
     negatives. In order to evaluate CIR models on                    tions. For instance, as shown in Figure 1, a query combin-
     their alignment with human satisfaction, we create               ing an image of a shirt with the text ‘blue t-shirt with short
     Human-Preference FashionIQ (HP-FashionIQ), a                     sleeves’ requires CIR to retrieve matching images, including
     new dataset that explicitly captures user prefer-                variations in style or color.
     ences beyond target retrieval. Extensive exper-
     iments demonstrate that Q U R E achieves state-                  Existing CIR methods focus on retrieving the target image
     of-the-art performance on FashionIQ and CIRR                     and overlook the broader relevance of other images. This
     datasets while exhibiting the strongest alignment                limitation arises from the structure of CIR datasets, which
     with human preferences on the HP-FashionIQ                       typically annotate only a single target image per query and
     dataset. The source code is available at https:                  lack annotations for false negatives–relevant images not
     //github.com/jackwaky/QuRe.                                      marked as targets. Furthermore, most CIR methods (Bai
                                                                      et al., 2024; Li et al.; Zhang et al., 2024) adopt contrastive
                                                                      learning, treating the target image as positive and all other
1. Introduction                                                       images in the batch as negatives, inevitably including false
                                                                      negatives. While effective at ranking the target image within
Composed Image Retrieval (CIR) retrieves images from a                the top-k results, this approach frequently retrieves irrele-
large corpus using text and image inputs, enabling precise            vant images, as illustrated in Figure 1. Such irrelevance
     1
       KAIST.     Correspondence     to:      Sung-Ju       Lee       can reduce user satisfaction, as retrieval experience largely
<profsj@kaist.ac.kr>.                                                 depends on the proportion of relevant items in the retrieved
                                                                      set (Al-Maskari & Sanderson, 2010).
Proceedings of the 42 nd International Conference on Machine
Learning, Vancouver, Canada. PMLR 267, 2025. Copyright 2025           We propose Query-Relevant Retrieval through Hard Neg-
by the author(s).                                                     ative Sampling (Q U R E), which aims to retrieve not only

                                                                  1


===== PDF PAGE 2 =====
               QuRe: Query-Relevant Retrieval through Hard Negative Sampling in Composed Image Retrieval

the target image but also other relevant images with high                identifies images between two sharp declines in relevance
ranks, thereby improving user satisfaction. To mitigate the              scores after the target image. It optimizes model training
inclusion of multiple false negatives, Q U R E adopts a reward           by leveraging highly challenging samples while ensuring
model training objective (Ouyang et al., 2022), optimizing               they are less relevant to the query than the target.
the likelihood of ranking a positive image above a single
negative image, with the target image designated as positive           • We achieve state-of-the-art performance on the FashionIQ
for each query. A key challenge lies in sampling appropri-               and CIRR datasets, and demonstrate superior alignment
ate negatives, excluding false negatives while incorporating             with human preferences on the newly introduced Human-
hard negative.                                                           Preference FashionIQ (HP-FashionIQ) dataset.
 Hard negatives are generally defined as samples that (1) be-
 long to a different class than the anchor and (2) have embed-
 dings close to the anchor (Robinson et al., 2020; Ma et al.,          2. Related Work
 2020; Tabassum et al., 2022; Huynh et al., 2022). Tradi-              Vision-language foundation model. Vision-Language
 tional hard negative selection relies on class labels, but in         Models (VLMs) have gained attention for their ability to
 CIR, each query has a unique target, making class-based               integrate multimodal data. Transformer-based architectures
 distinctions impractical. Moreover, randomly selecting neg-           effectively handle both visual and language inputs (Li et al.,
 atives from the entire corpus or choosing those too similar to        2019; Lu et al., 2019). Contrastive learning methods, which
 the target often leads to suboptimal training (Figure 4). To          align visual and language modalities, have significantly im-
 address these challenges, we redefine the first condition as          proved performance in VLMs (Jia et al., 2021; Radford
‘less relevant to the query than the target,’ ensuring that hard       et al., 2021). New architectures combine features from both
 negatives differ from the query in at least one key attribute,        modalities. For instance, Flamingo (Alayrac et al., 2022)
 such as color or shape.                                               and BLIP (Li et al., 2022) use cross-attention, where visual
To balance both conditions for selecting proper hard neg-              hidden states from the vision encoder are inserted into cross-
atives in CIR, Q U R E periodically sorts the images in the            attention layers within the text encoder layers. BLIP-2 (Li
corpus based on their relevance scores, calculated using               et al., 2023) and QWEN (Bai et al., 2023) utilize pre-trained
the training model. During training, with the target image             image and text encoders with learnable networks that bridge
marked as positive, visually similar images (false negatives)          the gap between modalities.
tend to rank near the top of the sorted list. The sorted im-           Q U R E fine-tunes BLIP-2, using its image and text encoders
ages are then divided into three groups: (1) false negatives,          with the Q-former module to handle modality gaps. We
including the target image, (2) hard negatives, and (3) easy           chose BLIP-2 for its efficient combination of image and
negatives. Hard negatives are defined as images that fall              text processing, requiring minimal training of the Q-former
between two sharp declines in relevance scores, which occur            module.
after the target image. These steep drops indicate signifi-
cant changes in relevance (Xia et al., 2024), ensuring that            Composed image retrieval. The CIR task fetches im-
hard negatives differ from the query in at least one key at-           ages using multimodal input features. A common approach
tribute (Figure 6). This distinction makes hard negatives              is feature fusion, where the reference image and text are
particularly valuable as challenging examples for training.            jointly embedded and compared against embeddings of can-
                                                                       didate images (Vo et al., 2019; Dodds et al., 2020; Liu et al.,
Our approach achieves state-of-the-art performance on the              2021; Baldrati et al., 2023). Bi-BLIP4CIR (Liu et al., 2024)
FashionIQ and CIRR datasets. To further evaluate alignment             trains the text encoder using bi-directional training to cap-
with human preferences, we created the Human-Preference                ture both text directions of a given relation. CASE (Levy
FashionIQ (HP-FashionIQ) dataset, where human annota-                  et al., 2024) leverages BLIP (Li et al., 2022) cross-attention
tions indicate preferences between two retrieved sets for a            architecture to perform an early fusion between the modali-
given query. Experiments on HP-FashionIQ demonstrate                   ties. Other approaches transform images into pseudo-word
that Q U R E achieves the best alignment with human prefer-            embeddings or sentence-level prompts for text-to-image re-
ences compared to baseline methods.                                    trieval (Liu et al., 2023; Saito et al., 2023; Bai et al., 2024).
Our contributions are as follows:                                      MGUR (Chen et al., 2024) introduces an uncertainty loss for
                                                                       coarse-grained retrieval, and SPN4CIR (Feng et al., 2024)
                                                                       proposes a data generation method to scale positive and
• We propose Q U R E, a CIR algorithm that retrieves not
                                                                       negative samples using multimodal LLMs.
  only the target image but also other relevant images with
  high ranks to enhance user satisfaction.                             However, all previous works trained models using con-
                                                                       trastive loss, treating the target image as positive and all
• We introduce a novel hard negative sampling strategy that            other images in the batch as negatives. This approach risks

                                                                   2


===== PDF PAGE 3 =====
                QuRe: Query-Relevant Retrieval through Hard Negative Sampling in Composed Image Retrieval




Figure 2. Overview of Q U R E. During training, Q U R E periodically ranks corpus images by relevance score using the current model. Hard
negatives are selected from the range between two sharp drops in relevance scores following the target image. A KL divergence loss is
then used to train the model to assign higher relevance to the positive image than to a randomly chosen hard negative.

including false negatives as negatives, which may lead to              3. Methodology
irrelevant retrieval results. Q U R E overcomes this issue by
employing the reward model objective, pairing each positive            We denote a CIR dataset as D = {di | i = 1, . . . , Ndata },
image with a sampled single hard negative.                             where each data point consists of a reference image, relative
                                                                       text, and a target image, i.e., di = {xIi , xTi , yIi }. The goal
Hard negative sampling. Hard negative sampling is a                    of CIR is to retrieve a set of images from the image corpus
common technique in contrastive learning that selects more             I = {Ij | j = 1, . . . , Nimg }, including the target image yI ,
informative negatives rather than treating all images in the           where the retrieved images reflect the specified relative text
batch equally. HCL (Robinson et al., 2020) suggests that               xT while preserving the visual properties of the reference
hard negatives should (1) belong to a different class than             image xI . The training algorithm of Q U R E is provided in
the anchor, and (2) have embeddings closer to it. However,             Appendix A.
in unsupervised settings like the CIR dataset, the lack of
annotations makes it challenging to identify appropriate               3.1. Q U R E: Query-Relevant Retrieval through Hard
hard negatives. Embedding similarity alone can lead to                      Negative Sampling
including false negatives, prompting some approaches to
incorporate model uncertainty, as higher uncertainty often             Relevance score. For each image in corpus I ∈ I, we define
indicates proximity to class boundaries (Ma et al., 2020).             the relevance score to the query as the inner product of the
UnReMix (Tabassum et al., 2022) addresses this by combin-              bi-modal query and image embeddings:
ing embedding similarity with model uncertainty to identify                                Q(Eimg (xI ), xT ) · Q(Eimg (I))
suitable hard negatives. Meanwhile, FNC (Huynh et al.,                    s(xI , xT , I) =                                  . (1)
                                                                                                          τ
2022) uses a predefined threshold to filter out false nega-
                                                                       Here, Eimg is the BLIP-2 image encoder, Q denotes the Q-
tives and treats such samples as positives.
                                                                       Former, and τ is the learned BLIP-2 temperature. Q-Former
To address these challenges, Q U R E introduces a novel hard           processes the reference image embedding and relative text
negative sampling strategy. It selects hard negatives from             to align image and text modalities through cross-attention.
images positioned between two sharp drops in relevance
                                                                       Training objective. Q U R E is trained to maximize the prob-
scores following the target image. The steep drop after the
                                                                       ability of preferring the highly relevant image, positive, over
target ensures that the selected image differs from the query
                                                                       the less relevant image, negative. We model the latent prefer-
in at least one key attribute (e.g., color or shape), making it
                                                                       ence distribution p∗ using the Bradley-Terry model (Bradley
a suitable hard negative for training.
                                                                       & Terry, 1952), where Ip and In denote the positive and
                                                                       negative images, respectively.
                                                                       p∗ (Ip ≻ In | xI , xT ) = σ(s(xI , xT , Ip ) − s(xI , xT , In )).
                                                                                                                                     (2)

                                                                   3


===== PDF PAGE 4 =====
                QuRe: Query-Relevant Retrieval through Hard Negative Sampling in Composed Image Retrieval

We set the target image as positive Ip = yI . To in-                  Finally, the hard negative set for the i-th query is defined as:
clude the negative image In , we construct the dataset
D∗ = {(xI , xT , Ip , In ) | (xI , xT , Ip ) ∈ D, In ∈ H},                  Hi = {Ij |j ∈ [min(k1 , k2 ) + 1, max(k1 , k2 )],
where In is drawn from the hard negative set H, defined                                  si,j < s(xIi , xTi , yi )}.              (7)
in Section 3.2. The model is optimized by minimizing the
negative log-likelihood (NLL) loss:                                   Sampling hard negatives. To ensure diverse and informa-
                                                                      tive negatives, a single image is sampled from the defined
 L = −E(xI ,xT ,Ip ,In )∼D∗ [log(p∗ (Ip ≻ In | xI , xT ))]. (3)       hard negative set for every epoch based on a uniform distri-
This objective is equivalent to minimizing the KL diver-              bution.
gence between p∗ and a target distribution p = [1, 0], ensur-
ing the model prefers the positive image over the negative.           4. HP-FashionIQ Dataset
                                                                      The commonly used evaluation metric, Recall@k, fails to
3.2. Hard Negative Set Sampling
                                                                      capture user satisfaction. While user satisfaction increases
Defining hard negative set. We defined the conditions                 with the number of relevant items retrieved (Al-Maskari &
for an appropriate negative image In in the CIR setting as            Sanderson, 2010), Recall@k only checks whether the target
follows:                                                              image is retrieved, disregarding the relevance of other im-
                                                                      ages in the fetched result. However, assessing the relevance
C1. The negative image In should be less relevant to the
                                                                      of retrieved images is challenging, as it requires evaluating
query than the target image Ip .
                                                                      how well the images align with both the text and image in-
C2. The relevance score of the negative image In should be
                                                                      puts, which in CIR involves considering numerous complex
similar to that of the target image Ip .
                                                                      attributes.
However, identifying false negatives is practically infeasible
                                                                      Human evaluation remains the most reliable way to measure
as the CIR dataset annotates only the target image for each
                                                                      image relevance, as humans can accurately assess how well
query. Additionally, selecting images that are overly dissim-
                                                                      an image matches a multi-modal query. To facilitate such
ilar from the target may satisfy C1 but fail to meet C2, or
                                                                      evaluation, we created the Human-Preference FashionIQ
vice versa, further complicating the selection process.
                                                                      (HP-FashionIQ) dataset, using the validation set of the Fash-
To balance these conditions, we sort the images in corpus I           ionIQ dataset (Wu et al., 2021) with 61 participants. We
by their relevance scores obtained from the training model,           selected the FashionIQ dataset for its high relevance and
forming an ordered set:                                               broad applicability, mirroring the search functionalities of
                                                                      e-commerce platforms.
                              where si,1 ≥ · · · ≥ si,Nimg
 Si = {si,1 , . . . , si,Nimg },
                                                         (4)          Table 1. Statistics of HP-FashionIQ Dataset: Each query has two
where Si represents the relevance scores sorted in descend-           sets of retrieved images from different CIR models, annotated
ing order for the i-th query.                                         based on their preferences.

Based on the ordered set, we categorize images into three                       # Total     # Shirts     # Toptee      # Valid
                                                                                Queries     Queries      Queries       Queries
groups: (1) false negatives, which include the target image,
(2) hard negatives, and (3) easy negatives. To identify hard                     3,050        1,800       1,250         2,715
negatives, we select images positioned between two steep
relevance score drops occurring after the target image.               Data collection setting. Each question consisted of two
The steep drop in relevance score indicates a noticeable shift        retrieved image sets, each with the top 5 results from differ-
in semantic similarity (Xia et al., 2024), helping to exclude         ent CIR models. For every question, two CIR models were
false negatives while selecting negatives that are still chal-        randomly selected from the following four: CLIP4CIR (Bal-
lenging for the model. By focusing on this transition zone,           drati et al., 2023), Bi-BLIP4CIR (Liu et al., 2024), CoVR-
we ensure that the selected negatives maintain a balance              BLIP (Ventura et al., 2024b), and SPRC (Bai et al., 2024).
between similarity and distinction from the target image.             We provided queries and retrieved images from the ‘shirts’
The subset of scores lower than the target score is defined           or ‘top tees’ categories of the FashionIQ dataset to partici-
as:                                                                   pants. Each participant was given 50 questions with a total
        S<targ  = {si,j | si,j < s(xIi , xTi , yi )}.    (5)          of 100 sets of retrieved images, covering 3,050 queries in
          i
                                                                      the FashionIQ validation set.
From this subset, the indices of the top two largest degrada-
tions are identified as:                                              Annotation methodology. For each question in the survey,
                                                                      participants chose the preferred set between the two pro-
  k1 , k2 = arg top-2j (si,j − si,j+1 | si,j ∈ S<targ
                                                i     ).   (6)        vided sets, assessing the alignment with human preferences.

                                                                  4


===== PDF PAGE 5 =====
                QuRe: Query-Relevant Retrieval through Hard Negative Sampling in Composed Image Retrieval


Table 2. Performance comparison on the FashionIQ validation dataset across different methods. The best results are highlighted in bold,
and the second-best are underlined.

                                                   Dress                   Shirt               Toptee                 Average
    Method
                                           R@10        R@50        R@10        R@50        R@10     R@50     R@10      R@50      Avg.

    CoSMo (Lee et al., 2021)               23.60           49.18   18.11           43.18   24.63    54.31    22.11     48.89     35.50
    MGUR (Chen et al., 2024)               23.15           48.74   18.99           43.47   25.55    52.83    22.56     48.35     35.46
    CLIP4CIR (Baldrati et al., 2023)       38.32           63.90   44.31           65.41   47.27    70.98    43.30     66.76     55.03
    Bi-BLIP4CIR (Liu et al., 2024)         39.12           62.92   39.21           62.81   44.37    67.06    40.90     64.26     52.58
    CoVR-BLIP (Ventura et al., 2024b)      44.55           69.03   48.43           67.42   52.60    74.31    48.53     70.25     60.24
    SPRC (Bai et al., 2024)                45.71           70.00   51.37           72.77   55.48    77.46    50.86     73.41     62.13
    QURE                                   46.80           69.81   53.53           72.87   57.47    77.77    52.60     73.48     63.04



To our knowledge, this is the first CIR dataset with human                   centration during the annotation period, users rated the rel-
preference-annotated retrieved images. An example of data                    evance of the retrieved sets before annotating for their pre-
from HP-FashionIQ is shown in Figure 3, with a detailed                      ferred choice. Users rated each set on a 5-point Likert
explanation of the data collection process in Appendix C.                    scale (Likert, 1932), with a score of 5 indicating a strong
                                                                             match with the query. Queries were discarded if the user
                                                                             did not prefer the set with the higher relevance score. As a
                                                                             result, 28 queries were excluded, leaving 2,715 valid queries.
                                                                             The total number of queries in the HP-FashionIQ dataset is
                                                                             shown in Table 1.

                                                                             5. Experiments
                                                                             5.1. Experimental Setup
                                                                             Datasets. We evaluate the models on widely used CIR
                                                                             datasets, FashionIQ (Wu et al., 2021) and CIRR (Suhr et al.,
                                                                             2018), to assess their ability to retrieve the target image.
                                                                             Additionally, we evaluate them on the HP-FashionIQ dataset
                                                                             to assess their alignment with human preferences.
                                                                             Implementation. We used BLIP-2 (Li et al., 2023) with a
                                                                             ViT-L image encoder. Following previous work (Baldrati
                                                                             et al., 2023), we resized images to 224×224 with a 1.25
Figure 3. An example from the HP-FashionIQ dataset: Given a                  padding ratio. Q U R E is trained using the AdamW opti-
query, two retrieved image sets are presented. In this example, the
                                                                             mizer (Loshchilov, 2017) for 50 epochs on CIRR and 30
user preferred Set 2, as it better preserves the visual properties of
                                                                             epochs on FashionIQ. The hard negative set H was defined
the reference image.
                                                                             ndef times, starting with a warm-up phase where H initially
Modality redundancy check. While CIR should consider                         included the entire corpus except for the target during the
both image and text, some examples focus solely on the                       first ⌊nepoch /ndef ⌋ epochs. The hard negative set H is up-
image or the text. CASE (Levy et al., 2024) highlighted                      dated every ⌊nepoch /ndef ⌋ epochs. We set ndef to six for
modality redundancy in FashionIQ, indicating that text is                    both FashionIQ and CIRR. All experiments were conducted
sometimes more influential than the image. We instructed                     using a single Nvidia RTX 3090 GPU.
participants to consider both input modalities equally. We
asked them to flag instances where one modality seemed                       5.2. Comparison with State-of-the-art CIR Models.
irrelevant to the retrieved images to exclude data that was                  Table 7 presents the evaluation of CIR models on the Fash-
unclear for human evaluation. A total of 307 queries were                    ionIQ dataset. Q U R E consistently achieves the best or
treated as irrelevant and excluded.                                          second-best performance across all categories, attaining
Sanity check. To identify instances of decreased user con-                   the highest overall average. Notably, Q U R E demonstrates

                                                                        5


===== PDF PAGE 6 =====
               QuRe: Query-Relevant Retrieval through Hard Negative Sampling in Composed Image Retrieval


Table 3. Performance comparison on the CIRR test dataset across different methods, where Recalls @K represents Recallsubset@K. The
best results are highlighted in bold, and the second-best are underlined.

                                                        Recall@K                                Recalls @K             Average
    Method
                                           K=1       K=5       K=10         K=50        K=1          K=2     K=3     R@5 + Rs @1

    CosMo (Lee et al., 2021)               6.48      23.11     34.63        67.33       20.29     40.22      60.80       43.55
    MGUR (Chen et al., 2024)               5.78      21.45     33.42        67.06       20.29     40.22      60.80       42.91
    CLIP4CIR (Baldrati et al., 2023)      44.12      77.23     86.51        97.95       73.11     89.11      95.42       75.17
    Bi-BLIP4CIR (Liu et al., 2024)        32.55      64.36     76.53        91.61       63.54     82.46      92.48       63.95
    CoVR-BLIP (Ventura et al., 2024b)     39.76      70.15     80.89        95.01       72.46     87.86      94.77       71.30
    SPRC (Bai et al., 2024)               50.75      80.58     88.72        97.59       79.57     91.76      96.70       80.07
    QURE                                  52.22      82.53     90.31        98.17       78.51     91.28      96.48       80.52




significant improvements over SPRC (Bai et al., 2024) when              Set 2, and annotated their preferences between them. To
the retrieved set size is small, such as in Recall@10, with             calculate the overall relevance score of a CIR model for each
gains of 1.09%, 2.16%, and 1.99% for the dress, shirt, and              set, we averaged the relevance scores of the five retrieved
toptee categories, respectively. Previous work (Levy et al.,            images within the set:
2024) has identified high modality redundancy in the Fash-
ionIQ dataset, where text dominates the retrieval process,                                           1 X
                                                                                    srel (Set i) =       srel (xI , xT , I).       (8)
favoring text-based methods such as Bi-BLIP4CIR (Liu                                                 5
                                                                                                       I∈Set i
et al., 2024) and SPRC (Bai et al., 2024). Despite this bias,
Q U R E achieves state-of-the-art performance, improving the            where srel denotes the relevance score (e.g., cosine similar-
overall average recall by 10.46% and 0.91% compared with                ity) computed by CIR models.
Bi-BLIP4CIR and SPRC, respectively. These results high-                 The alignment with human preferences is measured through
light Q U R E’s effectiveness in accurately retrieving the target       the preference rate, which represents the conditional prob-
image, even in the presence of modality redundancy.                     ability that Set 1 is preferred when its relevance score is
Table 3 shows the evaluation results on CIRR, a general-                greater than that of Set 2. Formally, we define the prefer-
domain dataset. Q U R E achieves the highest performance                ence rate as:
across all Recall@k metrics, particularly excelling in Re-
                                                                             P(Set 1 ≻ Set 2 | srel (Set 1) > srel (Set 2)).       (9)
call@1 and Recall@5, surpassing the current state-of-the-art
method, SPRC (Bai et al., 2024), by 1.47% and 1.95%, re-                Table 4 shows that the ranking of CIR models based on their
spectively. Regarding Recalls @k, which measures retrieval              alignment with human preferences on the HP-FashionIQ
performance from a subset containing relevant images and                dataset differs from their performance rankings on the Fash-
the target, Q U R E achieves the second-best results. This              ionIQ dataset (Table 7) using the Recall@k metric. For in-
result is attributed to the design of Q U R E, where even false         stance, MGUR achieves performance comparable to CosMo
negative images can receive higher scores than the target as            in retrieving the target image but aligns more closely with
they closely match the query. This behavior arises from our             human preferences. This discrepancy stems from MGUR’s
hard negative set definition, which excludes false negatives,           additional coarse-grained loss, which considers both the
ensuring that relevant images are not treated as negatives              target image and visually similar alternatives as positives.
and can be ranked higher than the target. Notably, Q U R E              Moreover, while SPRC, CoVR-BLIP, and Bi-BLIP4CIR
achieves state-of-the-art performance on the combined Re-               surpass CLIP4CIR in terms of Recall@k on the FashionIQ
call@5 + Recalls @1 average.                                            dataset, CLIP4CIR aligns better with human preferences
                                                                        on the HP-FashionIQ dataset, despite its lower accuracy in
5.3. Evaluation with the HP-FashionIQ Dataset                           retrieving the exact target image.
We evaluate the alignment of CIR models with human pref-                Q U R E achieves the best alignment with human preferences,
erences. Given a query {xI , xT }, each participant was pre-            which shows that Set 1 is preferred 74.55% of the time
sented with two different sets of retrieved images, Set 1 and           when its relevance score exceeds that of Set 2. This result

                                                                    6


===== PDF PAGE 7 =====
                 QuRe: Query-Relevant Retrieval through Hard Negative Sampling in Composed Image Retrieval


Table 4. Preference rate comparison on HP-FashionIQ dataset                  Table 5. Zero-shot performance comparison on the CIRCO dataset
across different methods. The best results are highlighted in bold,          across different methods. The best results are highlighted in bold,
and the second-best are underlined.                                          and the second-best are underlined.
     Method                                Preference Rate (%)                Method           mAP@5      mAP@10       mAP@25       mAP@50

     CosMo (Lee et al., 2021)                     72.96                       CosMo              0.31        0.40        0.47         0.53
     MGUR (Chen et al., 2024)                     73.99                       MGUR               0.14        0.17        0.25         0.30
     CLIP4CIR (Baldrati et al., 2023)             74.45                       CLIP4CIR          10.58       11.18        12.32        12.96
     Bi-BLIP4CIR (Liu et al., 2024)               67.33                       Bi-BLIP4CIR        4.74        4.97        5.69         6.10
     CoVR-BLIP (Ventura et al., 2024b)            73.15                       CoVR-BLIP         18.35       19.25        21.02        21.88
     SPRC (Bai et al., 2024)                      73.82                       SPRC              17.57       18.48        20.14        20.98
     QURE                                         74.55                        QURE             23.22       24.23        26.26        27.24




Figure 4. Average recall on the FashionIQ validation set using four
hard negative set definitions. After the initial hard negative set is
established (e.g., at epoch 4), the choice of definition significantly
influences average recall throughout training.                               Figure 5. Average size of the hard negative set per epoch on Fash-
                                                                             ionIQ and CIRR. This plot shows how the average number of
                                                                             hard negatives per query evolves across epochs in which the set is
demonstrates Q U R E’s ability not only to retrieve the correct              defined.
target image but also relevant images that best align with
human preferences.
                                                                             Table 3 indicates SPRC (Bai et al., 2024) significantly out-
                                                                             performs CoVR-BLIP (Ventura et al., 2024b) on the CIRR
5.4. Ablation Studies
                                                                             dataset, CoVR-BLIP shows better performance in the zero-
We present ablation results under various scenarios, with                    shot setting. This suggests that CoVR-BLIP generalizes un-
additional experiments included in Appendix B.                               seen tasks better. The results highlight that Q U R E achieves
                                                                             the highest generalizability, significantly improving over
Zero-shot performance comparison. We evaluated the
                                                                             other baselines.
zero-shot performance of the models on the CIRCO dataset
using those pre-trained on the CIRR dataset. Although                        Effect of hard negative set definition strategy. To assess
Q U R E and baseline methods are not explicitly designed                     the effectiveness of the hard negative set definition approach,
for zero-shot tasks, models that effectively retrieve relevant               we compare four strategies on the FashionIQ dataset. The
images are expected to perform well in such scenarios. Fur-                  hard negative set is defined as follows: (1) the entire image
thermore, CIRCO is the first CIR dataset to include multiple                 corpus (All corpus), (2) the top-k images based on relevance
ground truths, addressing the issue of false negatives in ex-                scores (Top-k), (3) the top-k images with relevance scores
isting datasets. Thus, evaluating the mean average precision                 lower than the target (After target, top-k), and (4) images
at k (mAP@k) on this dataset provides a reliable measure                     between sharp drops in relevance scores, occurring after the
of the model’s ability to retrieve relevant items.                           target (Q U R E).
Table 5 reveals that Q U R E achieves the best performance                   Figure 4 presents the average recall of each strategy across
among all baselines, outperforming the second-best method,                   training epochs. The results indicate that the All corpus
CoVR-BLIP, by an average margin of 5.13 mAP. While                           approach shows consistent improvement; however, it ul-

                                                                         7


===== PDF PAGE 8 =====
                QuRe: Query-Relevant Retrieval through Hard Negative Sampling in Composed Image Retrieval




Figure 6. Hard negative set examples for two shirt-category queries in FashionIQ. Each set contains images that are semantically similar
to the target but deemed less relevant by the model.


timately leads to suboptimal performance as the selected               throughout training. Initially, the model identifies a broader
negatives from the entire corpus may be too irrelevant. In-            range of images as hard negatives due to lower confidence.
spired by HCL (Robinson et al., 2020), we define a hard                As training progresses, it refines this selection, yielding a
negative set by selecting the top-100 images based on rele-            smaller yet more challenging hard negative set. This dy-
vance scores (Top-k). This approach occasionally enhances              namic resembles curriculum learning, where increasingly
model performance (e.g., at epochs 10 and 20), but it of-              difficult samples accelerate model convergence.
ten degrades due to the inclusion of false negatives. As
                                                                       Visualization of hard negative set. To evaluate our hard
training progresses, since the target image is treated as posi-
                                                                       negative set sampling strategy, we present qualitative ex-
tive, visually similar images (false negatives) tend to rank
                                                                       amples from the FashionIQ dataset in Figure 6, illustrating
higher. To mitigate the issue in the Top-k approach, we
                                                                       two queries. In the first query, the hard negatives either lack
analyze the performance of the After target, top-k strategy,
                                                                       a collar or text from the reference image ‘ECK’ or depict
which excludes false negatives by selecting the top-k images
                                                                       shirts instead of t-shirts, differing from the input image. In
following the target. Unlike Top-k, this method provides
                                                                       the second query, all retrieved shirts contain only vertical
consistent improvements without fluctuations but gradually
                                                                       stripes while successfully retrieving darker shirts. These
leads to slight performance degradation over time. This
                                                                       examples demonstrate that the hard negative sets defined
decline results from the heuristic assumption that all images
                                                                       by our method consist of images that are less relevant than
right after the target are reliable hard negatives. In contrast,
                                                                       the target (C1) while remaining semantically similar (C2),
Q U R E identifies points where relevance drops sharply and
                                                                       thereby satisfying both conditions outlined in Section 3.2.
selects images between two such points, resulting in stable
performance improvements throughout training. These re-
sults show that, with a novel hard negative sampling method,           6. Conclusion
Q U R E effectively balances the conditions C1 and C2 of se-
                                                                       We present Q U R E, a CIR model designed to retrieve both
lecting proper hard negatives.
                                                                       target and relevant images to enhance user satisfaction. Ex-
Size of hard negative set. The number of hard negative                 isting CIR datasets typically annotate only the target image
images varies significantly depending on the complexity of             per query, leading prior methods to rely on contrastive learn-
bi-modal queries and the corpus. For instance, when the                ing that treats all non-target images as negatives. Q U R E mit-
input text contains fewer attributes, such as ‘blue shirt with         igates false negatives by leveraging reward model objectives
short sleeves’, the hard negative set may include images that          and introduces a novel hard negative sampling strategy, se-
match either ‘blue’ or ‘short sleeves’, resulting in a larger          lecting images between two sharp relevance score drops af-
set. Therefore, it is crucial to define a query-specific hard          ter the target. To evaluate the alignment of CIR models with
negative set size (Xia et al., 2024).                                  human preferences, we introduce the Human-Preference
                                                                       FashionIQ (HP-FashionIQ) dataset. Q U R E achieves state-
Figure 5 shows the average size of the hard negative set
                                                                       of-the-art performance on both the FashionIQ and CIRR
across all queries in the FashionIQ and CIRR datasets.
                                                                       datasets and demonstrates the highest alignment with human
While Q U R E does not explicitly define the size of the
                                                                       preferences on the HP-FashionIQ dataset.
hard negative set, the results indicate a consistent decrease

                                                                   8


===== PDF PAGE 9 =====
              QuRe: Query-Relevant Retrieval through Hard Negative Sampling in Composed Image Retrieval

Acknowledgements                                                     Composed image retrieval using contrastive learning and
                                                                     task-oriented clip-based features. ACM Transactions on
This work was supported by the National Research Founda-             Multimedia Computing, Communications and Applica-
tion of Korea (NRF) grant funded by the Korea government             tions, 20(3):1–24, 2023.
(MSIT)(RS-2024-00337007, 50%), Institute of Informa-
tion & Communications Technology Planning & Evalua-                Bradley, R. A. and Terry, M. E. Rank Analysis of Incom-
tion (IITP) grant funded by the Korea government (MSIT)              plete Block Designs: The Method of Paired Compar-
(RS-2019-II190075, Artificial Intelligence Graduate School           isons. Biometrika, 39(3-4):324–345, 12 1952. ISSN 0006-
Program (KAIST), 5%), and the Institute of Information &             3444. doi: 10.1093/biomet/39.3-4.324. URL https:
Communications Technology Planning & Evaluation (IITP)               //doi.org/10.1093/biomet/39.3-4.324.
grant funded by the Korea government (MSIT) (No. 2022-
                                                                   Chen, Y., Zheng, Z., Ji, W., Qu, L., and Chua, T.-S.
0-00871, Development of AI Autonomy and Knowledge
                                                                     Composed image retrieval with text feedback via multi-
Enhancement for AI Agent Collaboration, 45%)
                                                                     grained uncertainty regularization. In The Twelfth In-
                                                                     ternational Conference on Learning Representations,
Impact Statement                                                     2024. URL https://openreview.net/forum?
                                                                     id=Yb5KvPkKQg.
This paper introduces Query-Relevant Retrieval through
Hard Negative Sampling (Q U R E), an approach to Com-              Dodds, E., Culpepper, J., Herdade, S., Zhang, Y., and
posed Image Retrieval (CIR) that improves retrieval qual-            Boakye, K. Modality-agnostic attention fusion for
ity by retrieving both the target and other relevant images,        visual search with text feedback.     arXiv preprint
improving user satisfaction. It addresses the false nega-            arXiv:2007.00145, 2020.
tive problem in CIR with a novel hard negative sampling
                                                                   Feng, Z., Zhang, R., and Nie, Z. Improving composed image
strategy, advancing Machine Learning and Information Re-
                                                                     retrieval via contrastive learning with scaling positives
trieval. Q U R E contributes to improving search efficiency
                                                                     and negatives. arXiv preprint arXiv:2404.11317, 2024.
in e-commerce and visual search platforms, which bene-
fits businesses and consumers by delivering more relevant          Huynh, T., Kornblith, S., Walter, M. R., Maire, M., and
search results. Additionally, the human preference-based             Khademi, M. Boosting contrastive self-supervised learn-
evaluation (HP-FashionIQ dataset) aligns CIR models with             ing with false negative cancellation. In Proceedings of the
human expectations, making AI-powered retrieval more                IEEE/CVF winter conference on applications of computer
user-centric.                                                        vision, pp. 2785–2795, 2022.
                                                                   Jia, C., Yang, Y., Xia, Y., Chen, Y.-T., Parekh, Z., Pham, H.,
References                                                            Le, Q., Sung, Y.-H., Li, Z., and Duerig, T. Scaling up
Al-Maskari, A. and Sanderson, M. A review of factors influ-           visual and vision-language representation learning with
  encing user satisfaction in information retrieval. Journal          noisy text supervision. In International conference on
  of the American Society for Information Science and Tech-           machine learning, pp. 4904–4916. PMLR, 2021.
  nology, 61(5):859–868, 2010.                                     Lee, S., Kim, D., and Han, B. Cosmo: Content-style modu-
                                                                     lation for image retrieval with text feedback. In Proceed-
Alayrac, J.-B., Donahue, J., Luc, P., Miech, A., Barr, I.,
                                                                     ings of the IEEE/CVF Conference on Computer Vision
  Hasson, Y., Lenc, K., Mensch, A., Millican, K., Reynolds,
                                                                     and Pattern Recognition, pp. 802–812, 2021.
  M., et al. Flamingo: a visual language model for few-
  shot learning. Advances in neural information processing         Levy, M., Ben-Ari, R., Darshan, N., and Lischinski, D.
  systems, 35:23716–23736, 2022.                                     Data roaming and quality assessment for composed image
                                                                     retrieval. In Proceedings of the AAAI Conference on
Bai, J., Bai, S., Chu, Y., Cui, Z., Dang, K., Deng, X., Fan,         Artificial Intelligence, volume 38, pp. 2991–2999, 2024.
  Y., Ge, W., Han, Y., Huang, F., et al. Qwen technical
  report. arXiv preprint arXiv:2309.16609, 2023.                   Li, J., Li, D., Xiong, C., and Hoi, S. Blip: Bootstrapping
                                                                     language-image pre-training for unified vision-language
Bai, Y., Xu, X., Liu, Y., Khan, S., Khan, F., Zuo, W.,               understanding and generation. In International confer-
  Goh, R. S. M., and Feng, C.-M. Sentence-level prompts              ence on machine learning, pp. 12888–12900. PMLR,
  benefit composed image retrieval. In The Twelfth In-               2022.
  ternational Conference on Learning Representations,
  2024. URL https://openreview.net/forum?                          Li, J., Li, D., Savarese, S., and Hoi, S. Blip-2: Bootstrapping
  id=m3ch3kJL7q.                                                      language-image pre-training with frozen image encoders
                                                                      and large language models. In International conference
Baldrati, A., Bertini, M., Uricchio, T., and Del Bimbo, A.            on machine learning, pp. 19730–19742. PMLR, 2023.

                                                               9


===== PDF PAGE 10 =====
               QuRe: Query-Relevant Retrieval through Hard Negative Sampling in Composed Image Retrieval

Li, L. H., Yatskar, M., Yin, D., Hsieh, C.-J., and Chang,             Saito, K., Sohn, K., Zhang, X., Li, C.-L., Lee, C.-Y., Saenko,
  K.-W. Visualbert: A simple and performant baseline for                K., and Pfister, T. Pic2word: Mapping pictures to words
  vision and language. arXiv preprint arXiv:1908.03557,                 for zero-shot composed image retrieval. In Proceedings
  2019.                                                                 of the IEEE/CVF Conference on Computer Vision and
                                                                        Pattern Recognition, pp. 19305–19314, 2023.
Li, W., Fan, H., Wong, Y., Yang, Y., and Kankanhalli, M.
  Improving context understanding in multimodal large lan-            Suhr, A., Zhou, S., Zhang, A., Zhang, I., Bai, H.,
  guage models via multimodal composition learning. In                  and Artzi, Y. A corpus for reasoning about natural
  Forty-first International Conference on Machine Learn-                language grounded in photographs. arXiv preprint
  ing.                                                                  arXiv:1811.00491, 2018.

Likert, R. A technique for the measurement of attitudes.              Tabassum, A., Wahed, M., Eldardiry, H., and Lourentzou,
  Archives of psychology, 1932.                                         I. Hard negative sampling strategies for contrastive rep-
                                                                        resentation learning. arXiv preprint arXiv:2206.01197,
Liu, Z., Rodriguez-Opazo, C., Teney, D., and Gould, S.                  2022.
  Image retrieval on real-life images with pre-trained vision-
  and-language models. In Proceedings of the IEEE/CVF                 Ventura, L., Yang, A., Schmid, C., and Varol, G. Covr-2:
  International Conference on Computer Vision, pp. 2125–                Automatic data construction for composed video retrieval.
  2134, 2021.                                                           IEEE Transactions on Pattern Analysis and Machine In-
                                                                        telligence, 2024a.
Liu, Z., Sun, W., Teney, D., and Gould, S. Candidate set
  re-ranking for composed image retrieval with dual multi-            Ventura, L., Yang, A., Schmid, C., and Varol, G. CoVR:
  modal encoder. arXiv preprint arXiv:2305.16304, 2023.                 Learning composed video retrieval from web video cap-
                                                                        tions. AAAI, 2024b.
Liu, Z., Sun, W., Hong, Y., Teney, D., and Gould, S. Bi-
                                                                      Vo, N., Jiang, L., Sun, C., Murphy, K., Li, L.-J., Fei-Fei,
  directional training for composed image retrieval via text
                                                                        L., and Hays, J. Composing text and image for image
  prompt learning. In Proceedings of the IEEE/CVF Winter
                                                                        retrieval-an empirical odyssey. In Proceedings of the
  Conference on Applications of Computer Vision, pp. 5753–
                                                                        IEEE/CVF conference on computer vision and pattern
  5762, 2024.
                                                                        recognition, pp. 6439–6448, 2019.
Loshchilov, I. Decoupled weight decay regularization. arXiv
                                                                      Wu, H., Gao, Y., Guo, X., Al-Halah, Z., Rennie, S., Grau-
  preprint arXiv:1711.05101, 2017.
                                                                       man, K., and Feris, R. Fashion iq: A new dataset towards
Lu, J., Batra, D., Parikh, D., and Lee, S. Vilbert: Pre-               retrieving images by natural language feedback. In Pro-
  training task-agnostic visiolinguistic representations for           ceedings of the IEEE/CVF Conference on computer vision
  vision-and-language tasks. Advances in neural informa-               and pattern recognition, pp. 11307–11317, 2021.
  tion processing systems, 32, 2019.                                  Xia, P., Zhu, K., Li, H., Wang, T., Shi, W., Wang, S., Zhang,
                                                                        L., Zou, J., and Yao, H. Mmed-rag: Versatile multimodal
Ma, S., Zeng, Z., McDuff, D., and Song, Y. Active con-
                                                                        rag system for medical vision language models. arXiv
 trastive learning of audio-visual video representations.
                                                                        preprint arXiv:2410.13085, 2024.
 arXiv preprint arXiv:2009.09805, 2020.
                                                                      Zhang, K., Luan, Y., Hu, H., Lee, K., Qiao, S., Chen, W.,
Ouyang, L., Wu, J., Jiang, X., Almeida, D., Wainwright, C.,
                                                                        Su, Y., and Chang, M.-W. Magiclens: Self-supervised
  Mishkin, P., Zhang, C., Agarwal, S., Slama, K., Ray, A.,
                                                                        image retrieval with open-ended instructions. Forty-first
  et al. Training language models to follow instructions
                                                                        International Conference on Machine Learning, 2024.
  with human feedback. Advances in neural information
  processing systems, 35:27730–27744, 2022.

Radford, A., Kim, J. W., Hallacy, C., Ramesh, A., Goh, G.,
  Agarwal, S., Sastry, G., Askell, A., Mishkin, P., Clark, J.,
  et al. Learning transferable visual models from natural
  language supervision. In International conference on
  machine learning, pp. 8748–8763. PMLR, 2021.

Robinson, J., Chuang, C.-Y., Sra, S., and Jegelka, S. Con-
  trastive learning with hard negative samples. arXiv
  preprint arXiv:2010.04592, 2020.

                                                                 10


===== PDF PAGE 11 =====
               QuRe: Query-Relevant Retrieval through Hard Negative Sampling in Composed Image Retrieval

A. Algorithm

Algorithm 1 Training Flow of Q U R E
 1: Input: Parameters θ, CIR dataset D, Image corpus I, Number of defining negative set ndef , Total epochs nepoch
 2: for each epoch e do
 3:   if e == 0 then
 4:      H ← I \ yI                                                      // Warmup: using all candidates as the negative set
 5:   else if e > 0 and e mod ⌊nepoch /ndef ⌋ == 0 then
 6:      H ← {I | s(xI , xT , yI ) < s(xI , xT , I), I ∈ range between two largest score degradations}        // Equation (7)
 7:   end if
 8:   for each batch b do
 9:      Inb ← Sample(Hb )                                                            // Sample one negative for every query
10:      L ← − log(σ(s(xIb , xTb , Ipb ) − s(xIb , xTb , Inb )))                                              // Equation (3)
11:      θ ← θ − η∇θ L
12:   end for
13: end for



B. Additional Experiments
B.1. Ablations with Consistent Model Backbone
In Section 5, we compare Q U R E with existing baselines on FashionIQ, CIRR, HP-FashionIQ, and CIRCO. However, model
backbones are not unified, as we follow the comparison settings used in prior CIR methods (Baldrati et al., 2023; Liu et al.,
2024; Bai et al., 2024). To ensure a fairer comparison, we conduct experiments using both BLIP and BLIP-2 backbones.
Specifically, we train Q U R E with the BLIP backbone to compare against Bi-BLIP4CIR. We also identify CoVR-2 (Ventura
et al., 2024a), the latest version of CoVR-BLIP that adopts BLIP-2, and compare it with our original Q U R E model.
Table 6, Table 7, and Table 8 present results on the CIRR, FashionIQ, HP-FashionIQ, and CIRCO datasets. Q U R E with
a BLIP backbone consistently outperforms Bi-BLIP4CIR. Moreover, CoVR-2, which adopts a BLIP-2 backbone, still
underperforms compared to our original Q U R E model with the same backbone.


Table 6. Performance comparison on the CIRR test dataset with consistent model backbones, where Recalls @K represents Recallsub-
set@K. The best results are highlighted in bold.

                                                 Recall@K                             Recalls @K               Average
    Method            Backbone
                                     K=1       K=5       K=10         K=50    K=1        K=2       K=3      R@5 + Rs @1

    Bi-BLIP4CIR       BLIP          32.55     64.36      76.53        91.61   63.54     82.46      92.48        63.95
    QURE              BLIP          51.52     80.29      88.89        97.74   78.02     91.23      96.55        79.16
    CoVR-2            BLIP-2        42.80     74.60      83.90        96.22   69.49     86.22      93.98        72.05
    QURE              BLIP-2        52.22     82.53      90.31        98.17   78.51     91.28      96.48        80.52

B.2. Visualization of Score Steepness
Q U R E defines a query-specific hard negative set by excluding false and easy negatives, aiming to enhance training
effectiveness. Specifically, it selects images between the two largest drops in relevance scores following the target image. To
analyze this steepness, we visualize the sorted relevance scores.
Figure 7 illustrates the relevance scores for a sample query from the FashionIQ dataset at two stages: before training and
after the warm-up phase. Q U R E identifies hard negatives as the images between the red and green lines, determined by
the top two largest drops in relevance scores after the target. These steep declines-visible immediately before the red line
and after the green line-suggest substantial drops in relevance (Xia et al., 2024), effectively separating false negatives, hard
negatives, and easy negatives.

                                                                 11


===== PDF PAGE 12 =====
                QuRe: Query-Relevant Retrieval through Hard Negative Sampling in Composed Image Retrieval


Table 7. Performance comparison on the FashionIQ validation dataset with consistent model backbones. The best results are highlighted
in bold.

                                              Dress                   Shirt                 Toptee                          Average
    Method            Backbone
                                     R@10         R@50        R@10          R@50       R@10           R@50       R@10           R@50       Avg.

    Bi-BLIP4CIR       BLIP            39.12           62.92   39.21           62.81    44.37          67.06      40.90          64.26      52.58
    QURE              BLIP            40.80           64.90   45.93           65.90    52.07          72.87      46.27          67.89      57.08
    CoVR-2            BLIP-2          46.41           69.51   49.75           67.76    51.86          72.46      49.34          69.91      59.63
    QURE              BLIP-2          46.80           69.81   53.53           72.87    57.47          77.77      52.60          73.48      63.04



Table 8. Comparison of HP-FashionIQ Preference Rate and CIRCO zero-shot performance with consistent model backbones. The best
results are highlighted in bold.
                          HP-FashionIQ                                                                CIRCO (Zero-shot)

        Method          Backbone     Preference Rate (%)                      Method           Backbone       m@5     m@10        m@25      m@50

        Bi-BLIP4CIR     BLIP                   67.33                          Bi-BLIP4CIR      BLIP           4.74       4.97      5.69       6.1
        QURE            BLIP                   75.28                          QURE             BLIP           20.85   21.48        23.35     24.31
        CoVR-2          BLIP-2                 71.99                          CoVR-2           BLIP-2         23.18   23.59        25.57     26.49
        QURE            BLIP-2                 74.55                          QURE             BLIP-2         23.22   24.23        26.26     27.24



Since Figure 7 shows only a single query, we also present aggregated results across all queries in Figure 8. This aggregated
visualization shows that, after the warm-up phase, hard negatives shift toward higher-ranked positions, likely capturing
more true hard negatives. This supports our design choice of introducing a warm-up stage prior to hard negative selection.
Without this stage, the selected negatives tend to include many easy examples, as observed in the left panel of the figure.




Figure 7. Visualization of sorted relevance scores for a FashionIQ query at two stages: prior to training and after completing the warm-up
phase.



C. HP-FashionIQ Dataset
C.1. Data Annotation Examples
We conducted a data collection via Google Forms. Each form consisted of instructions and 25 questions, with each question
including a query and two different sets of retrieved images. Each participant completed two forms, covering 50 queries
from the FashionIQ validation dataset, with no overlap between participants.

                                                                       12


===== PDF PAGE 13 =====
               QuRe: Query-Relevant Retrieval through Hard Negative Sampling in Composed Image Retrieval




Figure 8. Visualization of sorted relevance scores aggregated over all FashionIQ queries at two stages: before training and after the
warm-up phase.


Fig 9 shows the guidelines provided to participants, who were asked to score the retrieved image sets based on relevance to
the query using a 5-point Likert scale. We gave participants a relatable scenario that required them to evaluate the results
from two different online shopping malls based on their input. Figure 10 illustrates an example of a reference image (original
image), relative text (user text), and two sets of retrieved images from different CIR models (Shopping Mall 1 and 2).
Participants (1) rated the relevance of each set, (2) indicated which set they preferred, and (3) noted whether any results
were irrelevant to the reference image or text, as shown in Figure 11.




                                                Figure 9. Guidelines for user survey.




                                                                 13


===== PDF PAGE 14 =====
QuRe: Query-Relevant Retrieval through Hard Negative Sampling in Composed Image Retrieval




           Figure 10. Example of query and two set of retrieved images in user survey.




                                               14


===== PDF PAGE 15 =====
QuRe: Query-Relevant Retrieval through Hard Negative Sampling in Composed Image Retrieval




                       Figure 11. Example of questions in user survey.




                                             15
