mlsanityData to 7 Oct 2026

Rethinking Deep Contrastive Learning with Embedding Memory

arXiv 2103.14003 ↗First posted 25 Mar 2021cs.CVcited by 3

Not on the map. Why?

Abstract (arXiv)

Pair-wise loss functions have been extensively studied and shown to continuously improve the performance of deep metric learning (DML). However, they are primarily designed with intuition based on simple toy examples, and experimentally identifying the truly effective design is difficult in complicated, real-world cases. In this paper, we provide a new methodology for systematically studying weighting strategies of various pair-wise loss functions, and rethink pair weighting with an embedding memory. We delve into the weighting mechanisms by decomposing the pair-wise functions, and study positive and negative weights separately using direct weight assignment. This allows us to study various weighting functions deeply and systematically via weight curves, and identify a number of meaningful, comprehensive and insightful facts, which come up with our key observation on memory-based DML: it is critical to mine hard negatives and discard easy negatives which are less informative and redundant, but weighting on positive pairs is not helpful. This results in an efficient but surprisingly simple rule to design the weighting scheme, making it significantly different from existing mini-batch based methods which design various sophisticated loss functions to weight pairs carefully. Finally, we conduct extensive experiments on three large-scale visual retrieval benchmarks, and demonstrate the superiority of memory-based DML over recent mini-batch based approaches, by using a simple contrastive loss with momentum-updated memory.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 39 of its 53 references that are in the map. First posted on arXiv 25 Mar 2021.

Builds on

39 of 53 references.

References · 39

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  3. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
  4. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
  5. 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,712
  6. 2014Going Deeper with Convolutionscited by 4,231
  7. 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,833
  8. 2016Matching Networks for One Shot Learningcited by 2,246
  9. 2018Unsupervised Feature Learning via Non-Parametric Instance-level Discriminationcited by 1,838
  10. 2017In Defense of the Triplet Loss for Person Re-Identificationcited by 784
  11. 2015Deep Metric Learning via Lifted Structured Feature Embeddingcited by 449
  12. 2020Circle Loss: A Unified Perspective of Pair Similarity Optimizationcited by 402
27 more
  1. 2019Multi-Similarity Loss with General Pair Weighting for Deep Metric Learningcited by 368
  2. 2020A Metric Learning Reality Checkcited by 317
  3. 2017Sampling Matters in Deep Embedding Learningcited by 285
  4. 2017No Fuss Distance Metric Learning using Proxiescited by 225
  5. 2020Proxy Anchor Loss for Deep Metric Learningcited by 195
  6. 2016Joint Detection and Identification Feature Learning for Person Searchcited by 190
  7. 2019SoftTriple Loss: Deep Metric Learning Without Triplet Samplingcited by 163
  8. 2019Cross-Batch Memory for Embedding Learningcited by 130
  9. 2018Deep Metric Learning with Hierarchical Triplet Losscited by 112
  10. 2020Revisiting Training Strategies and Generalization Performance in Deep Metric Learningcited by 99
  11. 2021Training Vision Transformers for Image Retrievalcited by 90
  12. 2016Learning by tracking: Siamese CNN for robust target associationcited by 79
  13. 2018A Zero-Shot Framework for Sketch-based Image Retrievalcited by 70
  14. 2018Triplet-Center Loss for Multi-View 3D Object Retrievalcited by 69
  15. 2015Learning Descriptors for Object Recognition and 3D Pose Estimationcited by 60
  16. 2018Attention-based Ensemble for Deep Metric Learningcited by 56
  17. 2018Improving Generalization via Scalable Neighborhood Component Analysiscited by 53
  18. 2016Learning Deep Embeddings with Histogram Losscited by 52
  19. 2019Vehicle Re-identification with Viewpoint-aware Metric Learningcited by 45
  20. 2019MIC: Mining Interclass Characteristics for Improved Metric Learningcited by 41
  21. 2018Deep Metric Learning with BIER: Boosting Independent Embeddings Robustlycited by 40
  22. 2015Zero-Shot Learning via Joint Latent Similarity Embeddingcited by 39
  23. 2020Fewer is More: A Deep Graph Metric Learning Perspective Using Fewer Proxiescited by 36
  24. 2016Improving Semantic Embedding Consistency by Metric Learning for Zero-Shot Classificationcited by 22
  25. 2018Hard-Aware Point-to-Set Deep Metric for Person Re-identificationcited by 12
  26. 2020EqCo: Equivalent Rules for Self-supervised Contrastive Learningcited by 12
  27. 2014Deep Metric Learning for Practical Person Re-Identificationcited by 3

Built on by

Cited by year

Citing papers per year: 2021: 2; 2022: 0; 2023: 1.

3 papers.