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