Characterizing Generalization under Out-Of-Distribution Shifts in Deep Metric Learning
Not on the map. Why?
Abstract (arXiv)
Deep Metric Learning (DML) aims to find representations suitable for zero-shot transfer to a priori unknown test distributions. However, common evaluation protocols only test a single, fixed data split in which train and test classes are assigned randomly. More realistic evaluations should consider a broad spectrum of distribution shifts with potentially varying degree and difficulty. In this work, we systematically construct train-test splits of increasing difficulty and present the ooDML benchmark to characterize generalization under out-of-distribution shifts in DML. ooDML is designed to probe the generalization performance on much more challenging, diverse train-to-test distribution shifts. Based on our new benchmark, we conduct a thorough empirical analysis of state-of-the-art DML methods. We find that while generalization tends to consistently degrade with difficulty, some methods are better at retaining performance as the distribution shift increases. Finally, we propose few-shot DML as an efficient way to consistently improve generalization in response to unknown test shifts presented in ooDML. Code available here: https://github.com/CompVis/Characterizing_Generalization_in_DML.
Key facts. Cited by 17 papers in the map (data through 7 Oct 2026). Builds on 58 of its 81 references that are in the map. First posted on arXiv 20 Jul 2021.
Builds on
58 of 81 references.
References · 58
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,861
- 2017Prototypical Networks for Few-shot Learningcited by 3,001
38 more
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
- 2020Unsupervised Learning of Visual Features by Contrasting Cluster Assignmentscited by 2,845
- 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,833
- 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,507
- 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,366
- 2019Self-Supervised Learning of Pretext-Invariant Representationscited by 806
- 2017In Defense of the Triplet Loss for Person Re-Identificationcited by 784
- 2021Towards Total Recall in Industrial Anomaly Detectioncited by 772
- 2019Big Transfer (BiT): General Visual Representation Learningcited by 766
- 2020Out-of-Distribution Generalization via Risk Extrapolation (REx)cited by 737
- 2019Contrastive Representation Distillationcited by 734
- 2017SphereFace: Deep Hypersphere Embedding for Face Recognitioncited by 733
- 2021ImageNet-21K Pretraining for the Massescited by 607
- 2019Meta-Learning with Differentiable Convex Optimizationcited by 461
- 2015Deep Metric Learning via Lifted Structured Feature Embeddingcited by 449
- 2020Rethinking Few-Shot Image Classification: a Good Embedding Is All You Need?cited by 435
- 2019Multi-Similarity Loss with General Pair Weighting for Deep Metric Learningcited by 368
- 2019Rapid Learning or Feature Reuse? Towards Understanding the Effectiveness of MAMLcited by 359
- 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
- 2017Beyond triplet loss: a deep quadruplet network for person re-identificationcited by 172
- 2019SoftTriple Loss: Deep Metric Learning Without Triplet Samplingcited by 163
- 2018Deep Metric Learning with Hierarchical Triplet Losscited by 112
- 2017Deep Metric Learning with Angular Losscited by 107
- 2020ProxyNCA++: Revisiting and Revitalizing Proxy Neighborhood Component Analysiscited by 107
- 2020Revisiting Training Strategies and Generalization Performance in Deep Metric Learningcited by 99
- 2017Smart Mining for Deep Metric Learningcited by 96
- 2020Rethinking Zero-shot Video Classification: End-to-end Training for Realistic Applicationscited by 79
- 2019Improved Embeddings with Easy Positive Triplet Miningcited by 66
- 2018Attention-based Ensemble for Deep Metric Learningcited by 56
- 2019Hardness-Aware Deep Metric Learningcited by 55
- 2017Few-Shot Learning Through an Information Retrieval Lenscited by 51
- 2019MIC: Mining Interclass Characteristics for Improved Metric Learningcited by 41
- 2018Deep Metric Learning with BIER: Boosting Independent Embeddings Robustlycited by 40
- 2020DiVA: Diverse Visual Feature Aggregation for Deep Metric Learningcited by 40
- 2019Divide and Conquer the Embedding Space for Metric Learningcited by 39
50 most cited of 58 All 58 (JSON)
Built on by
Citing papers per year: 2021: 1; 2022: 9; 2023: 3; 2024: 2; 2025: 1; 2026: 1.
17 papers.
Sort:
- 2021CLOOB: Modern Hopfield Networks with InfoLOOB Outperform CLIPcited by 88
- 2022Disentanglement of Correlated Factors via Hausdorff Factorized Supportcited by 37
- 2022Non-isotropy Regularization for Proxy-based Deep Metric Learningcited by 33
- 2022TeST: Test-time Self-Training under Distribution Shiftcited by 29
- 2022Integrating Language Guidance into Vision-based Deep Metric Learningcited by 19
- 2022A Non-isotropic Probabilistic Take on Proxy-based Deep Metric Learningcited by 19
- 2022Is Fairness Only Metric Deep? Evaluating and Addressing Subgroup Gaps in Deep Metric Learningcited by 11
- 2022Few-shot Metric Learning: Online Adaptation of Embedding for Retrievalcited by 8
- 2022InDiReCT: Language-Guided Zero-Shot Deep Metric Learning for Imagescited by 5
- 2023Deep Metric Learning for the Hemodynamics Inference with Electrocardiogram Signalscited by 4
- 2022Guided Deep Metric Learningcited by 3
- 2023A metric learning approach for endoscopic kidney stone identificationcited by 2
5 more
- 2024Contrastive Abstraction for Reinforcement Learningcited by 2
- 2023Learning for Transductive Threshold Calibration in Open-World Recognitioncited by 1
- 2024Task Attribute Distance for Few-Shot Learning: Theoretical Analysis and Applicationscited by 1
- 2025All You Need to Know About Training Image Retrieval Modelscited by 1
- 2026PLSP (Pre-hoc Liminal Space Profiling): OOD Prediction over Detection -- An Anticipatory Approach for Machine Learning Model Reliabilitycited by 0
- 2026PLSP (Pre-hoc Liminal Space Profiling): OOD Prediction over Detection -- An Anticipatory Approach for Machine Learning Model Reliability10 Sep 2026
- 2025All You Need to Know About Training Image Retrieval Models17 Mar 2025
- 2024Contrastive Abstraction for Reinforcement Learning1 Oct 2024
- 2024Task Attribute Distance for Few-Shot Learning: Theoretical Analysis and Applications6 Mar 2024
- 2023Deep Metric Learning for the Hemodynamics Inference with Electrocardiogram Signals9 Aug 2023
- 2023A metric learning approach for endoscopic kidney stone identification13 Jul 2023
- 2023Learning for Transductive Threshold Calibration in Open-World Recognition19 May 2023
- 2022InDiReCT: Language-Guided Zero-Shot Deep Metric Learning for Images23 Nov 2022
- 2022Few-shot Metric Learning: Online Adaptation of Embedding for Retrieval14 Nov 2022
- 2022Disentanglement of Correlated Factors via Hausdorff Factorized Support13 Oct 2022
- 2022TeST: Test-time Self-Training under Distribution Shift23 Sep 2022
- 2022A Non-isotropic Probabilistic Take on Proxy-based Deep Metric Learning8 Jul 2022
5 more
- 2022Guided Deep Metric Learning4 Jun 2022
- 2022Is Fairness Only Metric Deep? Evaluating and Addressing Subgroup Gaps in Deep Metric Learning23 Mar 2022
- 2022Non-isotropy Regularization for Proxy-based Deep Metric Learning16 Mar 2022
- 2022Integrating Language Guidance into Vision-based Deep Metric Learning16 Mar 2022
- 2021CLOOB: Modern Hopfield Networks with InfoLOOB Outperform CLIP21 Oct 2021
- 2021CLOOB: Modern Hopfield Networks with InfoLOOB Outperform CLIPcited by 88
- 2022Disentanglement of Correlated Factors via Hausdorff Factorized Supportcited by 37
- 2022Non-isotropy Regularization for Proxy-based Deep Metric Learningcited by 33
- 2022TeST: Test-time Self-Training under Distribution Shiftcited by 29
- 2022Integrating Language Guidance into Vision-based Deep Metric Learningcited by 19
- 2022A Non-isotropic Probabilistic Take on Proxy-based Deep Metric Learningcited by 19
- 2022Is Fairness Only Metric Deep? Evaluating and Addressing Subgroup Gaps in Deep Metric Learningcited by 11
- 2022Few-shot Metric Learning: Online Adaptation of Embedding for Retrievalcited by 8
- 2022InDiReCT: Language-Guided Zero-Shot Deep Metric Learning for Imagescited by 5
- 2023Deep Metric Learning for the Hemodynamics Inference with Electrocardiogram Signalscited by 4
- 2022Guided Deep Metric Learningcited by 3
- 2023A metric learning approach for endoscopic kidney stone identificationcited by 2
12 most cited of 17 All 17 (JSON)
- 2026PLSP (Pre-hoc Liminal Space Profiling): OOD Prediction over Detection -- An Anticipatory Approach for Machine Learning Model Reliability10 Sep 2026
- 2025All You Need to Know About Training Image Retrieval Models17 Mar 2025
- 2024Contrastive Abstraction for Reinforcement Learning1 Oct 2024
- 2024Task Attribute Distance for Few-Shot Learning: Theoretical Analysis and Applications6 Mar 2024
- 2023Deep Metric Learning for the Hemodynamics Inference with Electrocardiogram Signals9 Aug 2023
- 2023A metric learning approach for endoscopic kidney stone identification13 Jul 2023
- 2023Learning for Transductive Threshold Calibration in Open-World Recognition19 May 2023
- 2022InDiReCT: Language-Guided Zero-Shot Deep Metric Learning for Images23 Nov 2022
- 2022Few-shot Metric Learning: Online Adaptation of Embedding for Retrieval14 Nov 2022
- 2022Disentanglement of Correlated Factors via Hausdorff Factorized Support13 Oct 2022
- 2022TeST: Test-time Self-Training under Distribution Shift23 Sep 2022
- 2022A Non-isotropic Probabilistic Take on Proxy-based Deep Metric Learning8 Jul 2022
12 newest of 17 All 17 (JSON)