Composed Image Retrieval with Text Feedback via Multi-grained Uncertainty Regularization

Yiyang Chen, Zhedong Zheng, Wei Ji, Leigang Qu, Tat-Seng Chua

TL;DR

Researchers have developed a new training strategy for composed image retrieval that accounts for the inherent ambiguity in human search queries. By modeling "uncertainty ranges" in the feature space, their method allows models to learn both coarse-grained (one-to-many) and fine-grained (one-to-one) matching, significantly boosting recall rates on popular fashion retrieval benchmarks.

What Problem Does This Paper Address?

Composed Image Retrieval (CIR) is the task of finding a target image based on a query image plus some modifying text (e.g., "I want these shoes, but in red").

The authors identify a fundamental misalignment in how these models are typically trained. Most existing methods use strict pair-based losses (like triplet loss) that force a one-to-one mapping between a query and a single target image. However, real-world retrieval is a multi-stage process. Users often start with coarse-grained feedback ("find me a sleeveless dress"), where many images could be correct. Only later do they provide fine-grained details for a specific item.

Training with a strict one-to-one objective during the coarse phase is counterproductive: it forces the model to "push away" images that are actually valid candidates just because they aren't the specific ground-truth pair in the dataset. This leads to poor recall, as the model becomes too restrictive too early.

Figure 1: (a) The typical retrieval process contains two steps, i.e., the coarse-grained retrieval and fine-grained retrieval. The coarse-grained retrieval harnesses the brief descriptions or imprecise query images, while the fine-grained retrieval requires more details for one-to-one mapping. The existing approaches usually focus on optimizing the strict pair-wise distance during training, which is different from the one-to-many coarse-grained test setting. Overwhelming one-to-one metric learning compromises the model to recall potential candidates. (b) Our intuition. We notice that there exist two typical matching types for the fine- and coarse-grained retrieval. Here we show the difference between one-to-one matching (left) and one-to-many matching (right).

Methods

The authors propose a unified learning approach called Multi-grained Uncertainty Regularization. It consists of two main components:

  1. Uncertainty Modeling (The Augmenter): Instead of matching a query to a single point in the feature space, the model simulates a range of potential candidates. It does this by adding Gaussian noise to the target image features ($f_t$). This "intra-class jittering" creates a cloud of points that represents the uncertainty of a coarse query.
  2. Uncertainty Regularization (The Loss): They introduce a new loss function ($L_u$) inspired by aleatoric uncertainty. This loss adaptively tunes the optimization objective based on the level of jittering. If the fluctuation is large (high uncertainty), the model receives less "punishment" for not matching the target perfectly.

Crucially, they use a dynamic weight ($\gamma$) that anneals during training. The model starts by focusing on coarse-grained matching (learning the general neighborhood of the target) and gradually shifts its focus toward fine-grained, one-to-one matching as training progresses.

Overview of the network architecture featuring the noise augmenter and dual matching objectives.

Datasets

The method was evaluated on three widely-used public benchmarks in the fashion domain:

  • FashionIQ: Contains 75,384 images with relative natural language feedback.
  • Fashion200k: A large-scale dataset with over 172,000 training images.
  • Shoes: A dataset of 10,751 shoe image pairs with descriptive relative expressions.

Key Insights and Ideas

  • Coarse Matching as Distribution Matching: The core "aha" moment is treating coarse retrieval not as finding a needle in a haystack, but as finding the right haystack. By representing the target as a distribution (via noise) rather than a point, the model learns to be inclusive in the early stages of retrieval.
  • Preventing Overfitting to Ambiguity: Standard models often overfit to the specific, sometimes arbitrary, pairs in a dataset. Uncertainty regularization acts as a buffer, preventing the model from learning incorrect "negative" relationships for images that are actually similar to the target.
  • Efficiency through Simplicity: Unlike some recent methods that require massive ensembles or complex cross-modal backbones, this approach achieves state-of-the-art results using a standard ResNet-50 backbone, making it highly practical for real-world deployment.

Key Results

The proposed method consistently outperformed strong baselines across all datasets, with the most significant gains seen in Recall@50, which measures if the correct item is in the top 50 results:

  • FashionIQ: Achieved 61.39% Average Recall@50, a +4.03% improvement over the baseline.
  • Fashion200k: Achieved 70.2% Recall@50, a +2.40% improvement.
  • Shoes: Achieved 79.84% Recall@50, a +3.38% improvement.

Remarkably, the authors showed that their single ResNet-50 model is competitive with ensemble methods (like CLIP4Cir) that use four times the parameters.

Performance comparison on the FashionIQ dataset.

Limitations and Future Work

While highly effective in the fashion domain, the authors note that this is an "early attempt" at unified multi-grained modeling.

  • Domain Specificity: The current evaluation is focused on fashion. Future work is needed to see how well this uncertainty modeling generalizes to "common-object" retrieval (e.g., searching for natural scenes or diverse everyday objects).
  • Knowledge Integration: The authors suggest that incorporating external knowledge graphs could further help the model understand the relationships between different attributes, potentially reducing the reliance on purely statistical uncertainty modeling.

Summary updated

BibTeX
@inproceedings{chen2024composed,
  author = {Yiyang Chen and Zhedong Zheng and Wei Ji and Leigang Qu and Tat-Seng Chua},
  title = {{Composed Image Retrieval with Text Feedback via Multi-grained Uncertainty Regularization}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=Yb5KvPkKQg},
}
Figure