mlsanityData to 14 Oct 2026

Dissecting Deep Metric Learning Losses for Image-Text Retrieval

arXiv 2210.13188 ↗First posted 21 Oct 2022cs.CVcited by 1

Not on the map. Why?

Abstract (arXiv)

Visual-Semantic Embedding (VSE) is a prevalent approach in image-text retrieval by learning a joint embedding space between the image and language modalities where semantic similarities would be preserved. The triplet loss with hard-negative mining has become the de-facto objective for most VSE methods. Inspired by recent progress in deep metric learning (DML) in the image domain which gives rise to new loss functions that outperform triplet loss, in this paper, we revisit the problem of finding better objectives for VSE in image-text matching. Despite some attempts in designing losses based on gradient movement, most DML losses are defined empirically in the embedding space. Instead of directly applying these loss functions which may lead to sub-optimal gradient updates in model parameters, in this paper we present a novel Gradient-based Objective AnaLysis framework, or textitGOAL, to systematically analyze the combinations and reweighting of the gradients in existing DML functions. With the help of this analysis framework, we further propose a new family of objectives in the gradient space exploring different gradient combinations. In the event that the gradients are not integrable to a valid loss function, we implement our proposed objectives such that they would directly operate in the gradient space instead of on the losses in the embedding space. Comprehensive experiments have demonstrated that our novel objectives have consistently improved performance over baselines across different visual/text features and model frameworks. We also showed the generalizability of the GOAL framework by extending it to other models using triplet family losses including vision-language model with heavy cross-modal interactions and have achieved state-of-the-art results on the image-text retrieval tasks on COCO and Flick30K.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 26 of its 43 references that are in the map. First posted on arXiv 21 Oct 2022.

Builds on

26 of 43 references.

References · 26

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  5. 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,849
  6. 2019ViLBERT: Pretraining Task-Agnostic Visiolinguistic Representations for Vision-and-Language Taskscited by 2,222
  7. 2021Align before Fuse: Vision and Language Representation Learning with Momentum Distillationcited by 1,619
  8. 2019LXMERT: Learning Cross-Modality Encoder Representations from Transformerscited by 1,553
  9. 2015Microsoft COCO Captions: Data Collection and Evaluation Servercited by 1,462
  10. 2017Bottom-Up and Top-Down Attention for Image Captioning and Visual Question Answeringcited by 1,312
  11. 2020Gradient Surgery for Multi-Task Learningcited by 1,256
  12. 2020Oscar: Object-Semantics Aligned Pre-training for Vision-Language Taskscited by 1,214
14 more
  1. 2018Exploring the Limits of Weakly Supervised Pretrainingcited by 605
  2. 2015Deep Metric Learning via Lifted Structured Feature Embeddingcited by 449
  3. 2014Deep metric learning using Triplet networkcited by 422
  4. 2018Stacked Cross Attention for Image-Text Matchingcited by 416
  5. 2020Circle Loss: A Unified Perspective of Pair Similarity Optimizationcited by 403
  6. 2019Multi-Similarity Loss with General Pair Weighting for Deep Metric Learningcited by 368
  7. 2021Multi-Grained Vision Language Pre-Training: Aligning Texts with Visual Conceptscited by 256
  8. 2014Unifying Visual-Semantic Embeddings with Multimodal Neural Language Modelscited by 198
  9. 2019Visual Semantic Reasoning for Image-Text Matchingcited by 185
  10. 2020Learning the Best Pooling Strategy for Visual Semantic Embeddingcited by 137
  11. 2020Hard negative examples are hard, but usefulcited by 82
  12. 2017Learning Semantic Concepts and Order for Image and Sentence Matchingcited by 62
  13. 2020Consensus-Aware Visual-Semantic Embedding for Image-Text Matchingcited by 59
  14. 2019P2SGrad: Refined Gradients for Optimizing Deep Face Modelscited by 14

Built on by

Cited by year

Citing papers per year: 2023: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2022Learning to embed semantic similarity for joint image-text retrieval
  2. 2024Bringing Multimodality to Amazon Visual Search System
  3. 2024VISTA: Visualized Text Embedding For Universal Multi-Modal Retrieval
  4. 2025Aligning Information Capacity Between Vision and Language via Dense-to-Sparse Feature Distillation for Image-Text Matching
  5. 2025Embedding the Teacher: Distilling vLLM Preferences for Scalable Image Retrieval
  6. 2025Category-level Text-to-Image Retrieval Improved: Bridging the Domain Gap with Diffusion Models and Vision Encoders
  7. 2025ELIP: Enhanced Visual-Language Foundation Models for Image Retrieval
  8. 2024MATE: Meet At The Embedding -- Connecting Images with Long Texts