Do Lessons from Metric Learning Generalize to Image-Caption Retrieval?
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.
Code (1)
Tasks
Image RetrievalMetric LearningRepresentation LearningRetrievalTripletMethods 이 논문이 사용한 방법론
Similar Papers 제목 키워드 기반
Retrieval, Analogy, and Composition: A framework for Compositional Generalization in Image Captioning
Image captioning systems are expected to have the ability to combine individual concepts when describing scenes with concept combinations that are not observed during training. In spite of significant progress in image c…
Image CaptioningRetrievalDoes the Performance of Text-to-Image Retrieval Models Generalize Beyond Captions-as-a-Query?
Text-image retrieval (T2I) refers to the task of recovering all images relevant to a keyword query. Popular datasets for text-image retrieval, such as Flickr30k, VG, or MS-COCO, utilize annotated image captions, e.g., “a…
DescriptiveImage CaptioningImage RetrievalRetrievalShow, Tell and Discriminate: Image Captioning by Self-retrieval with Partially Labeled Data
The aim of image captioning is to generate captions by machine to describe image contents. Despite many efforts, generating discriminative captions for images remains non-trivial. Most traditional approaches imitate the …
Image CaptioningRetrievalWord to Sentence Visual Semantic Similarity for Caption Generation: Lessons Learned
This paper focuses on enhancing the captions generated by image-caption generation systems. We propose an approach for improving caption generation systems by choosing the most closely related output to the image rather …
Caption GenerationSemantic SimilaritySemantic Textual SimilaritySentence+1Predicting Visual Features from Text for Image and Video Caption Retrieval
This paper strives to find amidst a set of sentences the one best describing the content of a given image or video. Different from existing works, which rely on a joint subspace for their image and video caption retrieva…
RetrievalSentenceVideo Description