Revisiting Training Strategies and Generalization Performance in Deep Metric Learning

Karsten Roth, Timo Milbich, Samarth Sinha, Prateek Gupta, Björn Ommer +1 more
2/19/2020
194 citations
cs.CV

Official code: Confusezius/Revisiting_Deep_Metric_Learning_PyTorch (344 stars, Python, MIT, last commit 2022-04-25). Most starred: Confusezius/Deep-Metric-Learning-Baselines, a community implementation (576 stars, Python, Apache-2.0, PyTorch, last commit 2020-06-17, 1.7× the official stars). 1 more implementation below.

Abstract

Deep Metric Learning (DML) is arguably one of the most influential lines of research for learning visual similarities with many proposed approaches every year. Although the field benefits from the rapid progress, the divergence in training protocols, architectures, and parameter choices make an unbiased comparison difficult.

Show full abstract

To provide a consistent reference point, we revisit the most widely used DML objective functions and conduct a study of the crucial parameter choices as well as the commonly neglected mini-batch sampling process. Under consistent comparison, DML objectives show much higher saturation than indicated by literature. Further based on our analysis, we uncover a correlation between the embedding space density and compression to the generalization performance of DML models. Exploiting these insights, we propose a simple, yet effective, training regularization to reliably boost the performance of ranking-based DML models on various standard benchmark datasets. Code and a publicly accessible WandB-repo are available at https://github.com/Confusezius/Revisiting_Deep_Metric_Learning_PyTorch.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
Confusezius/Revisiting_Deep_Metric_Learning_PyTorchOfficial344PythonMIT2022-04-25
Confusezius/Deep-Metric-Learning-BaselinesCommunity576PythonApache-2.02020-06-17
MIT

(ICML 2020) This repo contains code for our paper "Revisiting Training Strategies and Generalization Performance in Deep Metric Learning" (https://arxiv.org/abs/2002.08473) to facilitate consistent research in the field of Deep Metric Learning.

34450Python, ShellMay 9, 20204 years agoMIT
cars196cub200-2011deep-learningdeep-metric-learningicml2020+4 more
PyTorchApache-2.0

PyTorch Implementation for Deep Metric Learning Pipelines

57692Python, ShellJun 5, 20196 years agoApache-2.0
cars196computer-visioncub200deep-learningdeep-metric-learning+6 more

Similar Papers

Cite this paper

@article{roth2020revisiting,
  title  = {Revisiting Training Strategies and Generalization Performance in Deep Metric Learning},
  author = {Karsten Roth and Timo Milbich and Samarth Sinha and Prateek Gupta and Björn Ommer and Joseph Paul Cohen},
  year   = {2020},
  eprint = {2002.08473},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2002.08473}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2002.08473.svg)](https://codeofpaper.com/paper/2002.08473)

Discussion