COMBINER: Composed Image Retrieval Guided by Attribute-Based Neighbor Relations

Zixu Li, Yupeng Hu, Zhiwei Chen, Haokun Wen, Xuemeng Song, Liqiang Nie

TL;DR

Composed Image Retrieval (CIR) models often get tripped up by candidate images that look visually similar to the target but lack key attributes requested in the text prompt. This paper introduces COMBINER, a framework that disentangles features into fine-grained attribute prototypes and uses unsupervised clustering to align attribute-related neighbors while pushing away visually deceptive distractors. By structuring the embedding space around these prototypes during training, COMBINER achieves state-of-the-art retrieval accuracy while maintaining lightning-fast inference speeds.

What Problem Does This Paper Address?

Composed Image Retrieval (CIR) allows users to search for an image using a multimodal query: a reference image combined with a modification text (e.g., feeding the model a picture of a dog on a plush toy and adding the text "Remove the plush toy, arrange dog reclining on taupe bedding").

While recent CIR models have made huge strides, they suffer from a major blind spot: they struggle to distinguish between images that are visually similar but attribute-unrelated. As shown in Figure 1, traditional neighborhood-based retrieval methods tend to pull all visually similar candidate images closer to the query. If a candidate image ($C_2$) shows a dog on a carpet instead of bedding, standard models might still rank it highly simply because the global visual features (the dog's appearance) match.

Example of Pairwise vs. Neighbor Relations and the challenge of visually similar but attribute-unrelated images.

To fix this, models need a way to break down images and text into fine-grained semantic attributes (like "dog", "taupe", "bedding") rather than relying on coarse, global feature representations.

Methods

The authors propose COMBINER (COMposed image retrieval network guided By attrIbute-based NEighbor Relations), which introduces three core modules to handle attribute-level semantics:

  1. Adaptive Semantic Disentanglement (ASD): Raw features from a backbone network (like CLIP) are typically entangled—a single vector blends color, shape, and texture. ASD uses a Semantic Attribute Attention (SAA) mechanism that acts as a set of learnable semantic filters to isolate independent attribute prototypes from the mixed features.
  2. Unified Prototype-based Composition (UPC): Image and text prototypes naturally exist in unaligned feature spaces. UPC concatenates these prototypes and passes them through another SAA layer to generate a neutral Cross-modal Unified Prototype (CUP) space. By independently aligning both image and text prototypes to this neutral anchor, the model resolves modal heterogeneity and dynamically weights the features to construct the final composed query feature ($F_c$).
  3. Dual Relations Modeling (DRM): This module optimizes the metric space using two types of losses. For standard pairwise relations, it uses a batch-based classification loss to pull the query closer to its unique target. For neighbor relations, it applies K-means clustering to the target features to discover semantic cluster centers. It then uses Kullback-Leibler (KL) divergence to ensure that the query's neighborhood distribution matches the target's neighborhood distribution.

Crucially, the clustering and distribution alignment mechanisms are only active during training. During inference, these heavy components are stripped away, leaving a highly efficient pipeline.

Overall framework of COMBINER, showcasing the ASD, UPC, and DRM modules.

Datasets

The authors evaluated COMBINER on three widely accepted CIR benchmarks:

  • FashionIQ: A domain-specific dataset split into three categories (Dresses, Shirts, Tops&Tees) focusing on detailed clothing modifications.
  • Shoes: A fashion dataset specifically targeting footwear retrieval with fine-grained text adjustments.
  • CIRR (Composed Image Retrieval on Real-life images): An open-domain dataset featuring real-world images with complex backgrounds and highly diverse, unstructured natural language modifications.

Key Insights and Ideas

  • Visual Similarity $\neq$ Semantic Relevance: Relying purely on global visual similarity introduces massive noise into neighborhood modeling. Disentangling features into discrete attribute prototypes allows the model to perform "algebraic-like" compositional operations.
  • The Power of a Neutral Anchor: Instead of projecting text directly into an image space (or vice versa), creating a dynamically shared cross-modal dictionary (CUP) serves as an effective bridge that bypasses the traditional modality gap.
  • Training-Heavy, Inference-Light Architecture: By structuring the embedding space via unsupervised clustering during training, the model learns complex neighborhood relationships without carrying the computational overhead into production.

Key Results

COMBINER consistently outperformed existing state-of-the-art (SOTA) methods across all three benchmarks:

  • FashionIQ: Achieved an average Recall@10 of 63.26% and Recall@50 of 82.27%, outperforming the previous best model (DQU-CIR).
  • Shoes: Reached a Recall@1 of 32.37%, representing a 2.9% relative improvement over baselines.
  • CIRR: Achieved a Recall@1 of 52.60% and a $R_{subset}@1$ of 81.33%.
  • Inference Efficiency: Compared to heavy LLM-assisted pipelines like DQU-CIR (which uses BLIP-2 and Gemini-Pro), COMBINER reduced per-sample inference time by 98.78% (dropping from 2.045 seconds down to just 0.025 seconds per sample on an NVIDIA A40 GPU).

Limitations and Future Work

Despite its strong performance, the authors note a couple of limitations:

  • Extreme Feature Dominance: When an image contains a highly dominant visual feature (e.g., an intense solid color), the ASD module occasionally struggles to disentangle more subtle, highly coupled structural attributes (like "shorter with straps").
  • False Negatives in Benchmarks: Qualitative analysis revealed that COMBINER sometimes retrieves images that perfectly satisfy the text modification but are marked as "failures" because the evaluation datasets lack exhaustive annotations for all valid targets.

For future work, the authors plan to explore extending this attribute-prototype framework to intelligent customer service robotics.

Summary updated

BibTeX
@article{li2026combiner,
  author = {Zixu Li and Yupeng Hu and Zhiwei Chen and Haokun Wen and Xuemeng Song and Liqiang Nie},
  title = {{COMBINER: Composed Image Retrieval Guided by Attribute-Based Neighbor Relations}},
  journal = {IEEE Trans. Image Process.},
  year = {2026},
  doi = {10.1109/tip.2026.3694139},
}

Loading related content...

Figure