Enhancing cross-modal retrieval through element-level semantic enrichment and momentum contrast
摘要
Current approaches to image–text retrieval face challenges in achieving fine-grained semantic alignment and scaling up negative samples due to the complexities of fine-grained correspondence learning and the reliance on mini-batches. To address these issues, we propose a novel method called Enhancing Cross-Modal Retrieval through Element-Level Semantic Enrichment and Momentum Contrast. First, we design a plug-and-play element-level semantic enhancement block that removes redundant regional features and assigns adaptive weights to enhance semantic expressiveness. Second, we incorporate a momentum memory module to dynamically store negative samples, effectively expanding the scale of negative samples at the batch level. Our mixed training objective function enables more comprehensive perception of the semantic information for each sample. Experiments on the MS-COCO and Flickr30K datasets demonstrate the effectiveness of our approach, which outperforms state-of-the-art methods. The code can be obtained from https://github.com/wangmeng-007/ECMR.