Selectively Hard Negative Mining for Alleviating Gradient Vanishing in Image-Text Matching
Not on the map. Why?
Abstract (arXiv)
Recently, a series of Image-Text Matching (ITM) methods achieve impressive performance. However, we observe that most existing ITM models suffer from gradients vanishing at the beginning of training, which makes these models prone to falling into local minima. Most ITM models adopt triplet loss with Hard Negative mining (HN) as the optimization objective. We find that optimizing an ITM model using only the hard negative samples can easily lead to gradient vanishing. In this paper, we derive the condition under which the gradient vanishes during training. When the difference between the positive pair similarity and the negative pair similarity is close to 0, the gradients on both the image and text encoders will approach 0. To alleviate the gradient vanishing problem, we propose a Selectively Hard Negative Mining (SelHN) strategy, which chooses whether to mine hard negative samples according to the gradient vanishing condition. SelHN can be plug-and-play applied to existing ITM models to give them better training behavior. To further ensure the back-propagation of gradients, we construct a Residual Visual Semantic Embedding model with SelHN, denoted as RVSE++. Extensive experiments on two ITM benchmarks demonstrate the strength of RVSE++, achieving state-of-the-art performance.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 37 of its 64 references that are in the map. First posted on arXiv 1 Mar 2023.
Builds on
37 of 64 references.
References · 37
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,617
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
- 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,016
- 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,833
- 2017Bottom-Up and Top-Down Attention for Image Captioning and Visual Question Answeringcited by 1,310
- 2015Deep Metric Learning via Lifted Structured Feature Embeddingcited by 449
- 2018Stacked Cross Attention for Image-Text Matchingcited by 414
25 more
- 2019Visual Semantic Reasoning for Image-Text Matchingcited by 185
- 2020Fine-grained Video-Text Retrieval with Hierarchical Graph Reasoningcited by 180
- 2016Deep Image Retrieval: Learning global representations for image searchcited by 147
- 2017Dual-Path Convolutional Image-Text Embeddings with Instance Losscited by 145
- 2020Learning the Best Pooling Strategy for Visual Semantic Embeddingcited by 136
- 2021Similarity Reasoning and Filtration for Image-Text Matchingcited by 121
- 2020IMRAM: Iterative Matching with Recurrent Attention Memory for Cross-Modal Image-Text Retrievalcited by 115
- 2022End-to-end Generative Pretraining for Multimodal Video Captioningcited by 115
- 2019CAMP: Cross-Modal Adaptive Message Passing for Text-Image Retrievalcited by 110
- 2020Revisiting Training Strategies and Generalization Performance in Deep Metric Learningcited by 99
- 2020Graph Structured Network for Image-Text Matchingcited by 93
- 2020Hard negative examples are hard, but usefulcited by 82
- 2019Cross-modal Scene Graph Matching for Relationship-aware Image-Text Retrievalcited by 66
- 2020Consensus-Aware Visual-Semantic Embedding for Image-Text Matchingcited by 59
- 2022Image-text Retrieval: A Survey on Recent Research and Developmentcited by 55
- 2019Focus Your Attention: A Bidirectional Focal Attention Network for Image-Text Matchingcited by 49
- 2019Position Focused Attention Network for Image-Text Matchingcited by 45
- 2022SwapMix: Diagnosing and Regularizing the Over-Reliance on Visual Context in Visual Question Answeringcited by 38
- 2020Universal Weighting Metric Learning for Cross-Modal Matchingcited by 34
- 2022COTS: Collaborative Two-Stream Vision-Language Pre-Training Model for Cross-Modal Retrievalcited by 33
- 2022Comprehending and Ordering Semantics for Image Captioningcited by 33
- 2020Learning Dual Semantic Relations with Graph Attention for Image-Text Matchingcited by 30
- 2020Adaptive Offline Quintuplet Loss for Image-Text Matchingcited by 26
- 2021Discrete-continuous Action Space Policy Gradient-based Attention for Image-Text Matchingcited by 8
- 2022SimVQA: Exploring Simulated Environments for Visual Question Answeringcited by 8
Built on by
Citing papers per year: 2023: 2.
2 papers.