Multi-modal Reference Learning for Fine-grained Text-to-Image Retrieval

Zehong Ma, Hao Chen, Wei Zeng, Limin Su, Shiliang Zhang

Introduction

Fine-grained text-to-image retrieval, such as identifying a specific individual in a crowded surveillance feed based on a textual description, requires extreme precision. However, a significant bottleneck in this field is the "noisy text" problem. Human-annotated descriptions are frequently ambiguous, incomplete, or even contradictory due to factors like varying lighting conditions or annotator oversight. For instance, one description might mention a "white cap" while another calls it "pink," or one might omit footwear details entirely.

Conceptual overview showing how multiple noisy images and descriptions are aggregated into a robust Multi-Modal Reference.

The Multi-Modal Reference (MMRef) framework addresses this by moving away from treating individual noisy descriptions as absolute ground truths. Instead, it constructs a comprehensive, learnable "reference" embedding for every object identity, creating a robust semantic prototype that guides the learning process.

Methodology

The MMRef framework is built upon three primary pillars designed to extract and refine discriminative features from multi-modal data.

1. Multi-Modal Reference Construction (MMRC)

Rather than simple one-to-one comparisons, the MMRC module aggregates information across all available images and descriptions for a specific identity to form a stable reference embedding.

  • Global Fusion (GF): This submodule employs contrastive learning to pull the reference embedding toward the cluster of all associated visual and textual features, effectively averaging out individual errors.
  • Local Reconstruction (LR): To ensure the reference captures fine-grained details (like "denim shorts" or specific patterns), the model performs a masked language modeling task. It uses the reference embedding to reconstruct hidden words in a description, forcing the embedding to store specific attribute information.

2. Reference-Guided Representation Learning (RGRL)

These learned references serve as "teachers" for the primary image and text encoders. During training, the encoders are encouraged to align their outputs with these high-quality, denoised references. This guidance helps the model ignore modality-specific noise, such as background clutter in images or linguistic fluff in text.

The MMRef framework architecture, including Global Fusion (GF) and Local Reconstruction (LR) modules.

3. Reference-based Refinement

At inference time, the model projects features into a shared "reference space." It calculates a secondary similarity score based on these projections to refine initial retrieval results. This step is highly efficient, adding negligible computational overhead (~0.0001s per query) while significantly improving accuracy.

Experimental Results

The MMRef framework was rigorously evaluated across five fine-grained datasets, including person retrieval (CUHK-PEDES, ICFG-PEDES, RSTPReid) and general categories like birds (CUB) and flowers (Oxford-102).

  • State-of-the-Art Performance: On the RSTPReid dataset, MMRef achieved a Rank-1 accuracy of 56.2%, representing a substantial 5.6% improvement over the previous leading method, CFine. On CUHK-PEDES, it reached 72.25% Rank-1 accuracy.
  • Generalization: The model demonstrated strong performance in non-human categories, achieving 87.0% AP@50 on the CUB dataset. Furthermore, domain generalization tests on Market1501 and MSMT17 showed that aligning images with text descriptions makes visual features more robust to environmental changes.

Key Insights

  • Semantic Prototypes: Treating the reference as a learnable variable creates a stable anchor that mitigates human annotation errors.
  • Reconstruction as Validation: The success of the Local Reconstruction module proves that the reference embedding successfully extracts fine-grained attributes from images to "guess" masked textual tokens.
  • Visual Robustness: Aligning vision with text encourages the model to focus on the subject (e.g., the person's body) rather than noisy, irrelevant backgrounds.

Conclusion

The MMRef framework effectively tackles the challenge of noisy and incomplete data in fine-grained retrieval by synthesizing multi-modal information into a robust reference. While the model significantly advances the state-of-the-art, future work remains to address scenarios where the test query itself is extremely vague. Integrating larger pre-trained foundation models may further enhance the semantic depth of these multi-modal references.

Summary updated

BibTeX
@article{ma2025multi,
  author = {Zehong Ma and Hao Chen and Wei Zeng and Limin Su and Shiliang Zhang},
  title = {{Multi-modal Reference Learning for Fine-grained Text-to-Image Retrieval}},
  journal = {IEEE Trans. Multimedia},
  year = {2025},
}
Figure