Abstract
The USER (Unified Semantic Enhancement with Momentum Contrast) framework addresses two critical bottlenecks in Image-Text Retrieval (ITR): inaccurate semantic representation and the negative sample bottleneck. By integrating Global representation based Semantic Enhancement (GSE) with a Momentum Contrast (MoCo) paradigm, USER achieves state-of-the-art performance on standard benchmarks like MSCOCO and Flickr30K. Notably, USER maintains high efficiency, operating over 60 times faster during inference than previous top-tier local-matching methods by utilizing global-level matching.
Introduction
Image-Text Retrieval (ITR) is a fundamental task in cross-modal search, requiring the alignment of visual and textual semantics. Despite recent progress, the field faces two major challenges. First, most models rely on region-level features that lack global context, making them sensitive to noise or misidentifications by object detectors. Second, the effectiveness of contrastive learning—the standard training paradigm for ITR—is often constrained by mini-batch sizes, which limit the number of negative samples the model can learn from at any given time.
The USER Framework
To overcome these limitations, the authors propose the USER method, which unifies semantic enhancement with large-scale contrastive learning.
Global Semantic Enhancement (GSE)
USER enhances region-level features by incorporating global context. This is achieved through two proposed modules:
- Self-Guided Enhancement (SGE): Generates a global embedding from the image's own regions via self-attention.
- CLIP-Guided Enhancement (CGE): Transfers high-quality semantic knowledge from a pre-trained CLIP model to guide the ITR model's feature extraction.
Momentum Contrast and Dynamic Queues
To address the negative sample bottleneck, USER adopts a Momentum Contrast (MoCo) approach. By maintaining dynamic queues for both image and text embeddings, the model can compare the current mini-batch against thousands of negative samples from previous iterations. This provides the "negative pressure" necessary to sharpen the model's embeddings without requiring massive GPU clusters.
Unified Training Objective (UTO)
USER utilizes a hubness-aware loss function that integrates both the current mini-batch and the massive dynamic queues. This ensures that the model focuses on the most informative and challenging samples during training.
Experimental Results
The USER framework was evaluated on the MSCOCO and Flickr30K datasets, demonstrating superior performance and efficiency.
- Accuracy: On the MSCOCO 5K test set, USER (SGE) achieved a 5% improvement in Recall@1 (R@1) for caption retrieval and a 2.4% improvement for image retrieval compared to the previous state-of-the-art method, NAAF. The CGE variant provided even further gains, highlighting the value of cross-model knowledge transfer.
- Inference Speed: Unlike methods that require complex cross-modal attention during search, USER employs global-level matching. This allows image and text embeddings to be pre-computed, enabling simple dot-product similarity calculations. Consequently, USER is over 60 times faster than NAAF during inference.
Conclusion
The USER framework represents a significant step forward for Image-Text Retrieval. By combining global semantic guidance with a scalable momentum contrastive learning paradigm, it achieves a rare balance of high accuracy and practical inference speed. Future work will explore more robust object detectors and the application of USER to other retrieval domains, such as video-text retrieval.
Summary updated