Multi-level Distance Regularization for Deep Metric Learning

Yonghyun Kim, Wonpyo Park
2/8/2021
cs.CV

Official code: kakaoenterprise/AAAI2021_MDR (21 stars, Python, Apache-2.0, PyTorch, last commit 2021-06-14).

Abstract

We propose a novel distance-based regularization method for deep metric learning called Multi-level Distance Regularization (MDR). MDR explicitly disturbs a learning procedure by regularizing pairwise distances between embedding vectors into multiple levels that represents a degree of similarity between a pair.

Show full abstract

In the training stage, the model is trained with both MDR and an existing loss function of deep metric learning, simultaneously; the two losses interfere with the objective of each other, and it makes the learning process difficult. Moreover, MDR prevents some examples from being ignored or overly influenced in the learning process. These allow the parameters of the embedding network to be settle on a local optima with better generalization. Without bells and whistles, MDR with simple Triplet loss achieves the-state-of-the-art performance in various benchmark datasets: CUB-200-2011, Cars-196, Stanford Online Products, and In-Shop Clothes Retrieval. We extensively perform ablation studies on its behaviors to show the effectiveness of MDR. By easily adopting our MDR, the previous approaches can be improved in performance and generalization ability.

View on arXivView PDF

Code Implementations(1)

PyTorchApache-2.0

Official Code of AAAI 2021 Paper "Multi-level Distance Regularization for Deep Metric Learning"

214PythonJan 4, 20215 years agoApache-2.0
aaai2021deep-metric-learningimage-retrievalpytorch

Similar Papers

Cite this paper

@article{kim2021multilevel,
  title  = {Multi-level Distance Regularization for Deep Metric Learning},
  author = {Yonghyun Kim and Wonpyo Park},
  year   = {2021},
  eprint = {2102.04223},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.04223}
}

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/2102.04223.svg)](https://codeofpaper.com/paper/2102.04223)

Discussion