mlsanityData to 7 Oct 2026

Characterizing Generalization under Out-Of-Distribution Shifts in Deep Metric Learning

arXiv 2107.09562 ↗First posted 20 Jul 2021cs.LG cs.CVcited by 17

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

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  4. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  5. 2020Language Models are Few-Shot Learnerscited by 32,199
  6. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  7. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  8. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  9. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
  10. 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
  11. 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,861
  12. 2017Prototypical Networks for Few-shot Learningcited by 3,001
38 more
  1. 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
  2. 2020Unsupervised Learning of Visual Features by Contrasting Cluster Assignmentscited by 2,845
  3. 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,833
  4. 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,507
  5. 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,366
  6. 2019Self-Supervised Learning of Pretext-Invariant Representationscited by 806
  7. 2017In Defense of the Triplet Loss for Person Re-Identificationcited by 784
  8. 2021Towards Total Recall in Industrial Anomaly Detectioncited by 772
  9. 2019Big Transfer (BiT): General Visual Representation Learningcited by 766
  10. 2020Out-of-Distribution Generalization via Risk Extrapolation (REx)cited by 737
  11. 2019Contrastive Representation Distillationcited by 734
  12. 2017SphereFace: Deep Hypersphere Embedding for Face Recognitioncited by 733
  13. 2021ImageNet-21K Pretraining for the Massescited by 607
  14. 2019Meta-Learning with Differentiable Convex Optimizationcited by 461
  15. 2015Deep Metric Learning via Lifted Structured Feature Embeddingcited by 449
  16. 2020Rethinking Few-Shot Image Classification: a Good Embedding Is All You Need?cited by 435
  17. 2019Multi-Similarity Loss with General Pair Weighting for Deep Metric Learningcited by 368
  18. 2019Rapid Learning or Feature Reuse? Towards Understanding the Effectiveness of MAMLcited by 359
  19. 2020A Metric Learning Reality Checkcited by 317
  20. 2017Sampling Matters in Deep Embedding Learningcited by 285
  21. 2017No Fuss Distance Metric Learning using Proxiescited by 225
  22. 2020Proxy Anchor Loss for Deep Metric Learningcited by 195
  23. 2017Beyond triplet loss: a deep quadruplet network for person re-identificationcited by 172
  24. 2019SoftTriple Loss: Deep Metric Learning Without Triplet Samplingcited by 163
  25. 2018Deep Metric Learning with Hierarchical Triplet Losscited by 112
  26. 2017Deep Metric Learning with Angular Losscited by 107
  27. 2020ProxyNCA++: Revisiting and Revitalizing Proxy Neighborhood Component Analysiscited by 107
  28. 2020Revisiting Training Strategies and Generalization Performance in Deep Metric Learningcited by 99
  29. 2017Smart Mining for Deep Metric Learningcited by 96
  30. 2020Rethinking Zero-shot Video Classification: End-to-end Training for Realistic Applicationscited by 79
  31. 2019Improved Embeddings with Easy Positive Triplet Miningcited by 66
  32. 2018Attention-based Ensemble for Deep Metric Learningcited by 56
  33. 2019Hardness-Aware Deep Metric Learningcited by 55
  34. 2017Few-Shot Learning Through an Information Retrieval Lenscited by 51
  35. 2019MIC: Mining Interclass Characteristics for Improved Metric Learningcited by 41
  36. 2018Deep Metric Learning with BIER: Boosting Independent Embeddings Robustlycited by 40
  37. 2020DiVA: Diverse Visual Feature Aggregation for Deep Metric Learningcited by 40
  38. 2019Divide and Conquer the Embedding Space for Metric Learningcited by 39

50 most cited of 58 All 58 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 1; 2022: 9; 2023: 3; 2024: 2; 2025: 1; 2026: 1.

17 papers.

Sort: