Characterizing Generalization under Out-Of-Distribution Shifts in Deep Metric Learning
Timo Milbich, Karsten Roth, Samarth Sinha, Ludwig Schmidt, Marzyeh Ghassemi, Björn Ommer
Abstract
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.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext d5f4da78-e816-482a-b045-e53f025f5133Cited by top-tier papers9
- CLOOB: Modern Hopfield Networks with InfoLOOB Outperform CLIPAndreas Fürst, Elisabeth Rumetshofer, Johannes Lehner, Viet T. Tran et al.NeurIPS 2022 · 131 citations
- Is Fairness Only Metric Deep? Evaluating and Addressing Subgroup Gaps in Deep Metric LearningNatalie Dullerud, Karsten Roth, Kimia Hamidieh, Nicolas Papernot et al.ICLR 2022 · 16 citations
- Understanding Few-Shot Learning: Measuring Task Relatedness and Adaptation Difficulty via AttributesMinyang Hu, Hong Chang, Zong Guo, Bingpeng Ma et al.NeurIPS 2023 · 14 citations
- Unsupervised Causal Generative Understanding of ImagesTitas Anciukevicius, Patrick Fox-Roberts, Edward Rosten, Paul HendersonNeurIPS 2022 · 6 citations
- Disentanglement of Correlated Factors via Hausdorff Factorized SupportKarsten Roth, Mark Ibrahim, Zeynep Akata, Pascal Vincent et al.ICLR 2023 · 5 citations
Builds on17
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
- Unsupervised Learning of Visual Features by Contrasting Cluster AssignmentsMathilde Caron, Ishan Misra, Julien Mairal, Priya Goyal et al.NeurIPS 2020 · 5,249 citations
Related papers
- Two Sides of Meta-Learning Evaluation: In vs. Out of DistributionAmrith Setlur, Oscar Li, Virginia SmithNeurIPS 2021 · 17 citations
- OoD-Bench: Quantifying and Understanding Two Dimensions of Out-of-Distribution GeneralizationNanyang Ye, Kaican Li, Haoyue Bai, Runpeng Yu et al.CVPR 2022 · 74 citations
- Meta-Dataset: A Dataset of Datasets for Learning to Learn from Few ExamplesEleni Triantafillou, Tyler Zhu, Vincent Dumoulin, Pascal Lamblin et al.ICLR 2020 · 692 citations
- Learning with Diversity: Self-Expanded Equalization for Better Generalized Deep Metric LearningJiexi Yan, Zhihui Yin, Erkun Yang, Yanhua Yang et al.ICCV 2023 · 7 citations
- Deep Metric Learning for Open World Semantic SegmentationJun Cen, Peng Yun, Junhao Cai, Michael Yu Wang et al.ICCV 2021 · 101 citations
