Heterogeneous Uncertainty-Guided Composed Image Retrieval with Fine-Grained Probabilistic Learning

Haomiao Tang, Jinpeng Wang, Minyi Zhao, Guanghao Meng, Ruisheng Luo, Long Chen, Shu-Tao XiaarXiv 2026

TL;DR

Composed Image Retrieval (CIR) models often struggle with noisy data and ambiguous relationships between reference images and text instructions. This paper introduces HUG (Heterogeneous Uncertainty-Guided paradigm), which represents queries and targets as fine-grained Gaussian embeddings to explicitly capture attribute-level uncertainties. By separating uni-modal content quality from multi-modal coordination mismatches, HUG achieves state-of-the-art retrieval performance without needing external data or LLM prompt refinement.

What Problem Does This Paper Address?

Composed Image Retrieval (CIR) allows users to search for images using a multi-modal query consisting of a reference image and a modification text (e.g., a picture of a black dress + "make it shorter and red"). However, real-world CIR datasets are inherently noisy, introducing two distinct types of uncertainty:

  1. Uni-Modal Content Quality: Low-quality inputs like blurry images, background noise, or text typos.
  2. Multi-Modal Coordination Mismatches: Ambiguity that arises when trying to combine the image and text. For instance, if the text says "make the logo bigger" but the reference image contains multiple logos—or no logo at all—the query becomes fundamentally ambiguous.
Figure 1: In Composed Image Retrieval, the uncertain multi- modal coordination between the reference image and modi- fication text is also important in representation learning.

Prior probabilistic approaches try to model uncertainty globally at the instance level and treat queries and targets identically. This paper addresses these gaps by introducing fine-grained attribute modeling and acknowledging the asymmetric nature of CIR queries (multi-modal) versus targets (uni-modal).

Methods

HUG introduces a fine-grained probabilistic learning framework that treats both queries and targets as a series of Gaussian distributions rather than deterministic points.

1. Fine-Grained Probabilistic Representation

Instead of a single global embedding, HUG leverages BLIP-2’s Q-Former to extract $K=32$ learnable query tokens. Each token corresponds to a separate Gaussian embedding ($\mu, \sigma^2$), where the mean ($\mu$) represents a latent concept (like color or sleeve length) and the variance ($\sigma^2$) represents its fine-grained uncertainty.

2. Heterogeneous Uncertainty Estimation

Because queries and targets are structurally different, HUG treats them asymmetrically:

  • Target Side: Uses a single visual uncertainty estimator to evaluate content quality.
  • Query Side: Extracts three independent uncertainty factors: reference image quality ($\sigma_r$), modification text clarity ($\sigma_t$), and multi-modal coordination uncertainty ($\sigma_m$). A specialized ranking loss ($\mathcal{L}_{Cord}$) forces the model to output higher coordination uncertainty when the text and image are mismatched.

3. Provable Dynamic Weighting

To combine the three query-side uncertainties, HUG uses an input-adaptive, element-wise dynamic weighting mechanism. The authors mathematically prove via Rademacher complexity theory that this dynamic fusion yields a tighter generalization error bound than any static averaging scheme.

Figure 2: Heterogeneous Uncertainty-Guided (HUG) CIR. Modules with the same name share the same weights.

4. Uncertainty-Guided Learning Objectives

The model is trained using a combination of:

  • Holistic Contrastive Loss ($\mathcal{L}_{HC}$): Aligns the overall query and target representations using an uncertainty-aware expected Euclidean distance.
  • Fine-Grained Contrastive Loss ($\mathcal{L}_{FC}$): Promotes diversity among the 32 components using component-, instance-, and modality-wise negative sampling.

Datasets

The authors evaluated HUG on two standard CIR benchmarks:

  • Fashion-IQ: A domain-specific dataset containing 18,000 training triplets and 6,016 validation triplets focused on clothing retrieval.
  • CIRR (Composed Image Retrieval on Real-life Images): A more complex, open-domain dataset consisting of 36,554 image triplets based on real-world photographs.

Key Insights and Ideas

  • Asymmetry is Essential: Queries are multi-modal and complex, while targets are uni-modal. Treating them symmetrically ignores the unique "coordination noise" that happens when text instructions conflict with a reference image.
  • Inherent Interpretability: Because HUG breaks representations down into 32 distinct components, different components naturally learn to isolate specific real-world attributes (e.g., color, logos, or patterns). The variance of a specific component directly correlates with how ambiguous that specific attribute is in the data.
  • Robustness Without LLMs: While many recent state-of-the-art methods rely on heavy LLMs to clean up or expand text prompts during preprocessing, HUG achieves superior robustness purely by mathematically modeling the uncertainty during training.

Key Results

HUG achieves state-of-the-art performance across both benchmarks:

  • Fashion-IQ: HUG achieved an average recall of 63.74%, outperforming recent strong baselines like QuRe (63.04%) and VDG (61.35%).
  • CIRR: HUG achieved a 51.09% Recall@1 and an impressive 80.65% Recall<sub>subset</sub>@1, demonstrating its ability to distinguish target images from highly similar lookalikes.
Figure 4: Qualitative analysis illustrating the meaning behind our learned uncertainty: (Left) Overall level of uncertainty reflects data quality. (Right) Different fine-grained uncertainty component corresponds to different sub-concepts.

Qualitative analysis (Figure 4) confirms that samples with the lowest overall uncertainty map to clear, distinct concepts (e.g., "solid blue t-shirt"), while high-uncertainty samples map to highly complex or poorly defined descriptions (e.g., "is more humorous and darker colored").

Limitations and Future Work

  • Supervised Dependency: HUG is designed for supervised CIR, meaning it relies on triplet data (reference, text, target) for training. Extending this fine-grained uncertainty modeling to zero-shot CIR remains an open challenge.
  • Computational Overhead: Modeling 32 fine-grained Gaussian components increases the retrieval time per query from roughly 7.5ms (for standard point matching) to 21.35ms. While acceptable for research, this added latency would need optimization or distillation for large-scale production search engines.

Summary updated

BibTeX
@misc{tang2026heterogeneous,
  author = {Haomiao Tang and Jinpeng Wang and Minyi Zhao and Guanghao Meng and Ruisheng Luo and Long Chen and Shu-Tao Xia},
  title = {{Heterogeneous Uncertainty-Guided Composed Image Retrieval with Fine-Grained Probabilistic Learning}},
  year = {2026},
  eprint = {2601.11393},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.11393},
}
Figure