Do Lessons from Metric Learning Generalize to Image-Caption Retrieval?
Not on the map. Why?
Abstract (arXiv)
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 that outperform the triplet loss on tasks such as image retrieval and representation learning. We ask whether these findings generalize to the setting of ICR by comparing three loss functions on two ICR methods. We answer this question negatively: the triplet loss with semi-hard negative mining still outperforms newly introduced loss functions from metric learning on the ICR task. To gain a better understanding of these outcomes, we introduce an analysis method to compare loss functions by counting how many samples contribute to the gradient w.r.t. the query representation during optimization. We find that loss functions that result in lower evaluation scores on the ICR task, in general, take too many (non-informative) samples into account when computing a gradient w.r.t. the query representation, which results in sub-optimal performance. The triplet loss with semi-hard negatives is shown to outperform the other loss functions, as it only takes one (hard) negative into account when computing the gradient.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 38 of its 49 references that are in the map. First posted on arXiv 14 Feb 2022.
Builds on
38 of 49 references.
References · 38
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,617
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
- 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,848
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2016Visual Genome: Connecting Language and Vision Using Crowdsourced Dense Image Annotationscited by 2,646
26 more
- 2019ViLBERT: Pretraining Task-Agnostic Visiolinguistic Representations for Vision-and-Language Taskscited by 2,219
- 2014On the Properties of Neural Machine Translation: Encoder-Decoder Approachescited by 1,303
- 2021ViLT: Vision-and-Language Transformer Without Convolution or Region Supervisioncited by 1,224
- 2020Oscar: Object-Semantics Aligned Pre-training for Vision-Language Taskscited by 1,213
- 2020ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERTcited by 1,160
- 2014Deep Visual-Semantic Alignments for Generating Image Descriptionscited by 966
- 2018Stacked Cross Attention for Image-Text Matchingcited by 414
- 2020A Metric Learning Reality Checkcited by 317
- 2021SPLADE: Sparse Lexical and Expansion Model for First Stage Rankingcited by 283
- 2014Unifying Visual-Semantic Embeddings with Multimodal Neural Language Modelscited by 197
- 2019Visual Semantic Reasoning for Image-Text Matchingcited by 185
- 2021Optimizing Dense Retrieval Model Training with Hard Negativescited by 154
- 2020Intriguing Properties of Contrastive Lossescited by 129
- 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
- 2020Smooth-AP: Smoothing the Path Towards Large-Scale Image Retrievalcited by 98
- 2021Rethink Training of BERT Rerankers in Multi-Stage Retrieval Pipelinecited by 65
- 2020Fine-grained Visual Textual Alignment for Cross-Modal Retrieval using Transformer Encoderscited by 47
- 2020Adaptive Offline Quintuplet Loss for Image-Text Matchingcited by 26
- 2018Differentiable Unbiased Online Learning to Rankcited by 24
- 2020Transformer Reasoning Network for Image-Text Matching and Retrievalcited by 19
- 2019Deep Triplet Neural Networks with Cluster-CCA for Audio-Visual Cross-modal Retrievalcited by 18
- 2021VisualSparta: An Embarrassingly Simple Approach to Large-scale Text-to-Image Search with Weighted Bag-of-wordscited by 14
- 2020Simplified TinyBERT: Knowledge Distillation for Document Retrievalcited by 10
- 2020Self-Supervised Ranking for Representation Learningcited by 10
- 2020Using Image Captions and Multitask Learning for Recommending Query Reformulationscited by 1
Built on by
Citing papers per year: 2022: 1; 2023: 2.
3 papers.
- 2023AToMiC: An Image/Text Retrieval Test Collection to Support Multimedia Content Creationcited by 5
- 2022Reducing Predictive Feature Suppression in Resource-Constrained Contrastive Image-Caption Retrievalcited by 3
- 2023Scene-centric vs. Object-centric Image-Text Cross-modal Retrieval: A Reproducibility Studycited by 3
- 2023AToMiC: An Image/Text Retrieval Test Collection to Support Multimedia Content Creation4 Apr 2023
- 2023Scene-centric vs. Object-centric Image-Text Cross-modal Retrieval: A Reproducibility Study12 Jan 2023
- 2022Reducing Predictive Feature Suppression in Resource-Constrained Contrastive Image-Caption Retrieval28 Apr 2022