Self-Training Boosted Multi-Factor Matching Network for Composed Image Retrieval

Haokun Wen, Xuemeng Song, Jianhua Yin, Jianlong Wu, Weili Guan, Liqiang Nie · DOI

TL;DR

This paper introduces LIMN, a novel network that addresses limitations in Composed Image Retrieval (CIR) by explicitly modeling multiple matching factors between a query image and text, and by leveraging unlabeled data through a dual self-training approach (LIMN+). This dual strategy significantly improves retrieval performance, especially on datasets with limited labeled examples.

What Problem Does This Paper Address?

Composed Image Retrieval (CIR) aims to find an image based on a reference image and a textual description of desired modifications. Existing methods often treat the query as a single entity, failing to capture the nuances of multiple matching factors (e.g., color, style, specific attributes) that influence retrieval. Furthermore, CIR datasets are typically small and expensive to create, leading to overfitting and poor generalization. This paper tackles these two key limitations: the under-modeling of multi-factor matching and the underutilization of abundant unlabeled data.

Methods

The core of the proposed solution is the CLIP-Transformer based muLtI-factor Matching Network (LIMN). LIMN comprises three key modules:

  1. Disentanglement-based Latent Factor Tokens Mining: This module uses CLIP's powerful pre-trained features and a novel disentanglement process to extract multiple "latent factor tokens." These tokens represent individual matching factors without direct supervision.
  2. Dual Aggregation-based Matching Token Learning: Here, the latent factor tokens are further refined by aggregating correlated local image/text features using a masked Transformer. This module also learns a single "matching token" that summarizes all latent factors for efficient inference.
  3. Dual Query-Target Matching Modeling: This module uses the learned matching tokens and latent factor tokens to enforce similarity between query and target representations, employing both ranking loss and an explicit constraint on intermediate latent factors.

To further boost performance and address data scarcity, the authors introduce an Iterative Dual Self-Training Paradigm. This paradigm leverages a related task, Image Difference Captioning (IDC), to generate pseudo-labels for unlabeled image pairs. The process involves:

  • Initial training of both LIMN and an IDC model (DUDA).
  • Excavating unlabeled reference-target image pairs.
  • Using the trained IDC model to generate modification texts for these pairs, creating pseudo-triplets.
  • Filtering these pseudo-triplets using the trained LIMN model to ensure high quality.
  • Alternating training of LIMN and the IDC model with both original and high-quality pseudo-labeled data. This iterative process enhances the model's generalization ability.

Datasets

The proposed methods were evaluated on four public datasets:

  • FashionIQ: A natural language-based dataset for fashion retrieval.
  • Shoes: Another natural language-based dataset focused on shoe retrieval.
  • CIRR: An open-domain dataset for general image retrieval with textual modifications.
  • Fashion200K: An attribute-based dataset, used primarily for evaluating LIMN due to its automatic construction and lack of scarcity issues.

The authors also describe how they constructed potential unlabeled reference-target image pairs for FashionIQ, Shoes, and CIRR to facilitate their self-training approach.

Key Insights and Ideas

  • Explicitly Modeling Multiple Factors is Crucial: The paper demonstrates that treating the query as a single embedding is suboptimal. By disentangling and modeling individual matching factors (like "sleeve length" or "material"), retrieval accuracy significantly improves.
  • Leveraging Unlabeled Data is Key for Generalization: The iterative dual self-training approach effectively utilizes abundant unlabeled data to overcome the limitations of small, manually annotated datasets, leading to better generalization.
  • Synergy Between CIR and IDC: The dual self-training paradigm highlights the complementary nature of Composed Image Retrieval and Image Difference Captioning, where progress in one task can benefit the other.
  • Quality Filtering of Pseudo-Labels is Essential: Simply generating pseudo-labels is not enough; filtering them based on a well-trained model's confidence is critical to avoid introducing noise and degrading performance.

Key Results

  • LIMN+ significantly outperforms state-of-the-art baselines on FashionIQ, Shoes, and CIRR datasets, achieving substantial improvements in recall@k metrics. For instance, on FashionIQ-Avg, LIMN+ shows a 22.61% improvement over the best baseline.
  • LIMN itself also surpasses existing methods, demonstrating the effectiveness of the multi-factor matching approach even without self-training.
  • The iterative dual self-training paradigm (LIMN+) consistently boosts performance over LIMN across all natural language-based datasets. The improvements are more pronounced on smaller datasets like FashionIQ, where data scarcity is a bigger issue.
  • Ablation studies confirm the importance of each component: modeling multiple latent factors, using global features, and filtering pseudo-labels all contribute to the overall performance gains.
  • Qualitative results show LIMN+ is better at retrieving target images, especially in cases with rare features or subtle modifications, and can even rank correct images higher than LIMN.

Limitations and Future Work

  • Model Complexity: The authors acknowledge that LIMN+ has higher model complexity due to the multi-factor modeling and self-training components.
  • Future Work:
    • Developing more efficient CIR models with superior retrieval performance.
  • Exploring a unified framework that simultaneously solves CIR and IDC tasks.
  • Adapting the method for multi-turn interactive image retrieval, crucial for multimodal dialogue systems.

Summary updated

BibTeX
@article{wen2024self,
  author = {Haokun Wen and Xuemeng Song and Jianhua Yin and Jianlong Wu and Weili Guan and Liqiang Nie},
  title = {{Self-Training Boosted Multi-Factor Matching Network for Composed Image Retrieval}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2024},
  doi = {10.1109/tpami.2023.3346434},
}
Figure