paper-with-me

홈 › Papers

Selectively Hard Negative Mining for Alleviating Gradient Vanishing in Image-Text Matching

2023-03-01 · Zheng Li, Caili Guo, Xin Wang, Zerun Feng, Zhongtian Du

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.

📄 PDF Abstract BibTeX arXiv:2303.00181

Code (0)

등록된 구현이 없습니다.

Tasks

Image-text matchingText MatchingTriplet

Methods 이 논문이 사용한 방법론

Triplet Loss The goal of Triplet loss, in the context of Siamese Networks, is to maximize the joint probability among all score-pairs i.e. the product of all probabilities. By using its…

Similar Papers 제목 키워드 기반

Trading Hard Negatives and True Negatives: A Debiased Contrastive Collaborative Filtering Approach

2022-04-25 · Chenxiao Yang, Qitian Wu, Jipeng Jin, Xiaofeng Gao 외

Collaborative filtering (CF), as a standard method for recommendation with implicit feedback, tackles a semi-supervised learning problem where most interaction data are unobserved. Such a nature makes existing approaches…

Collaborative Filtering

The Dilemma of TriHard Loss and an Element-Weighted TriHard Loss for Person Re-Identification

2020-12-01 · NeurIPS 2020 12 · Yihao Lv, Youzhi Gu, Liu Xinggao

Triplet loss with batch hard mining (TriHard loss) is an important variation of triplet loss inspired by the idea that hard triplets improve the performance of metric leaning networks. However, there is a dilemma in the …

Person Re-IdentificationTriplet

Dual-level Progressive Hardness-Aware Reweighting for Cross-View Geo-Localization

2025-10-31 · Guozheng Zheng, Jian Guan, Mingjie Xie, Xuanjia Zhao 외 arxiv

Cross-view geo-localization (CVGL) between drone and satellite imagery remains challenging due to severe viewpoint gaps and the presence of hard negatives, which are visually similar but geographically mismatched samples…

Rethinking Samples Selection for Contrastive Learning: Mining of Potential Samples

2023-11-01 · Hengkui Dong, Xianzhong Long, Yun Li

Contrastive learning predicts whether two images belong to the same category by training a model to make their feature representations as close or as far away as possible. In this paper, we rethink how to mine samples in…

Contrastive LearningData Augmentation

Do Lessons from Metric Learning Generalize to Image-Caption Retrieval?

2022-02-14 · Maurits Bleeker, Maarten de Rijke

The triplet loss with semi-hard negatives has become the de facto choice for image-caption retrieval (ICR) methods that are optimized from scratch. Recent progress in metric learning has given rise to new loss functions …

Image RetrievalMetric LearningRepresentation LearningRetrieval+1